dt-bindings: rockchip: pmu: Ensure all properties are defined
Subsystems (2)
Rob Herring (Arm)
maintainerPATCH 1/1 dt-bindings: rockchip: pmu: Ensure all properties are defined
Device specific schemas should not allow undefined properties which is what 'additionalProperties: true' allows. Add the missing child nodes and fix this constraint.
Signed-off-by Rob Herring (Arm) <[email protected]>
--- Documentation/devicetree/bindings/arm/rockchip/pmu.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/arm/rockchip/pmu.yaml +7 -1
@@ -53,11 +53,17 @@ properties: reg: maxItems: 1 + power-controller: + type: object + + reboot-mode: + type: object + required: - compatible - reg -additionalProperties: true +additionalProperties: false examples: - |
Signature · 1 line
2.47.2
Quoted 5 lines · Rob Herring (Arm)
Device specific schemas should not allow undefined properties which is what 'additionalProperties: true' allows. Add the missing child nodes and fix this constraint.
Applied, thanks!
[1/1] dt-bindings: rockchip: pmu: Ensure all properties are defined
commit: b921f66ccf5e8cf1b8a5052b35ceda454f19f5dd
Best regards,
Signature · 1 line
Heiko Stuebner <[email protected]>