* [RFC 1/5] ARM: shmobile: r8a7790: add mstp4 and rwdt clock
@ 2015-02-01 14:47 Wolfram Sang
2015-02-01 15:50 ` Laurent Pinchart
2015-02-02 9:07 ` Geert Uytterhoeven
0 siblings, 2 replies; 3+ messages in thread
From: Wolfram Sang @ 2015-02-01 14:47 UTC (permalink / raw)
To: linux-sh
From: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
arch/arm/boot/dts/r8a7790.dtsi | 10 ++++++++++
include/dt-bindings/clock/r8a7790-clock.h | 3 +++
2 files changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 56847bf09c3b..999d437496de 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -1126,6 +1126,16 @@
"iic0", "pciec", "iic1", "ssusb", "cmt1",
"usbdmac0", "usbdmac1";
};
+ mstp4_clks: mstp4_clks@e6150140 {
+ compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
+ reg = <0 0xe6150140 0 4>, <0 0xe615004c 0 4>;
+ clocks = <&rclk_clk>;
+ #clock-cells = <1>;
+ clock-indices = <
+ R8A7790_CLK_RWDT
+ >;
+ clock-output-names = "rwdt";
+ };
mstp5_clks: mstp5_clks@e6150144 {
compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
reg = <0 0xe6150144 0 4>, <0 0xe615003c 0 4>;
diff --git a/include/dt-bindings/clock/r8a7790-clock.h b/include/dt-bindings/clock/r8a7790-clock.h
index 91940271cf83..34e4c12e3f6e 100644
--- a/include/dt-bindings/clock/r8a7790-clock.h
+++ b/include/dt-bindings/clock/r8a7790-clock.h
@@ -77,6 +77,9 @@
#define R8A7790_CLK_USBDMAC0 30
#define R8A7790_CLK_USBDMAC1 31
+/* MSTP4 */
+#define R8A7790_CLK_RWDT 2
+
/* MSTP5 */
#define R8A7790_CLK_AUDIO_DMAC1 1
#define R8A7790_CLK_AUDIO_DMAC0 2
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [RFC 1/5] ARM: shmobile: r8a7790: add mstp4 and rwdt clock
2015-02-01 14:47 [RFC 1/5] ARM: shmobile: r8a7790: add mstp4 and rwdt clock Wolfram Sang
@ 2015-02-01 15:50 ` Laurent Pinchart
2015-02-02 9:07 ` Geert Uytterhoeven
1 sibling, 0 replies; 3+ messages in thread
From: Laurent Pinchart @ 2015-02-01 15:50 UTC (permalink / raw)
To: linux-sh
Hi Wolfram,
Thank you for the patch.
On Sunday 01 February 2015 15:47:50 Wolfram Sang wrote:
> From: Wolfram Sang <wsa+renesas@sang-engineering.com>
>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> arch/arm/boot/dts/r8a7790.dtsi | 10 ++++++++++
> include/dt-bindings/clock/r8a7790-clock.h | 3 +++
> 2 files changed, 13 insertions(+)
>
> diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
> index 56847bf09c3b..999d437496de 100644
> --- a/arch/arm/boot/dts/r8a7790.dtsi
> +++ b/arch/arm/boot/dts/r8a7790.dtsi
> @@ -1126,6 +1126,16 @@
> "iic0", "pciec", "iic1", "ssusb", "cmt1",
> "usbdmac0", "usbdmac1";
> };
> + mstp4_clks: mstp4_clks@e6150140 {
> + compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-
clocks";
> + reg = <0 0xe6150140 0 4>, <0 0xe615004c 0 4>;
> + clocks = <&rclk_clk>;
> + #clock-cells = <1>;
> + clock-indices = <
> + R8A7790_CLK_RWDT
> + >;
> + clock-output-names = "rwdt";
> + };
> mstp5_clks: mstp5_clks@e6150144 {
> compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-
clocks";
> reg = <0 0xe6150144 0 4>, <0 0xe615003c 0 4>;
> diff --git a/include/dt-bindings/clock/r8a7790-clock.h
> b/include/dt-bindings/clock/r8a7790-clock.h index
> 91940271cf83..34e4c12e3f6e 100644
> --- a/include/dt-bindings/clock/r8a7790-clock.h
> +++ b/include/dt-bindings/clock/r8a7790-clock.h
> @@ -77,6 +77,9 @@
> #define R8A7790_CLK_USBDMAC0 30
> #define R8A7790_CLK_USBDMAC1 31
>
> +/* MSTP4 */
> +#define R8A7790_CLK_RWDT 2
> +
> /* MSTP5 */
> #define R8A7790_CLK_AUDIO_DMAC1 1
> #define R8A7790_CLK_AUDIO_DMAC0 2
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFC 1/5] ARM: shmobile: r8a7790: add mstp4 and rwdt clock
2015-02-01 14:47 [RFC 1/5] ARM: shmobile: r8a7790: add mstp4 and rwdt clock Wolfram Sang
2015-02-01 15:50 ` Laurent Pinchart
@ 2015-02-02 9:07 ` Geert Uytterhoeven
1 sibling, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2015-02-02 9:07 UTC (permalink / raw)
To: linux-sh
On Sun, Feb 1, 2015 at 3:47 PM, Wolfram Sang <wsa@the-dreams.de> wrote:
> From: Wolfram Sang <wsa+renesas@sang-engineering.com>
>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
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] 3+ messages in thread
end of thread, other threads:[~2015-02-02 9:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-01 14:47 [RFC 1/5] ARM: shmobile: r8a7790: add mstp4 and rwdt clock Wolfram Sang
2015-02-01 15:50 ` Laurent Pinchart
2015-02-02 9:07 ` 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.