Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Elliot Berman and committed by
Sebastian Reichel
5739da3e 160dff47

+3 -5
+3 -5
Documentation/devicetree/bindings/power/reset/nvmem-reboot-mode.yaml
··· 28 28 items: 29 29 - const: reboot-mode 30 30 31 - patternProperties: 32 - "^mode-.+": 33 - $ref: /schemas/types.yaml#/definitions/uint32 34 - description: Vendor-specific mode value written to the mode register 31 + allOf: 32 + - $ref: reboot-mode.yaml# 35 33 36 34 required: 37 35 - compatible 38 36 - nvmem-cells 39 37 - nvmem-cell-names 40 38 41 - additionalProperties: false 39 + unevaluatedProperties: false 42 40 43 41 examples: 44 42 - |