Re: [v3] i2c: Driver to expose PowerNV platform i2c busses

2014-12-11 Thread Michael Ellerman
On Tue, 2014-12-09 at 21:21 +1100, Benjamin Herrenschmidt wrote: > On Tue, 2014-12-09 at 20:45 +1100, Michael Ellerman wrote: > > On Mon, 2014-08-12 at 06:36:16 UTC, Neelesh Gupta wrote: > > > The patch exposes the available i2c busses on the PowerNV platform > > > to the kernel and implements the

Re: [v3] i2c: Driver to expose PowerNV platform i2c busses

2014-12-09 Thread Neelesh Gupta
On 12/09/2014 03:15 PM, Michael Ellerman wrote: On Mon, 2014-08-12 at 06:36:16 UTC, Neelesh Gupta wrote: The patch exposes the available i2c busses on the PowerNV platform to the kernel and implements the bus driver to support i2c and smbus commands. The driver uses the platform device infrastr

Re: [v3] i2c: Driver to expose PowerNV platform i2c busses

2014-12-09 Thread Benjamin Herrenschmidt
On Tue, 2014-12-09 at 20:45 +1100, Michael Ellerman wrote: > On Mon, 2014-08-12 at 06:36:16 UTC, Neelesh Gupta wrote: > > The patch exposes the available i2c busses on the PowerNV platform > > to the kernel and implements the bus driver to support i2c and > > smbus commands. > > The driver uses the

Re: [v3] i2c: Driver to expose PowerNV platform i2c busses

2014-12-09 Thread Michael Ellerman
On Mon, 2014-08-12 at 06:36:16 UTC, Neelesh Gupta wrote: > The patch exposes the available i2c busses on the PowerNV platform > to the kernel and implements the bus driver to support i2c and > smbus commands. > The driver uses the platform device infrastructure to probe the busses > on the platform

Re: [PATCH v3] i2c: Driver to expose PowerNV platform i2c busses

2014-12-09 Thread Benjamin Herrenschmidt
On Tue, 2014-12-09 at 09:54 +0100, Wolfram Sang wrote: > > > Oh, I thought we agreed that you take it via powerpc. I still think this > > > is the best solution. > > > > I threatened to do that :-) I don't remember you replying, did I miss > > it ? > It is here: > http://thread.gmane.org/gmane.li

Re: [PATCH v3] i2c: Driver to expose PowerNV platform i2c busses

2014-12-09 Thread Wolfram Sang
> > Oh, I thought we agreed that you take it via powerpc. I still think this > > is the best solution. > > I threatened to do that :-) I don't remember you replying, did I miss > it ? It is here: http://thread.gmane.org/gmane.linux.drivers.i2c/20762/focus=21099 > If you are ok with the driver an

Re: [PATCH v3] i2c: Driver to expose PowerNV platform i2c busses

2014-12-08 Thread Benjamin Herrenschmidt
On Mon, 2014-12-08 at 21:55 +0100, Wolfram Sang wrote: > On Tue, Dec 09, 2014 at 07:13:15AM +1100, Benjamin Herrenschmidt wrote: > > On Mon, 2014-12-08 at 12:06 +0530, Neelesh Gupta wrote: > > > The patch exposes the available i2c busses on the PowerNV platform > > > to the kernel and implements th

Re: [PATCH v3] i2c: Driver to expose PowerNV platform i2c busses

2014-12-08 Thread Wolfram Sang
On Tue, Dec 09, 2014 at 07:13:15AM +1100, Benjamin Herrenschmidt wrote: > On Mon, 2014-12-08 at 12:06 +0530, Neelesh Gupta wrote: > > The patch exposes the available i2c busses on the PowerNV platform > > to the kernel and implements the bus driver to support i2c and > > smbus commands. > > The dri

Re: [PATCH v3] i2c: Driver to expose PowerNV platform i2c busses

2014-12-08 Thread Benjamin Herrenschmidt
On Mon, 2014-12-08 at 12:06 +0530, Neelesh Gupta wrote: > The patch exposes the available i2c busses on the PowerNV platform > to the kernel and implements the bus driver to support i2c and > smbus commands. > The driver uses the platform device infrastructure to probe the busses > on the platform

[PATCH v3] i2c: Driver to expose PowerNV platform i2c busses

2014-12-07 Thread Neelesh Gupta
The patch exposes the available i2c busses on the PowerNV platform to the kernel and implements the bus driver to support i2c and smbus commands. The driver uses the platform device infrastructure to probe the busses on the platform and registers them with the i2c driver framework. Signed-off-by: