summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/power/reset
diff options
context:
space:
mode:
authorElliot Berman <quic_eberman@quicinc.com>2023-10-31 11:28:22 -0700
committerSebastian Reichel <sebastian.reichel@collabora.com>2023-11-15 23:13:05 +0100
commit5739da3e16ad0ebe99c31cabe960856b53eaaabe (patch)
tree922b00e852eee6adeefd595f9ab3fadaf7fd86ca /Documentation/devicetree/bindings/power/reset
parent160dff476f81b928ee4a4d2be95066fa32513483 (diff)
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>
Diffstat (limited to 'Documentation/devicetree/bindings/power/reset')
-rw-r--r--Documentation/devicetree/bindings/power/reset/nvmem-reboot-mode.yaml8
1 files changed, 3 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/power/reset/nvmem-reboot-mode.yaml b/Documentation/devicetree/bindings/power/reset/nvmem-reboot-mode.yaml
index 14a262bcbf7c..627f8a6078c2 100644
--- a/Documentation/devicetree/bindings/power/reset/nvmem-reboot-mode.yaml
+++ b/Documentation/devicetree/bindings/power/reset/nvmem-reboot-mode.yaml
@@ -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:
- |