Re: [PATCH] net: fec: dt: convert phy-reset-gpios to use GPIOD API

2016-05-31 Thread George G. Davis
Hello Russell, On Tue, May 31, 2016 at 07:26:42PM +0100, Russell King - ARM Linux wrote: > On Tue, May 31, 2016 at 02:24:50PM -0400, George G. Davis wrote: > > Hello Fabio, > > > > On Tue, May 31, 2016 at 02:26:54PM -0300, Fabio Estevam wrote: > > > On Tue, May 31, 2016 at 2:17 PM, George G. Davi

Re: [PATCH] net: fec: dt: convert phy-reset-gpios to use GPIOD API

2016-05-31 Thread Russell King - ARM Linux
On Tue, May 31, 2016 at 02:24:50PM -0400, George G. Davis wrote: > Hello Fabio, > > On Tue, May 31, 2016 at 02:26:54PM -0300, Fabio Estevam wrote: > > On Tue, May 31, 2016 at 2:17 PM, George G. Davis > > wrote: > > > Convert the i.MX FEC driver and DT files to use the GPIOD API > > > which automa

Re: [PATCH] net: fec: dt: convert phy-reset-gpios to use GPIOD API

2016-05-31 Thread George G. Davis
Hello Fabio, On Tue, May 31, 2016 at 02:26:54PM -0300, Fabio Estevam wrote: > On Tue, May 31, 2016 at 2:17 PM, George G. Davis > wrote: > > Convert the i.MX FEC driver and DT files to use the GPIOD API > > which automatically handles GPIO polarity. > > > > Signed-off-by: George G. Davis > > In

Re: [PATCH] net: fec: dt: convert phy-reset-gpios to use GPIOD API

2016-05-31 Thread Uwe Kleine-König
Hello George, On Tue, May 31, 2016 at 01:17:51PM -0400, George G. Davis wrote: > Convert the i.MX FEC driver and DT files to use the GPIOD API > which automatically handles GPIO polarity. additionally to what Fabio said, there is also a nicer approach in the making. The resulting dts would look a

Re: [PATCH] net: fec: dt: convert phy-reset-gpios to use GPIOD API

2016-05-31 Thread Fabio Estevam
On Tue, May 31, 2016 at 2:17 PM, George G. Davis wrote: > Convert the i.MX FEC driver and DT files to use the GPIOD API > which automatically handles GPIO polarity. > > Signed-off-by: George G. Davis In order to avoid breaking old dtb's a property called 'phy-reset-active-high' has been introduc

[PATCH] net: fec: dt: convert phy-reset-gpios to use GPIOD API

2016-05-31 Thread George G. Davis
Convert the i.MX FEC driver and DT files to use the GPIOD API which automatically handles GPIO polarity. Signed-off-by: George G. Davis --- Documentation/devicetree/bindings/net/fsl-fec.txt | 7 ++- arch/arm/boot/dts/imx25-karo-tx25.dts | 3 ++- arch/arm/boot/dts/imx25-pdk.dts