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

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

Link: https://patch.msgid.link/20251216211556.3047726-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
This commit is contained in:
Rob Herring (Arm) 2025-12-16 15:15:55 -06:00
parent e03a631628
commit ec47eb49a3

View file

@ -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