dt-bindings: regulator: stub-regulator: fix dt_binding_check warning
make dt_binding_check outputs the following warning for the file
qcom,stub-regulator.yaml:
Documentation/devicetree/bindings/regulator/
qcom,stub-regulator.example.dtb:
regulator-l1: 'regulator-max-microvolt', 'regulator-min-microvolt',
'regulator-name' do not match any of the regexes: 'pinctrl-[0-9]+'
This occurs because both of these are specified:
* allOf:
- $ref: "regulator.yaml#"
* additionalProperties: false
Fix this warning by switching the latter to:
unevaluatedProperties: false
Change-Id: I5e0c9eb9e6a0638464db5d084bd008df357505d6
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
This commit is contained in:
@@ -40,7 +40,7 @@ required:
|
||||
- compatible
|
||||
- regulator-name
|
||||
|
||||
additionalProperties: false
|
||||
unevaluatedProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
|
||||
Reference in New Issue
Block a user