Commit 3b67e621 authored by Kunihiko Hayashi's avatar Kunihiko Hayashi Committed by Rob Herring
Browse files

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: default avatarKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221213082449.2721-3-hayashi.kunihiko@socionext.com


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent e6610409
Loading
Loading
Loading
Loading
+8 −15
Original line number Diff line number Diff line
@@ -95,13 +95,7 @@ required:

examples:
  - |
    usb-glue@65b00000 {
        compatible = "simple-mfd";
        #address-cells = <1>;
        #size-cells = <1>;
        ranges = <0 0x65b00000 0x400>;

        usb_rst: reset@0 {
    usb_rst: reset-controller@0 {
        compatible = "socionext,uniphier-ld20-usb3-reset";
        reg = <0x0 0x4>;
        #reset-cells = <1>;
@@ -110,4 +104,3 @@ examples:
        reset-names = "link";
        resets = <&sys_rst 14>;
    };
    };
+3 −49
Original line number Diff line number Diff line
@@ -66,53 +66,7 @@ required:

examples:
  - |
    sysctrl@61840000 {
        compatible = "socionext,uniphier-sysctrl", "simple-mfd", "syscon";
        reg = <0x61840000 0x4000>;

        reset {
    reset-controller {
        compatible = "socionext,uniphier-ld11-reset";
        #reset-cells = <1>;
    };

        // other nodes ...
    };

  - |
    mioctrl@59810000 {
        compatible = "socionext,uniphier-mioctrl", "simple-mfd", "syscon";
        reg = <0x59810000 0x800>;

        reset {
            compatible = "socionext,uniphier-ld11-mio-reset";
            #reset-cells = <1>;
        };

        // other nodes ...
    };

  - |
    perictrl@59820000 {
        compatible = "socionext,uniphier-perictrl", "simple-mfd", "syscon";
        reg = <0x59820000 0x200>;

        reset {
            compatible = "socionext,uniphier-ld11-peri-reset";
            #reset-cells = <1>;
        };

        // other nodes ...
    };

  - |
    adamv@57920000 {
        compatible = "socionext,uniphier-ld11-adamv", "simple-mfd", "syscon";
        reg = <0x57920000 0x1000>;

        reset {
            compatible = "socionext,uniphier-ld11-adamv-reset";
            #reset-cells = <1>;
        };

        // other nodes ...
    };