aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/devicetree/bindings/regulator/mps,mp5416.yaml
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2023-07-26 09:49:40 +0200
committerMark Brown <broonie@kernel.org>2023-07-26 12:49:49 +0100
commitd2d54819779e1ec0d7908ec98220fa54e72adc48 (patch)
treed28545d6d0b77258d925ca783a12d4bfa39ede7f /Documentation/devicetree/bindings/regulator/mps,mp5416.yaml
parentregulator: dt-bindings: qcom,rpm: fix pattern for children (diff)
downloadwireguard-linux-d2d54819779e1ec0d7908ec98220fa54e72adc48.tar.xz
wireguard-linux-d2d54819779e1ec0d7908ec98220fa54e72adc48.zip
regulator: dt-bindings: add missing unevaluatedProperties for each regulator
Each regulator node, which references common regulator.yaml schema, should disallow additional or unevaluated properties. Otherwise mistakes in properties will go unnoticed. Reported-by: Konrad Dybcio <konrad.dybcio@linaro.org> Closes: https://git.codelinaro.org/linaro/qcomlt/kernel/-/commit/1c8aeef8a6e84520b77f0c270d99c8bf692c5933 Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230726074940.121040-1-krzysztof.kozlowski@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator/mps,mp5416.yaml')
-rw-r--r--Documentation/devicetree/bindings/regulator/mps,mp5416.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/mps,mp5416.yaml b/Documentation/devicetree/bindings/regulator/mps,mp5416.yaml
index 2e720d152890..0221397eb51e 100644
--- a/Documentation/devicetree/bindings/regulator/mps,mp5416.yaml
+++ b/Documentation/devicetree/bindings/regulator/mps,mp5416.yaml
@@ -29,10 +29,12 @@ properties:
patternProperties:
"^buck[1-4]$":
$ref: regulator.yaml#
+ unevaluatedProperties: false
type: object
"^ldo[1-4]$":
$ref: regulator.yaml#
+ unevaluatedProperties: false
type: object
additionalProperties: false