dt-bindings: clock: mediatek: add missing required #reset-cells
authorSean Wang <sean.wang@mediatek.com>
Sat, 17 Feb 2018 19:54:36 +0000 (03:54 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Sun, 18 Mar 2018 20:33:18 +0000 (21:33 +0100)
All ethsys, pciesys and ssusbsys internally include reset controller, so
explicitly add back these missing cell definitions to related bindings
and examples.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: linux-clk@vger.kernel.org
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt
Documentation/devicetree/bindings/arm/mediatek/mediatek,pciesys.txt
Documentation/devicetree/bindings/arm/mediatek/mediatek,ssusbsys.txt

index 6cc7840ff37a015c6766a2eade02d4c8671016a3..8f5335b480aca6377826138aa39ad4153e98eb46 100644 (file)
@@ -9,6 +9,7 @@ Required Properties:
        - "mediatek,mt2701-ethsys", "syscon"
        - "mediatek,mt7622-ethsys", "syscon"
 - #clock-cells: Must be 1
+- #reset-cells: Must be 1
 
 The ethsys controller uses the common clk binding from
 Documentation/devicetree/bindings/clock/clock-bindings.txt
index d5d5f122766523a802226fe123946d4518b37d1a..7fe5dc6097a6a35b7d25f63cbbc0d5ae3bb9870c 100644 (file)
@@ -8,6 +8,7 @@ Required Properties:
 - compatible: Should be:
        - "mediatek,mt7622-pciesys", "syscon"
 - #clock-cells: Must be 1
+- #reset-cells: Must be 1
 
 The PCIESYS controller uses the common clk binding from
 Documentation/devicetree/bindings/clock/clock-bindings.txt
@@ -19,4 +20,5 @@ pciesys: pciesys@1a100800 {
        compatible = "mediatek,mt7622-pciesys", "syscon";
        reg = <0 0x1a100800 0 0x1000>;
        #clock-cells = <1>;
+       #reset-cells = <1>;
 };
index 00760019da00c519c5e2a8795781f20fe910ee63..b8184da2508c01c66b0013de00c075ccb794bcad 100644 (file)
@@ -8,6 +8,7 @@ Required Properties:
 - compatible: Should be:
        - "mediatek,mt7622-ssusbsys", "syscon"
 - #clock-cells: Must be 1
+- #reset-cells: Must be 1
 
 The SSUSBSYS controller uses the common clk binding from
 Documentation/devicetree/bindings/clock/clock-bindings.txt
@@ -19,4 +20,5 @@ ssusbsys: ssusbsys@1a000000 {
        compatible = "mediatek,mt7622-ssusbsys", "syscon";
        reg = <0 0x1a000000 0 0x1000>;
        #clock-cells = <1>;
+       #reset-cells = <1>;
 };