Skip to content

Commit

Permalink
dt-bindings: power: reset: $ref reboot-mode in nvmem-reboot-mode
Browse files Browse the repository at this point in the history
nvmem-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>
Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>
Link: https://lore.kernel.org/r/20231031-ref-nvmem-reboot-mode-v1-1-c1af9070ce52@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 160dff4 commit 5739da3
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,15 @@ properties:
items:
- const: reboot-mode

patternProperties:
"^mode-.+":
$ref: /schemas/types.yaml#/definitions/uint32
description: Vendor-specific mode value written to the mode register
allOf:
- $ref: reboot-mode.yaml#

required:
- compatible
- nvmem-cells
- nvmem-cell-names

additionalProperties: false
unevaluatedProperties: false

examples:
- |
Expand Down

0 comments on commit 5739da3

Please sign in to comment.