Re: [PATCH] arm64: dts: renesas: condor: switch from EtherAVB to GEther

2018-11-02 Thread Simon Horman
On Wed, Oct 31, 2018 at 08:29:50PM +0300, Sergei Shtylyov wrote:
> On 10/31/2018 5:30 PM, Simon Horman wrote:
> 
> > > The "official" Condor boards have always been wired to mount NFS via
> > > GEther, not EtherAVB -- the boards resoldered for EtherAVB were local
> > > to Cogent Embedded, so we've been having an unpleasant situation where
> > > a "normal" Condor board still can't mount NFS (unless an EtherAVB PHY
> > > extension board is plugged in). Switch from EtherAVB to GEther at last!
> > > 
> > > Fixes: 8091788f3d38 ("arm64: dts: renesas: condor: add EtherAVB support")
> > > Signed-off-by: Sergei Shtylyov 
> > 
> > Thanks, applied for v4.21.
> 
>Wait, this was intended as a fix for 4.20...

Thanks, I have re-queued this as a fix for v4.20.


Re: [PATCH] arm64: dts: renesas: condor: switch from EtherAVB to GEther

2018-10-31 Thread Sergei Shtylyov

On 10/31/2018 5:30 PM, Simon Horman wrote:


The "official" Condor boards have always been wired to mount NFS via
GEther, not EtherAVB -- the boards resoldered for EtherAVB were local
to Cogent Embedded, so we've been having an unpleasant situation where
a "normal" Condor board still can't mount NFS (unless an EtherAVB PHY
extension board is plugged in). Switch from EtherAVB to GEther at last!

Fixes: 8091788f3d38 ("arm64: dts: renesas: condor: add EtherAVB support")
Signed-off-by: Sergei Shtylyov 


Thanks, applied for v4.21.


   Wait, this was intended as a fix for 4.20...

MBR, Sergei


Re: [PATCH] arm64: dts: renesas: condor: switch from EtherAVB to GEther

2018-10-31 Thread Simon Horman
On Thu, Oct 18, 2018 at 07:48:53PM +0300, Sergei Shtylyov wrote:
> The "official" Condor boards have always been wired to mount NFS via
> GEther, not EtherAVB -- the boards resoldered for EtherAVB were local
> to Cogent Embedded, so we've been having an unpleasant situation where
> a "normal" Condor board still can't mount NFS (unless an EtherAVB PHY
> extension board is plugged in). Switch from EtherAVB to GEther at last!
> 
> Fixes: 8091788f3d38 ("arm64: dts: renesas: condor: add EtherAVB support")
> Signed-off-by: Sergei Shtylyov 

Thanks, applied for v4.21.


[PATCH] arm64: dts: renesas: condor: switch from EtherAVB to GEther

2018-10-18 Thread Sergei Shtylyov
The "official" Condor boards have always been wired to mount NFS via
GEther, not EtherAVB -- the boards resoldered for EtherAVB were local
to Cogent Embedded, so we've been having an unpleasant situation where
a "normal" Condor board still can't mount NFS (unless an EtherAVB PHY
extension board is plugged in). Switch from EtherAVB to GEther at last!

Fixes: 8091788f3d38 ("arm64: dts: renesas: condor: add EtherAVB support")
Signed-off-by: Sergei Shtylyov 

---
The patch is against Linus' 'linux.git' repo -- coulan't find a fitting
brancxh in Simon Horman's 'renesas.git' repo...

 arch/arm64/boot/dts/renesas/r8a77980-condor.dts |   47 
 1 file changed, 24 insertions(+), 23 deletions(-)

Index: linux/arch/arm64/boot/dts/renesas/r8a77980-condor.dts
===
--- linux.orig/arch/arm64/boot/dts/renesas/r8a77980-condor.dts
+++ linux/arch/arm64/boot/dts/renesas/r8a77980-condor.dts
@@ -15,7 +15,7 @@
 
aliases {
serial0 = 
-   ethernet0 = 
+   ethernet0 = 
};
 
chosen {
@@ -47,23 +47,6 @@
};
 };
 
- {
-   pinctrl-0 = <_pins>;
-   pinctrl-names = "default";
-
-   phy-mode = "rgmii-id";
-   phy-handle = <>;
-   renesas,no-ether-link;
-   status = "okay";
-
-   phy0: ethernet-phy@0 {
-   rxc-skew-ps = <1500>;
-   reg = <0>;
-   interrupt-parent = <>;
-   interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
-   };
-};
-
  {
pinctrl-0 = <_pins>;
pinctrl-names = "default";
@@ -82,6 +65,23 @@
clock-frequency = <32768>;
 };
 
+ {
+   pinctrl-0 = <_pins>;
+   pinctrl-names = "default";
+
+   phy-mode = "rgmii-id";
+   phy-handle = <>;
+   renesas,no-ether-link;
+   status = "okay";
+
+   phy0: ethernet-phy@0 {
+   rxc-skew-ps = <1500>;
+   reg = <0>;
+   interrupt-parent = <>;
+   interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
+   };
+};
+
  {
pinctrl-0 = <_pins>;
pinctrl-names = "default";
@@ -118,16 +118,17 @@
 };
 
  {
-   avb_pins: avb {
-   groups = "avb_mdio", "avb_rgmii";
-   function = "avb";
-   };
-
canfd0_pins: canfd0 {
groups = "canfd0_data_a";
function = "canfd0";
};
 
+   gether_pins: gether {
+   groups = "gether_mdio_a", "gether_rgmii",
+"gether_txcrefclk", "gether_txcrefclk_mega";
+   function = "gether";
+   };
+
i2c0_pins: i2c0 {
groups = "i2c0";
function = "i2c0";