summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliot Berman <quic_eberman@quicinc.com>2023-10-31 11:27:00 -0700
committerSebastian Reichel <sebastian.reichel@collabora.com>2023-11-15 23:10:43 +0100
commit160dff476f81b928ee4a4d2be95066fa32513483 (patch)
tree8801c55934d74b1b2d6653f5ed2ff1a4a4c3d305
parentb9afaa069e58939d95923c27c2fd76a0523119a7 (diff)
dt-bindings: power: reset: $ref reboot-mode in syscon-reboot-mode
syscon-reboot-mode.yaml should $ref: reboot-mode.yaml, but instead rewrites the properties. Update so it $refs instead. Signed-off-by: Elliot Berman <quic_eberman@quicinc.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20231031-ref-reboot-mode-v1-1-18dde4faf7e8@quicinc.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
-rw-r--r--Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml8
1 files changed, 3 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml b/Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml
index 9b1ffceefe3d..b6acff199cde 100644
--- a/Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml
+++ b/Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml
@@ -29,12 +29,10 @@ properties:
$ref: /schemas/types.yaml#/definitions/uint32
description: Offset in the register map for the mode register (in bytes)
-patternProperties:
- "^mode-.+":
- $ref: /schemas/types.yaml#/definitions/uint32
- description: Vendor-specific mode value written to the mode register
+allOf:
+ - $ref: reboot-mode.yaml#
-additionalProperties: false
+unevaluatedProperties: false
required:
- compatible