Thread (28 messages) 28 messages, 7 authors, 2026-04-04
STALE101d

[PATCH 02/15] dt-bindings: soc: bcm2835-pm: Use generic power-controller schema

From: Peng Fan (OSS) <hidden>
Date: 2026-03-16 14:46:38
Also in: linux-devicetree, linux-rockchip, linux-rtc, linux-samsung-soc, lkml
Subsystem: open firmware and flattened device tree bindings, the rest · Maintainers: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds

From: Peng Fan <peng.fan@nxp.com>

Switch the binding to use the generic power-controller schema and drop the
local definition. Also replace `additionalProperties` with
`unevaluatedProperties`.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml
index 039c8e4a4c51b3fc05a75d75509145419ceabd95..3420e1f1f6c4efcc5c91425f2486fccc4b00acf1 100644
--- a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml
+++ b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml
@@ -50,9 +50,6 @@ properties:
       - const: h264
       - const: isp
 
-  system-power-controller:
-    type: boolean
-
   timeout-sec: true
 
 required:
@@ -62,6 +59,7 @@ required:
   - "#reset-cells"
 
 allOf:
+  - $ref: /schemas/power/power-controller.yaml#
   - $ref: /schemas/watchdog/watchdog.yaml#
 
   - if:
@@ -90,7 +88,7 @@ allOf:
         reg-names:
           maxItems: 1
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
-- 
2.37.1

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help