Re: [RFC] binding for nvec mfd device

2013-09-24 Thread Stephen Warren
On 09/24/2013 03:33 AM, Marc Dietrich wrote: ... > What I learned from the somehow unfortune discussion yesterday on IRC is that > we cannot describe the exact i2c topology in the device tree, especially if > it > is software configuable (slave/master changing roles). Well, there's also no need

Re: [RFC] binding for nvec mfd device

2013-09-24 Thread Stephen Warren
On 09/24/2013 01:19 AM, Andrey Danin wrote: > On Mon, Sep 23, 2013 at 8:36 PM, Stephen Warren I think you'd just have the following > > /* master */ > i2c@x { > foo@0x40 { > reg = ; > compatible = "nvidia,nvec"; > } > }; > > i2c@yyy

Re: [RFC] binding for nvec mfd device

2013-09-24 Thread Marc Dietrich
Am Dienstag, 24. September 2013, 11:39:21 schrieb Andrey Danin: > On Mon, 2013-09-23 at 10:36 -0600, Stephen Warren wrote: > > On 09/23/2013 08:52 AM, Marc Dietrich wrote: > > > Am Dienstag, 17. September 2013, 15:48:12 schrieb Stephen Warren: > > >> On 09/17/2013 01:53 AM, Marc Dietrich wrote: > >

Re: [RFC] binding for nvec mfd device

2013-09-24 Thread Andrey Danin
On Mon, 2013-09-23 at 10:36 -0600, Stephen Warren wrote: > On 09/23/2013 08:52 AM, Marc Dietrich wrote: > > Am Dienstag, 17. September 2013, 15:48:12 schrieb Stephen Warren: > >> On 09/17/2013 01:53 AM, Marc Dietrich wrote: > >>> Hi Stephen, > >>> > >>> Am Mittwoch, 31. Juli 2013, 15:03:14 schrieb

Re: [RFC] binding for nvec mfd device

2013-09-23 Thread Stephen Warren
On 09/23/2013 08:52 AM, Marc Dietrich wrote: > Am Dienstag, 17. September 2013, 15:48:12 schrieb Stephen Warren: >> On 09/17/2013 01:53 AM, Marc Dietrich wrote: >>> Hi Stephen, >>> >>> Am Mittwoch, 31. Juli 2013, 15:03:14 schrieb Stephen Warren: The generic I2C bindings already define that the

Re: [RFC] binding for nvec mfd device

2013-09-23 Thread Marc Dietrich
Am Dienstag, 17. September 2013, 15:48:12 schrieb Stephen Warren: > On 09/17/2013 01:53 AM, Marc Dietrich wrote: > > Hi Stephen, > > > > Am Mittwoch, 31. Juli 2013, 15:03:14 schrieb Stephen Warren: > >> The generic I2C bindings already define that the other chips on the I2C > >> bus appear directl

Re: [RFC] binding for nvec mfd device

2013-09-18 Thread Wolfram Sang
> It looks like that the i2c subsystem needs some modifications to allow to > specify a master device which is attached to a slave controller. Maybe > someone > from the i2c folks (cc'ed) can comment on this? The linux i2c core does not really support controllers being a slave. There are proba

Re: [RFC] binding for nvec mfd device

2013-09-17 Thread Stephen Warren
On 09/17/2013 01:53 AM, Marc Dietrich wrote: > Hi Stephen, > > Am Mittwoch, 31. Juli 2013, 15:03:14 schrieb Stephen Warren: >> The generic I2C bindings already define that the other chips on the I2C >> bus appear directly underneath the I2C controller's DT node. Perhaps it >> isn't a big issue to

Re: [RFC] binding for nvec mfd device

2013-09-17 Thread Marc Dietrich
Hi Stephen, Am Mittwoch, 31. Juli 2013, 15:03:14 schrieb Stephen Warren: > The generic I2C bindings already define that the other chips on the I2C > bus appear directly underneath the I2C controller's DT node. Perhaps it > isn't a big issue to change that, since each I2C controller can define > th