diff options
author | Rob Herring <robh@kernel.org> | 2020-04-24 11:13:18 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2020-04-24 16:36:48 -0500 |
commit | 2bdfd4fbcb857344939071b5883a7ff088ce16f6 (patch) | |
tree | c4d04362c20417a06633f515d1ae4378390025fe /Documentation/devicetree/bindings/regulator/rohm,bd71828-regulator.yaml | |
parent | 8b6b80218b0170b28a1483ee7db141495b9f8ad2 (diff) | |
download | linux-2bdfd4fbcb857344939071b5883a7ff088ce16f6.tar.bz2 |
dt-bindings: Fix erroneous 'additionalProperties'
There's several cases of json-schema 'additionalProperties' at the wrong
indentation level which has the effect of making them DT properties. This
is harmless, but let's fix them so a meta-schema check for this can be
added.
In all the cases, either the 'additionalProperties' was extra or doesn't
work because there's a $ref to more properties. In the latter case, we
can use 'unevaluatedProperties' instead.
Reported-by: Iskren Chernev <iskren.chernev@gmail.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Saravanan Sekar <sravanhome@gmail.com>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator/rohm,bd71828-regulator.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/regulator/rohm,bd71828-regulator.yaml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/regulator/rohm,bd71828-regulator.yaml b/Documentation/devicetree/bindings/regulator/rohm,bd71828-regulator.yaml index 71ce032b8cf8..1e52dafcb5c9 100644 --- a/Documentation/devicetree/bindings/regulator/rohm,bd71828-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/rohm,bd71828-regulator.yaml @@ -35,6 +35,8 @@ patternProperties: description: should be "ldo1", ..., "ldo7" + unevaluatedProperties: false + "^BUCK[1-7]$": type: object allOf: @@ -103,5 +105,7 @@ patternProperties: required: - regulator-name - additionalProperties: false + + unevaluatedProperties: false + additionalProperties: false |