* [PATCH] dt-bindings: power: syscon-poweroff: Allow "reg" property
@ 2025-12-16 21:15 Rob Herring (Arm)
2026-01-05 21:54 ` Rob Herring (Arm)
0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring (Arm) @ 2025-12-16 21:15 UTC (permalink / raw)
To: Sebastian Reichel, Krzysztof Kozlowski, Conor Dooley
Cc: linux-pm, devicetree, linux-kernel
Similar to "syscon-reset", allow using the standard "reg" property
rather than "offset".
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
.../devicetree/bindings/power/reset/syscon-poweroff.yaml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/power/reset/syscon-poweroff.yaml b/Documentation/devicetree/bindings/power/reset/syscon-poweroff.yaml
index d342b113fca2..b5e92b500764 100644
--- a/Documentation/devicetree/bindings/power/reset/syscon-poweroff.yaml
+++ b/Documentation/devicetree/bindings/power/reset/syscon-poweroff.yaml
@@ -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
--
2.51.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dt-bindings: power: syscon-poweroff: Allow "reg" property
2025-12-16 21:15 [PATCH] dt-bindings: power: syscon-poweroff: Allow "reg" property Rob Herring (Arm)
@ 2026-01-05 21:54 ` Rob Herring (Arm)
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring (Arm) @ 2026-01-05 21:54 UTC (permalink / raw)
To: Rob Herring (Arm)
Cc: Sebastian Reichel, Krzysztof Kozlowski, Conor Dooley,
linux-kernel, devicetree, linux-pm
On Tue, 16 Dec 2025 15:15:55 -0600, Rob Herring (Arm) wrote:
> Similar to "syscon-reset", allow using the standard "reg" property
> rather than "offset".
>
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
> .../devicetree/bindings/power/reset/syscon-poweroff.yaml | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
Applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-01-05 21:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-16 21:15 [PATCH] dt-bindings: power: syscon-poweroff: Allow "reg" property Rob Herring (Arm)
2026-01-05 21:54 ` Rob Herring (Arm)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).