diff mbox

arm64: dts: renesas: v3msk: add EtherAVB pins

Message ID c42c9e9a-8fe8-5cad-0eeb-0c1fbd09f83c@cogentembedded.com (mailing list archive)
State Accepted
Commit 68d3b03fcb5a2e7c71b1e72c6d856e6030c4f2fd
Delegated to: Simon Horman
Headers show

Commit Message

Sergei Shtylyov March 14, 2018, 8:30 p.m. UTC
Add the (previously omitted) EtherAVB pin data to the V3M Starter Kit
board's device tree.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
The patch is against the 'renesas-devel-20180314-v4.16-rc5' tag of Simon's
'renesas.git repo. It depends on the R8A77970 PFC driver patch adding EtherAVB
pin groups (posted yesterday) in order to work properly...

 arch/arm64/boot/dts/renesas/r8a77970-v3msk.dts |    8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Simon Horman March 26, 2018, 9:01 a.m. UTC | #1
On Wed, Mar 14, 2018 at 11:30:34PM +0300, Sergei Shtylyov wrote:
> Add the (previously omitted) EtherAVB pin data to the V3M Starter Kit
> board's device tree.
> 
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> 
> ---
> The patch is against the 'renesas-devel-20180314-v4.16-rc5' tag of Simon's
> 'renesas.git repo. It depends on the R8A77970 PFC driver patch adding EtherAVB
> pin groups (posted yesterday) in order to work properly...

Thanks, I have marked this as deferred, please either:
* repost or ping me once the dependency is in an RC release or;
* let me know that its safe to apply this change - that is, it won't cause
  a regression - without the dependency
Sergei Shtylyov March 26, 2018, 3:27 p.m. UTC | #2
On 03/26/2018 12:01 PM, Simon Horman wrote:

>> Add the (previously omitted) EtherAVB pin data to the V3M Starter Kit
>> board's device tree.
>>
>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>>
>> ---
>> The patch is against the 'renesas-devel-20180314-v4.16-rc5' tag of Simon's
>> 'renesas.git repo. It depends on the R8A77970 PFC driver patch adding EtherAVB
>> pin groups (posted yesterday) in order to work properly...
> 
> Thanks, I have marked this as deferred, please either:
> * repost or ping me once the dependency is in an RC release or;
> * let me know that its safe to apply this change - that is, it won't cause
>   a regression - without the dependency

   I'm seeing this patch merged under the today's devel tag -- please undo the merge
as the PFC pre-requisite patch haven't hit Linus' repo yet. 

MBR, Sergei
Simon Horman March 26, 2018, 4:02 p.m. UTC | #3
On Mon, Mar 26, 2018 at 06:27:06PM +0300, Sergei Shtylyov wrote:
> On 03/26/2018 12:01 PM, Simon Horman wrote:
> 
> >> Add the (previously omitted) EtherAVB pin data to the V3M Starter Kit
> >> board's device tree.
> >>
> >> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> >>
> >> ---
> >> The patch is against the 'renesas-devel-20180314-v4.16-rc5' tag of Simon's
> >> 'renesas.git repo. It depends on the R8A77970 PFC driver patch adding EtherAVB
> >> pin groups (posted yesterday) in order to work properly...
> > 
> > Thanks, I have marked this as deferred, please either:
> > * repost or ping me once the dependency is in an RC release or;
> > * let me know that its safe to apply this change - that is, it won't cause
> >   a regression - without the dependency
> 
>    I'm seeing this patch merged under the today's devel tag -- please undo the merge
> as the PFC pre-requisite patch haven't hit Linus' repo yet. 

Sorry about that. I have dropped the patch and pushed
renesas-devel-20180326v2-v4.16-rc7.
Sergei Shtylyov April 20, 2018, 11:28 a.m. UTC | #4
On 03/14/2018 11:30 PM, Sergei Shtylyov wrote:

> Add the (previously omitted) EtherAVB pin data to the V3M Starter Kit
> board's device tree.
> 
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> 
> ---
> The patch is against the 'renesas-devel-20180314-v4.16-rc5' tag of Simon's
> 'renesas.git repo. It depends on the R8A77970 PFC driver patch adding EtherAVB
> pin groups (posted yesterday) in order to work properly...

   The dependency has been now met, please merge this patch.

MBR, Sergei
Simon Horman April 24, 2018, 9:18 a.m. UTC | #5
On Fri, Apr 20, 2018 at 02:28:51PM +0300, Sergei Shtylyov wrote:
> On 03/14/2018 11:30 PM, Sergei Shtylyov wrote:
> 
> > Add the (previously omitted) EtherAVB pin data to the V3M Starter Kit
> > board's device tree.
> > 
> > Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> > 
> > ---
> > The patch is against the 'renesas-devel-20180314-v4.16-rc5' tag of Simon's
> > 'renesas.git repo. It depends on the R8A77970 PFC driver patch adding EtherAVB
> > pin groups (posted yesterday) in order to work properly...
> 
>    The dependency has been now met, please merge this patch.

Thanks, applied.
diff mbox

Patch

Index: renesas/arch/arm64/boot/dts/renesas/r8a77970-v3msk.dts
===================================================================
--- renesas.orig/arch/arm64/boot/dts/renesas/r8a77970-v3msk.dts
+++ renesas/arch/arm64/boot/dts/renesas/r8a77970-v3msk.dts
@@ -32,6 +32,9 @@ 
 };
 
 &avb {
+	pinctrl-0 = <&avb_pins>;
+	pinctrl-names = "default";
+
 	renesas,no-ether-link;
 	phy-handle = <&phy0>;
 	phy-mode = "rgmii-id";
@@ -52,6 +55,11 @@ 
 };
 
 &pfc {
+	avb_pins: avb0 {
+		groups = "avb0_mdio", "avb0_rgmii", "avb0_txcrefclk";
+		function = "avb0";
+	};
+
 	scif0_pins: scif0 {
 		groups = "scif0_data";
 		function = "scif0";