Skip to content

Commit c1b0b61

Browse files
krzkkuba-moo
authored andcommitted
dt-bindings: net: qca,ar803x: 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. Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 73365fe commit c1b0b61

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Documentation/devicetree/bindings/net/qca,ar803x.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,15 @@ properties:
7575
description:
7676
Initial data for the VDDIO regulator. Set this to 1.5V or 1.8V.
7777
$ref: /schemas/regulator/regulator.yaml
78+
unevaluatedProperties: false
7879

7980
vddh-regulator:
8081
type: object
8182
description:
8283
Dummy subnode to model the external connection of the PHY VDDH
8384
regulator to VDDIO.
8485
$ref: /schemas/regulator/regulator.yaml
86+
unevaluatedProperties: false
8587

8688
unevaluatedProperties: false
8789

0 commit comments

Comments
 (0)