linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH/RFC] ARM: shmobile: r8a7790: Add MMCIF clock rate to device tree
@ 2014-10-30  5:57 Simon Horman
  2014-10-30  5:57 ` [PATCH/RFC] ARM: shmobile: r8a7790: Add SDHI " Simon Horman
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Horman @ 2014-10-30  5:57 UTC (permalink / raw)
  To: linux-arm-kernel

From: Shinobu Uehara <shinobu.uehara.xc@renesas.com>

Signed-off-by: Shinobu Uehara <shinobu.uehara.xc@renesas.com>
---
Based on the renesas-devel-20141030-v3.18-rc2 branch of my renesas tree

If this is useful I wonder if it is should be set in the lager board DTS
file instead of the r8a7790 SoC DTSI file.

 arch/arm/boot/dts/r8a7790.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 69b7cd0..b8cd8e3 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -400,6 +400,7 @@
 		dmas = <&dmac0 0xd1>, <&dmac0 0xd2>;
 		dma-names = "tx", "rx";
 		reg-io-width = <4>;
+		renesas,clk-rate = <97500000>;
 		status = "disabled";
 	};
 
@@ -411,6 +412,7 @@
 		dmas = <&dmac0 0xe1>, <&dmac0 0xe2>;
 		dma-names = "tx", "rx";
 		reg-io-width = <4>;
+		renesas,clk-rate = <97500000>;
 		status = "disabled";
 	};
 
-- 
2.1.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH/RFC] ARM: shmobile: r8a7790: Add SDHI clock rate to device tree
  2014-10-30  5:57 [PATCH/RFC] ARM: shmobile: r8a7790: Add MMCIF clock rate to device tree Simon Horman
@ 2014-10-30  5:57 ` Simon Horman
  2014-10-30  6:31   ` Kuninori Morimoto
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Horman @ 2014-10-30  5:57 UTC (permalink / raw)
  To: linux-arm-kernel

From: Shinobu Uehara <shinobu.uehara.xc@renesas.com>

Signed-off-by: Shinobu Uehara <shinobu.uehara.xc@renesas.com>
[simon: rebase]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
Based on the renesas-devel-20141030-v3.18-rc2 branch of my renesas tree

If this is useful I wonder if it is should be set in the lager board DTS file
instead of the r8a7790 SoC DTSI file.

 arch/arm/boot/dts/r8a7790.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 69b7cd0..c6bd1e5 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -424,6 +424,7 @@
 		reg = <0 0xee100000 0 0x200>;
 		interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp3_clks R8A7790_CLK_SDHI0>;
+		renesas,clk-rate = <195000000>;
 		status = "disabled";
 	};
 
@@ -432,6 +433,7 @@
 		reg = <0 0xee120000 0 0x200>;
 		interrupts = <0 166 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp3_clks R8A7790_CLK_SDHI1>;
+		renesas,clk-rate = <195000000>;
 		status = "disabled";
 	};
 
@@ -440,6 +442,7 @@
 		reg = <0 0xee140000 0 0x100>;
 		interrupts = <0 167 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp3_clks R8A7790_CLK_SDHI2>;
+		renesas,clk-rate = <97500000>;
 		status = "disabled";
 	};
 
@@ -448,6 +451,7 @@
 		reg = <0 0xee160000 0 0x100>;
 		interrupts = <0 168 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp3_clks R8A7790_CLK_SDHI3>;
+		renesas,clk-rate = <97500000>;
 		status = "disabled";
 	};
 
-- 
2.1.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH/RFC] ARM: shmobile: r8a7790: Add SDHI clock rate to device tree
  2014-10-30  5:57 ` [PATCH/RFC] ARM: shmobile: r8a7790: Add SDHI " Simon Horman
@ 2014-10-30  6:31   ` Kuninori Morimoto
  2014-10-30  7:20     ` Simon Horman
  0 siblings, 1 reply; 4+ messages in thread
From: Kuninori Morimoto @ 2014-10-30  6:31 UTC (permalink / raw)
  To: linux-arm-kernel


Hi Simon

> From: Shinobu Uehara <shinobu.uehara.xc@renesas.com>
> 
> Signed-off-by: Shinobu Uehara <shinobu.uehara.xc@renesas.com>
> [simon: rebase]
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> ---
> Based on the renesas-devel-20141030-v3.18-rc2 branch of my renesas tree
(snip)
>  		reg = <0 0xee100000 0 0x200>;
>  		interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>;
>  		clocks = <&mstp3_clks R8A7790_CLK_SDHI0>;
> +		renesas,clk-rate = <195000000>;
>  		status = "disabled";
>  	};

Unfortunately, this "renesas,clk-rate" is supporting
only in Renesas BSP, not upstream.
Same comment to r8a7791

Best regards
---
Kuninori Morimoto

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH/RFC] ARM: shmobile: r8a7790: Add SDHI clock rate to device tree
  2014-10-30  6:31   ` Kuninori Morimoto
@ 2014-10-30  7:20     ` Simon Horman
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2014-10-30  7:20 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Oct 29, 2014 at 11:31:53PM -0700, Kuninori Morimoto wrote:
> 
> Hi Simon
> 
> > From: Shinobu Uehara <shinobu.uehara.xc@renesas.com>
> > 
> > Signed-off-by: Shinobu Uehara <shinobu.uehara.xc@renesas.com>
> > [simon: rebase]
> > Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> > ---
> > Based on the renesas-devel-20141030-v3.18-rc2 branch of my renesas tree
> (snip)
> >  		reg = <0 0xee100000 0 0x200>;
> >  		interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>;
> >  		clocks = <&mstp3_clks R8A7790_CLK_SDHI0>;
> > +		renesas,clk-rate = <195000000>;
> >  		status = "disabled";
> >  	};
> 
> Unfortunately, this "renesas,clk-rate" is supporting
> only in Renesas BSP, not upstream.
> Same comment to r8a7791

Thanks, lets drop these patches.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-10-30  7:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-30  5:57 [PATCH/RFC] ARM: shmobile: r8a7790: Add MMCIF clock rate to device tree Simon Horman
2014-10-30  5:57 ` [PATCH/RFC] ARM: shmobile: r8a7790: Add SDHI " Simon Horman
2014-10-30  6:31   ` Kuninori Morimoto
2014-10-30  7:20     ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).