Re: [U-Boot] net: gpio PHY driver

2009-07-01 Thread Scott Wood
Ben Warren wrote: > It sure would be nice to see a patch that gets the CPU-specific crap out > of the miiphybb driver. This type of problem has been dealt with in > other places such as I2C and SPI. Any takers? There's a version of this driver in Linux which has been more abstracted (and clea

Re: [U-Boot] net: gpio PHY driver

2009-07-01 Thread Darius Augulis
Hi Ben, On 07/01/2009 10:02 PM, Ben Warren wrote: > Hi Darius, > > Darius Augulis wrote: >> On 07/01/2009 09:12 PM, Richard Retanubun wrote: >>> Darius Augulis wrote: On 07/01/2009 03:37 PM, Jerry Van Baren wrote: > Darius Augulis wrote: >> Hi, >> >> I need to control RGMII PH

Re: [U-Boot] net: gpio PHY driver

2009-07-01 Thread Ben Warren
Hi Darius, Darius Augulis wrote: > On 07/01/2009 09:12 PM, Richard Retanubun wrote: > >> Darius Augulis wrote: >> >>> On 07/01/2009 03:37 PM, Jerry Van Baren wrote: >>> Darius Augulis wrote: > Hi, > > I need to control RGMII PHY connected to GPIO.

Re: [U-Boot] net: gpio PHY driver

2009-07-01 Thread Darius Augulis
On 07/01/2009 09:43 PM, Richard Retanubun wrote: > Darius Augulis wrote: > [snip] >> No, my system is not MPC based. I'm working on new board and CPU >> (Gemini) support in u-boot. My SoC has two GMAC controllers. >> btw, what is the right way to add new Ethernet driver? >> Should I define CONFIG_C

Re: [U-Boot] net: gpio PHY driver

2009-07-01 Thread Richard Retanubun
Darius Augulis wrote: [snip] > No, my system is not MPC based. I'm working on new board and CPU > (Gemini) support in u-boot. My SoC has two GMAC controllers. > btw, what is the right way to add new Ethernet driver? > Should I define CONFIG_CMD_NET and CONFIG_NET_MULTI in my board config? > Or sh

Re: [U-Boot] net: gpio PHY driver

2009-07-01 Thread Darius Augulis
On 07/01/2009 09:12 PM, Richard Retanubun wrote: > Darius Augulis wrote: >> On 07/01/2009 03:37 PM, Jerry Van Baren wrote: >>> Darius Augulis wrote: Hi, I need to control RGMII PHY connected to GPIO. Seems there isn't such driver in u-boot. I would like to discuss how is be

Re: [U-Boot] net: gpio PHY driver

2009-07-01 Thread Richard Retanubun
Darius Augulis wrote: > On 07/01/2009 03:37 PM, Jerry Van Baren wrote: >> Darius Augulis wrote: >>> Hi, >>> >>> I need to control RGMII PHY connected to GPIO. >>> Seems there isn't such driver in u-boot. >>> I would like to discuss how is better to implement this? >>> I could port mdio_gpio driver

Re: [U-Boot] net: gpio PHY driver

2009-07-01 Thread Darius Augulis
On 07/01/2009 03:37 PM, Jerry Van Baren wrote: > Darius Augulis wrote: >> Hi, >> >> I need to control RGMII PHY connected to GPIO. >> Seems there isn't such driver in u-boot. >> I would like to discuss how is better to implement this? >> I could port mdio_gpio driver from Linux Kernel, >> but u-boo

Re: [U-Boot] net: gpio PHY driver

2009-07-01 Thread Jerry Van Baren
Darius Augulis wrote: > Hi, > > I need to control RGMII PHY connected to GPIO. > Seems there isn't such driver in u-boot. > I would like to discuss how is better to implement this? > I could port mdio_gpio driver from Linux Kernel, > but u-boot does not have universal gpio driver. > Off course I c

[U-Boot] net: gpio PHY driver

2009-07-01 Thread Darius Augulis
Hi, I need to control RGMII PHY connected to GPIO. Seems there isn't such driver in u-boot. I would like to discuss how is better to implement this? I could port mdio_gpio driver from Linux Kernel, but u-boot does not have universal gpio driver. Off course I could make this very board specific, bu