diff mbox series

[3/4] ARM: dts: r8a77470: Add SDHI2 support

Message ID 1537530911-443-4-git-send-email-fabrizio.castro@bp.renesas.com (mailing list archive)
State Accepted
Commit f068cc816015f8a6af494b584978aa7df96d80fe
Delegated to: Simon Horman
Headers show
Series Add SDHI2 support to iwg23s | expand

Commit Message

Fabrizio Castro Sept. 21, 2018, 11:55 a.m. UTC
Add SoC specific device tree definitions for the SDHI2 interface.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
---
 arch/arm/boot/dts/r8a77470.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

Comments

Wolfram Sang Sept. 22, 2018, 6:44 p.m. UTC | #1
On Fri, Sep 21, 2018 at 12:55:10PM +0100, Fabrizio Castro wrote:
> Add SoC specific device tree definitions for the SDHI2 interface.
> 
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> Reviewed-by: Biju Das <biju.das@bp.renesas.com>

Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Simon Horman Sept. 24, 2018, 9:12 a.m. UTC | #2
On Sat, Sep 22, 2018 at 08:44:50PM +0200, Wolfram Sang wrote:
> On Fri, Sep 21, 2018 at 12:55:10PM +0100, Fabrizio Castro wrote:
> > Add SoC specific device tree definitions for the SDHI2 interface.
> > 
> > Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> > Reviewed-by: Biju Das <biju.das@bp.renesas.com>
> 
> Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Thanks, applied for v4.20.
Simon Horman Sept. 24, 2018, 9:16 a.m. UTC | #3
On Sat, Sep 22, 2018 at 08:44:50PM +0200, Wolfram Sang wrote:
> On Fri, Sep 21, 2018 at 12:55:10PM +0100, Fabrizio Castro wrote:
> > Add SoC specific device tree definitions for the SDHI2 interface.
> > 
> > Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> > Reviewed-by: Biju Das <biju.das@bp.renesas.com>
> 
> Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Thanks, applied for v4.20.
Fabrizio Castro Sept. 28, 2018, 9:31 a.m. UTC | #4
Hello Simon,

Do you think you can drop this patch or is it too late?

Cheers,
Fab

> Subject: Re: [PATCH 3/4] ARM: dts: r8a77470: Add SDHI2 support
>
> On Sat, Sep 22, 2018 at 08:44:50PM +0200, Wolfram Sang wrote:
> > On Fri, Sep 21, 2018 at 12:55:10PM +0100, Fabrizio Castro wrote:
> > > Add SoC specific device tree definitions for the SDHI2 interface.
> > >
> > > Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> > > Reviewed-by: Biju Das <biju.das@bp.renesas.com>
> >
> > Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
>
> Thanks, applied for v4.20.



Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.
Simon Horman Oct. 1, 2018, 1:13 p.m. UTC | #5
On Fri, Sep 28, 2018 at 09:31:16AM +0000, Fabrizio Castro wrote:
> Hello Simon,
> 
> Do you think you can drop this patch or is it too late?

Unfortunately it was too late.
Fabrizio Castro Oct. 1, 2018, 1:41 p.m. UTC | #6
Hello Simon,

> Subject: Re: [PATCH 3/4] ARM: dts: r8a77470: Add SDHI2 support
>
> On Fri, Sep 28, 2018 at 09:31:16AM +0000, Fabrizio Castro wrote:
> > Hello Simon,
> >
> > Do you think you can drop this patch or is it too late?
>
> Unfortunately it was too late.

No worries, thank you anyway.

Cheers,
Fab



Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/r8a77470.dtsi b/arch/arm/boot/dts/r8a77470.dtsi
index 9aba350..9e7f86d 100644
--- a/arch/arm/boot/dts/r8a77470.dtsi
+++ b/arch/arm/boot/dts/r8a77470.dtsi
@@ -412,6 +412,21 @@ 
 			status = "disabled";
 		};
 
+		sdhi2: sd@ee160000 {
+			compatible = "renesas,sdhi-r8a77470",
+				     "renesas,rcar-gen2-sdhi";
+			reg = <0 0xee160000 0 0x328>;
+			interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 312>;
+			dmas = <&dmac0 0xd3>, <&dmac0 0xd4>,
+			       <&dmac1 0xd3>, <&dmac1 0xd4>;
+			dma-names = "tx", "rx", "tx", "rx";
+			max-frequency = <97500000>;
+			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+			resets = <&cpg 312>;
+			status = "disabled";
+		};
+
 		gic: interrupt-controller@f1001000 {
 			compatible = "arm,gic-400";
 			#interrupt-cells = <3>;