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

dt-bindings: reset: Fix node descriptions in uniphier-reset example

Prior to adding dt-bindings for SoC-dependent controllers, rename the
reset nodes to the generic names in the example.

And drop redundant examples and a parent node of the reset as it is not
directly necessary.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221213082449.2721-3-hayashi.kunihiko@socionext.com
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Kunihiko Hayashi and committed by
Rob Herring
3b67e621 e6610409

+11 -64
+8 -15
Documentation/devicetree/bindings/reset/socionext,uniphier-glue-reset.yaml
··· 95 95 96 96 examples: 97 97 - | 98 - usb-glue@65b00000 { 99 - compatible = "simple-mfd"; 100 - #address-cells = <1>; 101 - #size-cells = <1>; 102 - ranges = <0 0x65b00000 0x400>; 103 - 104 - usb_rst: reset@0 { 105 - compatible = "socionext,uniphier-ld20-usb3-reset"; 106 - reg = <0x0 0x4>; 107 - #reset-cells = <1>; 108 - clock-names = "link"; 109 - clocks = <&sys_clk 14>; 110 - reset-names = "link"; 111 - resets = <&sys_rst 14>; 112 - }; 98 + usb_rst: reset-controller@0 { 99 + compatible = "socionext,uniphier-ld20-usb3-reset"; 100 + reg = <0x0 0x4>; 101 + #reset-cells = <1>; 102 + clock-names = "link"; 103 + clocks = <&sys_clk 14>; 104 + reset-names = "link"; 105 + resets = <&sys_rst 14>; 113 106 };
+3 -49
Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml
··· 66 66 67 67 examples: 68 68 - | 69 - sysctrl@61840000 { 70 - compatible = "socionext,uniphier-sysctrl", "simple-mfd", "syscon"; 71 - reg = <0x61840000 0x4000>; 72 - 73 - reset { 74 - compatible = "socionext,uniphier-ld11-reset"; 75 - #reset-cells = <1>; 76 - }; 77 - 78 - // other nodes ... 79 - }; 80 - 81 - - | 82 - mioctrl@59810000 { 83 - compatible = "socionext,uniphier-mioctrl", "simple-mfd", "syscon"; 84 - reg = <0x59810000 0x800>; 85 - 86 - reset { 87 - compatible = "socionext,uniphier-ld11-mio-reset"; 88 - #reset-cells = <1>; 89 - }; 90 - 91 - // other nodes ... 92 - }; 93 - 94 - - | 95 - perictrl@59820000 { 96 - compatible = "socionext,uniphier-perictrl", "simple-mfd", "syscon"; 97 - reg = <0x59820000 0x200>; 98 - 99 - reset { 100 - compatible = "socionext,uniphier-ld11-peri-reset"; 101 - #reset-cells = <1>; 102 - }; 103 - 104 - // other nodes ... 105 - }; 106 - 107 - - | 108 - adamv@57920000 { 109 - compatible = "socionext,uniphier-ld11-adamv", "simple-mfd", "syscon"; 110 - reg = <0x57920000 0x1000>; 111 - 112 - reset { 113 - compatible = "socionext,uniphier-ld11-adamv-reset"; 114 - #reset-cells = <1>; 115 - }; 116 - 117 - // other nodes ... 69 + reset-controller { 70 + compatible = "socionext,uniphier-ld11-reset"; 71 + #reset-cells = <1>; 118 72 };