* [PATCH v4 5/6] ARM: shmobile: sh73a0: add MSTP clock assignments to DT
@ 2014-11-06 16:50 Ulrich Hecht
2014-11-06 19:33 ` Geert Uytterhoeven
0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Hecht @ 2014-11-06 16:50 UTC (permalink / raw)
To: linux-sh
Assigns clocks to cmt1, i2c*, mmcif, sdhi*, and scif*.
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
arch/arm/boot/dts/sh73a0.dtsi | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/arch/arm/boot/dts/sh73a0.dtsi b/arch/arm/boot/dts/sh73a0.dtsi
index 4bec870..b48b382 100644
--- a/arch/arm/boot/dts/sh73a0.dtsi
+++ b/arch/arm/boot/dts/sh73a0.dtsi
@@ -56,6 +56,8 @@
renesas,channels-mask = <0x3f>;
+ clocks = <&mstp3_clks SH73A0_CLK_CMT1>;
+ clock-names = "fck";
status = "disabled";
};
@@ -145,6 +147,7 @@
0 168 IRQ_TYPE_LEVEL_HIGH
0 169 IRQ_TYPE_LEVEL_HIGH
0 170 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp1_clks SH73A0_CLK_IIC0>;
status = "disabled";
};
@@ -157,6 +160,7 @@
0 52 IRQ_TYPE_LEVEL_HIGH
0 53 IRQ_TYPE_LEVEL_HIGH
0 54 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp3_clks SH73A0_CLK_IIC1>;
status = "disabled";
};
@@ -169,6 +173,7 @@
0 172 IRQ_TYPE_LEVEL_HIGH
0 173 IRQ_TYPE_LEVEL_HIGH
0 174 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp0_clks SH73A0_CLK_IIC2>;
status = "disabled";
};
@@ -181,6 +186,7 @@
0 184 IRQ_TYPE_LEVEL_HIGH
0 185 IRQ_TYPE_LEVEL_HIGH
0 186 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp4_clks SH73A0_CLK_IIC3>;
status = "disabled";
};
@@ -193,6 +199,7 @@
0 188 IRQ_TYPE_LEVEL_HIGH
0 189 IRQ_TYPE_LEVEL_HIGH
0 190 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp4_clks SH73A0_CLK_IIC4>;
status = "disabled";
};
@@ -202,6 +209,7 @@
interrupts = <0 140 IRQ_TYPE_LEVEL_HIGH
0 141 IRQ_TYPE_LEVEL_HIGH>;
reg-io-width = <4>;
+ clocks = <&mstp3_clks SH73A0_CLK_MMCIF0>;
status = "disabled";
};
@@ -212,6 +220,7 @@
0 84 IRQ_TYPE_LEVEL_HIGH
0 85 IRQ_TYPE_LEVEL_HIGH>;
cap-sd-highspeed;
+ clocks = <&mstp3_clks SH73A0_CLK_SDHI0>;
status = "disabled";
};
@@ -223,6 +232,7 @@
0 89 IRQ_TYPE_LEVEL_HIGH>;
toshiba,mmc-wrprotect-disable;
cap-sd-highspeed;
+ clocks = <&mstp3_clks SH73A0_CLK_SDHI1>;
status = "disabled";
};
@@ -233,6 +243,7 @@
0 105 IRQ_TYPE_LEVEL_HIGH>;
toshiba,mmc-wrprotect-disable;
cap-sd-highspeed;
+ clocks = <&mstp3_clks SH73A0_CLK_SDHI2>;
status = "disabled";
};
@@ -240,6 +251,8 @@
compatible = "renesas,scifa-sh73a0", "renesas,scifa";
reg = <0xe6c40000 0x100>;
interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp2_clks SH73A0_CLK_SCIFA0>;
+ clock-names = "sci_ick";
status = "disabled";
};
@@ -247,6 +260,8 @@
compatible = "renesas,scifa-sh73a0", "renesas,scifa";
reg = <0xe6c50000 0x100>;
interrupts = <0 73 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp2_clks SH73A0_CLK_SCIFA1>;
+ clock-names = "sci_ick";
status = "disabled";
};
@@ -254,6 +269,8 @@
compatible = "renesas,scifa-sh73a0", "renesas,scifa";
reg = <0xe6c60000 0x100>;
interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp2_clks SH73A0_CLK_SCIFA2>;
+ clock-names = "sci_ick";
status = "disabled";
};
@@ -261,6 +278,8 @@
compatible = "renesas,scifa-sh73a0", "renesas,scifa";
reg = <0xe6c70000 0x100>;
interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp2_clks SH73A0_CLK_SCIFA3>;
+ clock-names = "sci_ick";
status = "disabled";
};
@@ -268,6 +287,8 @@
compatible = "renesas,scifa-sh73a0", "renesas,scifa";
reg = <0xe6c80000 0x100>;
interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp2_clks SH73A0_CLK_SCIFA4>;
+ clock-names = "sci_ick";
status = "disabled";
};
@@ -275,6 +296,8 @@
compatible = "renesas,scifa-sh73a0", "renesas,scifa";
reg = <0xe6cb0000 0x100>;
interrupts = <0 79 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp2_clks SH73A0_CLK_SCIFA5>;
+ clock-names = "sci_ick";
status = "disabled";
};
@@ -282,6 +305,8 @@
compatible = "renesas,scifa-sh73a0", "renesas,scifa";
reg = <0xe6cc0000 0x100>;
interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp3_clks SH73A0_CLK_SCIFA6>;
+ clock-names = "sci_ick";
status = "disabled";
};
@@ -289,6 +314,8 @@
compatible = "renesas,scifa-sh73a0", "renesas,scifa";
reg = <0xe6cd0000 0x100>;
interrupts = <0 143 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp2_clks SH73A0_CLK_SCIFA7>;
+ clock-names = "sci_ick";
status = "disabled";
};
@@ -296,6 +323,8 @@
compatible = "renesas,scifb-sh73a0", "renesas,scifb";
reg = <0xe6c30000 0x100>;
interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp2_clks SH73A0_CLK_SCIFB>;
+ clock-names = "sci_ick";
status = "disabled";
};
--
1.8.4.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v4 5/6] ARM: shmobile: sh73a0: add MSTP clock assignments to DT
2014-11-06 16:50 [PATCH v4 5/6] ARM: shmobile: sh73a0: add MSTP clock assignments to DT Ulrich Hecht
@ 2014-11-06 19:33 ` Geert Uytterhoeven
0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2014-11-06 19:33 UTC (permalink / raw)
To: linux-sh
On Thu, Nov 6, 2014 at 5:50 PM, Ulrich Hecht
<ulrich.hecht+renesas@gmail.com> wrote:
> @@ -202,6 +209,7 @@
> interrupts = <0 140 IRQ_TYPE_LEVEL_HIGH
> 0 141 IRQ_TYPE_LEVEL_HIGH>;
> reg-io-width = <4>;
> + clocks = <&mstp3_clks SH73A0_CLK_MMCIF0>;
For consistency, I think it would be best to always add "clocks" just
below "interrupts".
So I can add "power-domains" just below clocks later ;-)
> status = "disabled";
> };
>
> @@ -212,6 +220,7 @@
> 0 84 IRQ_TYPE_LEVEL_HIGH
> 0 85 IRQ_TYPE_LEVEL_HIGH>;
> cap-sd-highspeed;
> + clocks = <&mstp3_clks SH73A0_CLK_SDHI0>;
Likewise.
> status = "disabled";
> };
>
> @@ -223,6 +232,7 @@
> 0 89 IRQ_TYPE_LEVEL_HIGH>;
> toshiba,mmc-wrprotect-disable;
> cap-sd-highspeed;
> + clocks = <&mstp3_clks SH73A0_CLK_SDHI1>;
Likewise.
> status = "disabled";
> };
>
> @@ -233,6 +243,7 @@
> 0 105 IRQ_TYPE_LEVEL_HIGH>;
> toshiba,mmc-wrprotect-disable;
> cap-sd-highspeed;
> + clocks = <&mstp3_clks SH73A0_CLK_SDHI2>;
Likewise.
> status = "disabled";
> };
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-06 19:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-06 16:50 [PATCH v4 5/6] ARM: shmobile: sh73a0: add MSTP clock assignments to DT Ulrich Hecht
2014-11-06 19:33 ` Geert Uytterhoeven
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.