Re: [PATCH] ARM: dts: r8a7793: Add MMCIF0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 17, 2016 at 09:29:08AM +0900, Simon Horman wrote:
> On Wed, Mar 16, 2016 at 08:20:46PM +0300, Sergei Shtylyov wrote:
> > Hello.
> > 
> > On 03/16/2016 08:10 PM, Ulrich Hecht wrote:
> > 
> > >Same as on r8a7794.
> 
> Thanks, I'm pleased to see this.
> Its been on my todo list for a while.
> 
> > >
> > >Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@xxxxxxxxx>
> > >---
> > >  arch/arm/boot/dts/r8a7793.dtsi | 12 ++++++++++++
> > >  1 file changed, 12 insertions(+)
> > >
> > >diff --git a/arch/arm/boot/dts/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi
> > >index 63f811d..33413e8 100644
> > >--- a/arch/arm/boot/dts/r8a7793.dtsi
> > >+++ b/arch/arm/boot/dts/r8a7793.dtsi
> > >@@ -509,6 +509,18 @@
> > >  		reg = <0 0xe6060000 0 0x250>;
> > >  	};
> > >
> > >+	mmcif0: mmcif@ee200000 {
> > >+		compatible = "renesas,mmcif-r8a7793", "renesas,sh-mmcif";
> > >+		reg = <0 0xee200000 0 0x80>;
> > >+		interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>;
> > >+		clocks = <&mstp3_clks R8A7793_CLK_MMCIF0>;
> > >+		dmas = <&dmac0 0xd1>, <&dmac0 0xd2>,
> > >+		       <&dmac1 0xd1>, <&dmac1 0xd2>;
> > >+		dma-names = "tx", "rx";
> > 
> >    4 DMA channels but only 2 channel names?
> 
> Right, it looks like it should be:
> 
> 		dma-names = "tx", "rx", "tx", "rx";
> 
> Ulrich, could you verify that and repost?

One more thing. I think you also need a power domains property:

	power-domains = <&cpg_clocks>;
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux