Re: [PATCH 2/5] phy: add support for indexed lookup

2014-01-15 Thread Kishon Vijay Abraham I
Hi Heikki, On Tuesday 14 January 2014 07:53 PM, Heikki Krogerus wrote: > Hi Kishon, > > And happy new year.. Happy new year :-) > > On Tue, Jan 07, 2014 at 07:10:36PM +0530, Kishon Vijay Abraham I wrote: > /** > - * phy_get() - lookup and obtain a reference to a phy. > + *

Re: [PATCH 2/5] phy: add support for indexed lookup

2014-01-15 Thread Kishon Vijay Abraham I
Hi Heikki, On Tuesday 14 January 2014 07:53 PM, Heikki Krogerus wrote: Hi Kishon, And happy new year.. Happy new year :-) On Tue, Jan 07, 2014 at 07:10:36PM +0530, Kishon Vijay Abraham I wrote: /** - * phy_get() - lookup and obtain a reference to a phy. + * phy_get_index() - obtain a

Re: [PATCH 2/5] phy: add support for indexed lookup

2014-01-14 Thread Heikki Krogerus
Hi Kishon, And happy new year.. On Tue, Jan 07, 2014 at 07:10:36PM +0530, Kishon Vijay Abraham I wrote: > >>> /** > >>> - * phy_get() - lookup and obtain a reference to a phy. > >>> + * phy_get_index() - obtain a phy based on index > >> > >> NAK. It still takes a 'char' argument and the name is

Re: [PATCH 2/5] phy: add support for indexed lookup

2014-01-14 Thread Heikki Krogerus
Hi Kishon, And happy new year.. On Tue, Jan 07, 2014 at 07:10:36PM +0530, Kishon Vijay Abraham I wrote: /** - * phy_get() - lookup and obtain a reference to a phy. + * phy_get_index() - obtain a phy based on index NAK. It still takes a 'char' argument and the name is misleading. Btw

Re: [PATCH 2/5] phy: add support for indexed lookup

2014-01-07 Thread Kishon Vijay Abraham I
Hi, On Monday 16 December 2013 08:02 PM, Heikki Krogerus wrote: > Hi Kishon, > > On Mon, Dec 16, 2013 at 04:32:58PM +0530, Kishon Vijay Abraham I wrote: >> On Monday 09 December 2013 08:38 PM, Heikki Krogerus wrote: >>> Removes the need for the consumer drivers requesting the >>> phys to provide

Re: [PATCH 2/5] phy: add support for indexed lookup

2014-01-07 Thread Kishon Vijay Abraham I
Hi, On Monday 16 December 2013 08:02 PM, Heikki Krogerus wrote: Hi Kishon, On Mon, Dec 16, 2013 at 04:32:58PM +0530, Kishon Vijay Abraham I wrote: On Monday 09 December 2013 08:38 PM, Heikki Krogerus wrote: Removes the need for the consumer drivers requesting the phys to provide name for

Re: [PATCH 2/5] phy: add support for indexed lookup

2013-12-16 Thread Heikki Krogerus
Hi Kishon, On Mon, Dec 16, 2013 at 04:32:58PM +0530, Kishon Vijay Abraham I wrote: > On Monday 09 December 2013 08:38 PM, Heikki Krogerus wrote: > > Removes the need for the consumer drivers requesting the > > phys to provide name for the phy. This should ease the use > > of the framework

Re: [PATCH 2/5] phy: add support for indexed lookup

2013-12-16 Thread Kishon Vijay Abraham I
Hi, On Monday 09 December 2013 08:38 PM, Heikki Krogerus wrote: > Removes the need for the consumer drivers requesting the > phys to provide name for the phy. This should ease the use > of the framework considerable when using only one phy, which > is usually the case when except with USB, but it

Re: [PATCH 2/5] phy: add support for indexed lookup

2013-12-16 Thread Kishon Vijay Abraham I
Hi, On Monday 09 December 2013 08:38 PM, Heikki Krogerus wrote: Removes the need for the consumer drivers requesting the phys to provide name for the phy. This should ease the use of the framework considerable when using only one phy, which is usually the case when except with USB, but it can

Re: [PATCH 2/5] phy: add support for indexed lookup

2013-12-16 Thread Heikki Krogerus
Hi Kishon, On Mon, Dec 16, 2013 at 04:32:58PM +0530, Kishon Vijay Abraham I wrote: On Monday 09 December 2013 08:38 PM, Heikki Krogerus wrote: Removes the need for the consumer drivers requesting the phys to provide name for the phy. This should ease the use of the framework considerable

[PATCH 2/5] phy: add support for indexed lookup

2013-12-09 Thread Heikki Krogerus
Removes the need for the consumer drivers requesting the phys to provide name for the phy. This should ease the use of the framework considerable when using only one phy, which is usually the case when except with USB, but it can also be useful with multiple phys. This will also reduce noise from

[PATCH 2/5] phy: add support for indexed lookup

2013-12-09 Thread Heikki Krogerus
Removes the need for the consumer drivers requesting the phys to provide name for the phy. This should ease the use of the framework considerable when using only one phy, which is usually the case when except with USB, but it can also be useful with multiple phys. This will also reduce noise from