Re: [U-Boot] [PATCH 3/4] net: cpsw: Add support to drive gpios for ethernet to be functional

2016-07-27 Thread Vignesh R
On Tuesday 26 July 2016 05:43 PM, Tom Rini wrote: > On Tue, Jul 26, 2016 at 12:07:26PM +0530, R, Vignesh wrote: >> >> >> On 7/25/2016 7:08 PM, Tom Rini wrote: >>> On Mon, Jul 25, 2016 at 06:40:22PM +0530, Vignesh R wrote: >>> On DRA72 EVM, cpsw slaves may be muxed with other modules. This >>

Re: [U-Boot] [PATCH 3/4] net: cpsw: Add support to drive gpios for ethernet to be functional

2016-07-26 Thread Tom Rini
On Tue, Jul 26, 2016 at 12:07:26PM +0530, R, Vignesh wrote: > > > On 7/25/2016 7:08 PM, Tom Rini wrote: > > On Mon, Jul 25, 2016 at 06:40:22PM +0530, Vignesh R wrote: > > > >> On DRA72 EVM, cpsw slaves may be muxed with other modules. This > >> selection is controlled by a pcf gpio line. Add sup

Re: [U-Boot] [PATCH 3/4] net: cpsw: Add support to drive gpios for ethernet to be functional

2016-07-25 Thread R, Vignesh
On 7/26/2016 12:26 PM, Wolfgang Denk wrote: > Dear "R, Vignesh", > > In message you wrote: >> @@ -1203,6 +1206,16 @@ static int cpsw_eth_ofdata_to_platdata(struct udevice *dev) return -ENOENT; } + + num_mode_gpios = gpio_get_list_count(dev, "

Re: [U-Boot] [PATCH 3/4] net: cpsw: Add support to drive gpios for ethernet to be functional

2016-07-25 Thread Wolfgang Denk
Dear "R, Vignesh", In message you wrote: > > >> @@ -1203,6 +1206,16 @@ static int cpsw_eth_ofdata_to_platdata(struct > >> udevice *dev) > >>return -ENOENT; > >>} > >> > >> + > >> + num_mode_gpios = gpio_get_list_count(dev, "mode-gpios"); > > > > Extra blank line added. > >

Re: [U-Boot] [PATCH 3/4] net: cpsw: Add support to drive gpios for ethernet to be functional

2016-07-25 Thread R, Vignesh
On 7/25/2016 7:08 PM, Tom Rini wrote: > On Mon, Jul 25, 2016 at 06:40:22PM +0530, Vignesh R wrote: > >> On DRA72 EVM, cpsw slaves may be muxed with other modules. This >> selection is controlled by a pcf gpio line. Add support for cpsw driver >> to acquire mode-gpios and select the appropriate s

Re: [U-Boot] [PATCH 3/4] net: cpsw: Add support to drive gpios for ethernet to be functional

2016-07-25 Thread Tom Rini
On Mon, Jul 25, 2016 at 06:40:22PM +0530, Vignesh R wrote: > On DRA72 EVM, cpsw slaves may be muxed with other modules. This > selection is controlled by a pcf gpio line. Add support for cpsw driver > to acquire mode-gpios and select the appropriate slave using gpio APIs. > > Signed-off-by: Vigne

[U-Boot] [PATCH 3/4] net: cpsw: Add support to drive gpios for ethernet to be functional

2016-07-25 Thread Vignesh R
On DRA72 EVM, cpsw slaves may be muxed with other modules. This selection is controlled by a pcf gpio line. Add support for cpsw driver to acquire mode-gpios and select the appropriate slave using gpio APIs. Signed-off-by: Vignesh R --- drivers/net/cpsw.c | 13 + 1 file changed, 13 i