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

dt-bindings: reset: Convert snps,dw-reset to DT schema

Convert the Synopsys Designware Reset Controller binding to schema. It
is a straight forward conversion.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250702222609.2760718-1-robh@kernel.org
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>

authored by

Rob Herring (Arm) and committed by
Philipp Zabel
196dbace 1d99f92f

+39 -30
-30
Documentation/devicetree/bindings/reset/snps,dw-reset.txt
··· 1 - Synopsys DesignWare Reset controller 2 - ======================================= 3 - 4 - Please also refer to reset.txt in this directory for common reset 5 - controller binding usage. 6 - 7 - Required properties: 8 - 9 - - compatible: should be one of the following. 10 - "snps,dw-high-reset" - for active high configuration 11 - "snps,dw-low-reset" - for active low configuration 12 - 13 - - reg: physical base address of the controller and length of memory mapped 14 - region. 15 - 16 - - #reset-cells: must be 1. 17 - 18 - example: 19 - 20 - dw_rst_1: reset-controller@0000 { 21 - compatible = "snps,dw-high-reset"; 22 - reg = <0x0000 0x4>; 23 - #reset-cells = <1>; 24 - }; 25 - 26 - dw_rst_2: reset-controller@1000 { 27 - compatible = "snps,dw-low-reset"; 28 - reg = <0x1000 0x8>; 29 - #reset-cells = <1>; 30 - };
+39
Documentation/devicetree/bindings/reset/snps,dw-reset.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/reset/snps,dw-reset.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Synopsys DesignWare Reset controller 8 + 9 + maintainers: 10 + - Philipp Zabel <p.zabel@pengutronix.de> 11 + 12 + properties: 13 + compatible: 14 + enum: 15 + - snps,dw-high-reset 16 + - snps,dw-low-reset 17 + 18 + reg: 19 + maxItems: 1 20 + 21 + '#reset-cells': 22 + const: 1 23 + 24 + reset-controller: true 25 + 26 + required: 27 + - compatible 28 + - reg 29 + - '#reset-cells' 30 + 31 + additionalProperties: false 32 + 33 + examples: 34 + - | 35 + reset-controller@0 { 36 + compatible = "snps,dw-high-reset"; 37 + reg = <0x0000 0x4>; 38 + #reset-cells = <1>; 39 + };