Skip to content

Commit

Permalink
dt-bindings: power: reset: $ref reboot-mode in syscon-reboot-mode
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Elliot Berman authored and Sebastian Reichel committed Nov 15, 2023
1 parent b9afaa0 commit 160dff4
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 160dff4

Please sign in to comment.