Skip to contentSkip to conversation

dt-bindings: power: syscon-poweroff: Allow "reg" property

PATCH Applied Rob Herring (Arm) 1 participant 2 messages Dec 16, 2025 – Jan 5

Subsystems (2)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: power: syscon-poweroff: Allow "reg" property

Similar to "syscon-reset", allow using the standard "reg" property rather than "offset".

---
 .../devicetree/bindings/power/reset/syscon-poweroff.yaml  | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/power/reset/syscon-poweroff.yaml +7 -1
index d342b113fca2..b5e92b500764 100644
@@ -23,6 +23,9 @@ properties:
   compatible:
     const: syscon-poweroff
 
+  reg:
+    maxItems: 1
+
   mask:
     $ref: /schemas/types.yaml#/definitions/uint32
     description: Update only the register bits defined by the mask (32 bit).
@@ -44,7 +47,10 @@ properties:
 
 required:
   - compatible
-  - offset
+
+anyOf:
+  - required: [offset]
+  - required: [reg]
 
 additionalProperties: false
 
Signature · 1 line
2.51.0
author maintainer Applied
#1 lore raw
Quoted 8 lines · Rob Herring (Arm)

Similar to "syscon-reset", allow using the standard "reg" property rather than "offset".

---
 .../devicetree/bindings/power/reset/syscon-poweroff.yaml  | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Applied, thanks!