]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: reset: syscon-reboot: Allow both 'reg' and 'offset'
authorRob Herring (Arm) <robh@kernel.org>
Mon, 15 Dec 2025 21:26:47 +0000 (15:26 -0600)
committerRob Herring (Arm) <robh@kernel.org>
Wed, 4 Feb 2026 02:58:10 +0000 (20:58 -0600)
For compatibility, it is necessary to support both 'reg' and 'offset' at
the same time.

Link: https://patch.msgid.link/20251215212648.3320333-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml

index ccd5558700943ef56f5e1c866400bcc21c0115f0..b1c0bcb1e25dc2806267d430de52e000c377ead0 100644 (file)
@@ -79,7 +79,7 @@ allOf:
         required:
           - value
 
-      oneOf:
+      anyOf:
         - required: [offset]
         - required: [reg]