dt-bindings: power: reset: $ref reboot-mode in nvmem-reboot-mode

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>
This commit is contained in:
Elliot Berman 2023-10-31 11:28:22 -07:00 committed by Sebastian Reichel
parent 160dff476f
commit 5739da3e16

View File

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