Re: [PATCH 2/4] net: phy: at803x: Allow specifying the RGMII RX clock delay via phy mode

2016-01-04 Thread Florian Fainelli
On 04/01/16 13:17, Martin Blumenstingl wrote: > On Sun, Dec 27, 2015 at 9:22 PM, Mason wrote: >> On 27/12/2015 04:28, Florian Fainelli wrote: >> >>> Le 25/12/2015 16:27, Martin Blumenstingl wrote: >>> diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c index f566b6e..0b262a2

Re: [PATCH 2/4] net: phy: at803x: Allow specifying the RGMII RX clock delay via phy mode

2016-01-04 Thread Martin Blumenstingl
On Sun, Dec 27, 2015 at 9:22 PM, Mason wrote: > On 27/12/2015 04:28, Florian Fainelli wrote: > >> Le 25/12/2015 16:27, Martin Blumenstingl wrote: >> >>> diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c >>> index f566b6e..0b262a2 100644 >>> --- a/drivers/net/phy/at803x.c >>> +++ b/d

Re: [PATCH 2/4] net: phy: at803x: Allow specifying the RGMII RX clock delay via phy mode

2015-12-27 Thread Mason
On 27/12/2015 04:28, Florian Fainelli wrote: > Le 25/12/2015 16:27, Martin Blumenstingl wrote: > >> diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c >> index f566b6e..0b262a2 100644 >> --- a/drivers/net/phy/at803x.c >> +++ b/drivers/net/phy/at803x.c >> @@ -36,8 +36,10 @@ >> #defin

Re: [PATCH 2/4] net: phy: at803x: Allow specifying the RGMII RX clock delay via phy mode

2015-12-27 Thread Martin Blumenstingl
On Sun, Dec 27, 2015 at 4:28 AM, Florian Fainelli wrote: >> Signed-off-by: Martin Blumenstingl >> --- >> drivers/net/phy/at803x.c | 78 >> ++-- >> 1 file changed, 69 insertions(+), 9 deletions(-) >> >> diff --git a/drivers/net/phy/at803x.c b/drivers/n

Re: [PATCH 2/4] net: phy: at803x: Allow specifying the RGMII RX clock delay via phy mode

2015-12-26 Thread Florian Fainelli
Le 25/12/2015 16:27, Martin Blumenstingl a écrit : > at803x currently automatically enables the RGMII TX clock delay when the > phy interface mode is PHY_INTERFACE_MODE_RGMII_TXID. The same should be > done when PHY_INTERFACE_MODE_RGMII_ID is specified. > Use a similar logic to enable the RGMII RX

[PATCH 2/4] net: phy: at803x: Allow specifying the RGMII RX clock delay via phy mode

2015-12-25 Thread Martin Blumenstingl
at803x currently automatically enables the RGMII TX clock delay when the phy interface mode is PHY_INTERFACE_MODE_RGMII_TXID. The same should be done when PHY_INTERFACE_MODE_RGMII_ID is specified. Use a similar logic to enable the RGMII RX clock delay as well. at803x_context_{save,restore} were not