Re: [PATCH 1/2] i2c-designware: make *CNT values configurable

2013-07-12 Thread Shinya Kuribayashi
Hi, Now I've had a look at the whole discussion. Basically, DW I2C core provides a good enough (and quite direct) way to control tHIGH and tLOW timing specs, *HCNT and *LCNT registers. But from my experience (with a slightly old version of DW I2C core around 2005, version 1.06a or so), DW I2C c

Re: i2c: introduce i2c helper i2c_find_client_by_name()

2013-07-12 Thread Andy Shevchenko
On Fri, Jul 12, 2013 at 2:35 PM, Laurent Pinchart wrote: > On Friday 12 July 2013 14:29:16 Andy Shevchenko wrote: >> On Fri, Jul 12, 2013 at 2:00 PM, Wolfram Sang wrote: >> >> Briefly looking into ACPI tables we have and mechanisms that we can >> >> use in ACPI case, I doubt we may apply all the

Re: i2c: introduce i2c helper i2c_find_client_by_name()

2013-07-12 Thread Laurent Pinchart
Hi Andy, On Friday 12 July 2013 14:29:16 Andy Shevchenko wrote: > On Fri, Jul 12, 2013 at 2:00 PM, Wolfram Sang wrote: > >> Briefly looking into ACPI tables we have and mechanisms that we can > >> use in ACPI case, I doubt we may apply all the ideas, probably some of > >> them, though I didn't ge

Re: i2c: introduce i2c helper i2c_find_client_by_name()

2013-07-12 Thread Andy Shevchenko
On Fri, Jul 12, 2013 at 2:00 PM, Wolfram Sang wrote: > >> Briefly looking into ACPI tables we have and mechanisms that we can >> use in ACPI case, I doubt we may apply all the ideas, probably some of >> them, though I didn't get yet where to read about in details. What I >> could say now is that t

Re: i2c: introduce i2c helper i2c_find_client_by_name()

2013-07-12 Thread Laurent Pinchart
On Friday 12 July 2013 12:00:47 Wolfram Sang wrote: > > Briefly looking into ACPI tables we have and mechanisms that we can > > use in ACPI case, I doubt we may apply all the ideas, probably some of > > them, though I didn't get yet where to read about in details. What I > > could say now is that t

Re: i2c: introduce i2c helper i2c_find_client_by_name()

2013-07-12 Thread Wolfram Sang
> Briefly looking into ACPI tables we have and mechanisms that we can > use in ACPI case, I doubt we may apply all the ideas, probably some of > them, though I didn't get yet where to read about in details. What I > could say now is that the patch provided by Bin Gao is definitely no > go. Lauren

Re: i2c: introduce i2c helper i2c_find_client_by_name()

2013-07-12 Thread Andy Shevchenko
On Fri, Jul 5, 2013 at 10:55 PM, Mark Brown wrote: > On Thu, Jun 06, 2013 at 11:33:46AM -0700, Bin Gao wrote: > >> A good example is that an ISP(Imaging Signal Processor) driver needs >> register i2c camera sensor devices via v4l2, so it has to unregister >> all i2c clients that were previously re

Re: [PATCH 1/2] i2c-designware: make *CNT values configurable

2013-07-12 Thread Mika Westerberg
On Fri, Jul 12, 2013 at 04:56:49PM +0900, Shinya Kuribayashi wrote: > On 7/11/13 7:13 PM, Mika Westerberg wrote: > >On Thu, Jul 11, 2013 at 10:36:00AM +0300, Mika Westerberg wrote: > >>On Wed, Jul 10, 2013 at 06:56:35PM +0200, Christian Ruppert wrote: > >>>On Wed, Jul 10, 2013 at 01:52:15PM +0300,

Re: [PATCH 1/2] i2c-designware: make *CNT values configurable

2013-07-12 Thread Shinya Kuribayashi
On 7/11/13 7:13 PM, Mika Westerberg wrote: On Thu, Jul 11, 2013 at 10:36:00AM +0300, Mika Westerberg wrote: On Wed, Jul 10, 2013 at 06:56:35PM +0200, Christian Ruppert wrote: On Wed, Jul 10, 2013 at 01:52:15PM +0300, Mika Westerberg wrote: On Tue, Jul 09, 2013 at 06:19:28PM +0200, Christian Ru