linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH ] ARM: dts: r8a7745: Add Ethernet AVB support
@ 2017-08-22  7:53 Biju Das
  2017-08-24 10:18 ` Simon Horman
  2017-08-24 13:45 ` [PATCH resend] " Biju Das
  0 siblings, 2 replies; 4+ messages in thread
From: Biju Das @ 2017-08-22  7:53 UTC (permalink / raw)
  To: linux-arm-kernel

Add Ethernet AVB support for r8a7745 SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
This patch is depend upon the below patch
[1/2] ARM: dts: r8a7745: Add MMC interface support
https://patchwork.kernel.org/patch/9906803/

It is tested against renesas-devel branch tag
renesas-devel-20170821-v4.13-rc5

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

diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi
index a55d98f..2816a0b 100644
--- a/arch/arm/boot/dts/r8a7745.dtsi
+++ b/arch/arm/boot/dts/r8a7745.dtsi
@@ -614,6 +614,19 @@
 			status = "disabled";
 		};
 
+		avb: ethernet at e6800000 {
+			compatible = "renesas,etheravb-r8a7745",
+				     "renesas,etheravb-rcar-gen2";
+			reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
+			interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 812>;
+			power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
+			resets = <&cpg 812>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
 		mmcif0: mmc at ee200000 {
 			compatible = "renesas,mmcif-r8a7745",
 				     "renesas,sh-mmcif";
-- 
1.9.1

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

* [PATCH ] ARM: dts: r8a7745: Add Ethernet AVB support
  2017-08-22  7:53 [PATCH ] ARM: dts: r8a7745: Add Ethernet AVB support Biju Das
@ 2017-08-24 10:18 ` Simon Horman
  2017-08-24 13:51   ` Biju Das
  2017-08-24 13:45 ` [PATCH resend] " Biju Das
  1 sibling, 1 reply; 4+ messages in thread
From: Simon Horman @ 2017-08-24 10:18 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Aug 22, 2017 at 08:53:25AM +0100, Biju Das wrote:
> Add Ethernet AVB support for r8a7745 SoC.
> 
> Signed-off-by: Biju Das <biju.das@bp.renesas.com>
> ---
> This patch is depend upon the below patch
> [1/2] ARM: dts: r8a7745: Add MMC interface support
> https://patchwork.kernel.org/patch/9906803/
> 
> It is tested against renesas-devel branch tag
> renesas-devel-20170821-v4.13-rc5

This patch does not seem to apply cleanly (using git am)
on top of the tag above. Please resolve this problem and resubmit.

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

* [PATCH resend] ARM: dts: r8a7745: Add Ethernet AVB support
  2017-08-22  7:53 [PATCH ] ARM: dts: r8a7745: Add Ethernet AVB support Biju Das
  2017-08-24 10:18 ` Simon Horman
@ 2017-08-24 13:45 ` Biju Das
  1 sibling, 0 replies; 4+ messages in thread
From: Biju Das @ 2017-08-24 13:45 UTC (permalink / raw)
  To: linux-arm-kernel

Add Ethernet AVB support for r8a7745 SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
It is applying cleanly on renesas-devel branch tag
renesas-devel-20170824-v4.13-rc6.

It is tested against renesas-devel branch tag
renesas-devel-20170824-v4.13-rc6.

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

diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi
index 7fd2967..c34f88e 100644
--- a/arch/arm/boot/dts/r8a7745.dtsi
+++ b/arch/arm/boot/dts/r8a7745.dtsi
@@ -707,6 +707,19 @@
 			status = "disabled";
 		};
 
+		avb: ethernet at e6800000 {
+			compatible = "renesas,etheravb-r8a7745",
+				     "renesas,etheravb-rcar-gen2";
+			reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
+			interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 812>;
+			power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
+			resets = <&cpg 812>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
 		mmcif0: mmc at ee200000 {
 			compatible = "renesas,mmcif-r8a7745",
 				     "renesas,sh-mmcif";
-- 
1.9.1

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

* [PATCH ] ARM: dts: r8a7745: Add Ethernet AVB support
  2017-08-24 10:18 ` Simon Horman
@ 2017-08-24 13:51   ` Biju Das
  0 siblings, 0 replies; 4+ messages in thread
From: Biju Das @ 2017-08-24 13:51 UTC (permalink / raw)
  To: linux-arm-kernel



> -----Original Message-----
> From: Simon Horman [mailto:horms at verge.net.au]
> Sent: 24 August 2017 11:19
> To: Biju Das <biju.das@bp.renesas.com>
> Cc: Rob Herring <robh+dt@kernel.org>; Mark Rutland
> <mark.rutland@arm.com>; Magnus Damm <magnus.damm@gmail.com>;
> Russell King <linux@armlinux.org.uk>; Chris Paterson
> <Chris.Paterson2@renesas.com>; devicetree at vger.kernel.org; linux-renesas-
> soc at vger.kernel.org; linux-arm-kernel at lists.infradead.org
> Subject: Re: [PATCH ] ARM: dts: r8a7745: Add Ethernet AVB support
>
> On Tue, Aug 22, 2017 at 08:53:25AM +0100, Biju Das wrote:
> > Add Ethernet AVB support for r8a7745 SoC.
> >
> > Signed-off-by: Biju Das <biju.das@bp.renesas.com>
> > ---
> > This patch is depend upon the below patch [1/2] ARM: dts: r8a7745: Add
> > MMC interface support https://patchwork.kernel.org/patch/9906803/
> >
> > It is tested against renesas-devel branch tag
> > renesas-devel-20170821-v4.13-rc5
>
> This patch does not seem to apply cleanly (using git am) on top of the tag
> above. Please resolve this problem and resubmit.

Thanks. I will resubmit the patch.



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

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

end of thread, other threads:[~2017-08-24 13:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-22  7:53 [PATCH ] ARM: dts: r8a7745: Add Ethernet AVB support Biju Das
2017-08-24 10:18 ` Simon Horman
2017-08-24 13:51   ` Biju Das
2017-08-24 13:45 ` [PATCH resend] " Biju Das

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).