Skip to contentSkip to conversation

dt-bindings: rockchip: pmu: Ensure all properties are defined

PATCH Applied Rob Herring (Arm) 2 participants 2 messages Feb 3, 2025 – Feb 10, 2025

Subsystems (2)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 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.

---
 Documentation/devicetree/bindings/arm/rockchip/pmu.yaml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/arm/rockchip/pmu.yaml +7 -1
index 932f981265cc..52016a141227 100644
@@ -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
maintainer Applied
#1 lore raw
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]>