Re: [PATCH v1] Add support for getting device platform data to I2C device

2009-01-06 Thread Benjamin Herrenschmidt
On Thu, 2008-12-18 at 20:49 +0300, Anton Vorontsov wrote: > Exactly, this matters for non-embedded case. Why would I want totally > unneeded I2C bindings built-in into my iBook kernel? ;-) > > >> And the solution that everybody seem to agree with (SPI driver example): > >> http://lkml.org/lkml/20

Re: [PATCH v1] Add support for getting device platform data to I2C device

2008-12-18 Thread Anton Vorontsov
On Thu, Dec 18, 2008 at 11:20:03AM -0600, Scott Wood wrote: > Anton Vorontsov wrote: >> On Thu, Dec 18, 2008 at 10:14:11AM +0800, Mingkai Hu wrote: >>> There is no standard way of getting device platform data from >>> dts file to the I2C device when it's probed. This patch adds >>> a function point

Re: [PATCH v1] Add support for getting device platform data to I2C device

2008-12-18 Thread Scott Wood
Anton Vorontsov wrote: On Thu, Dec 18, 2008 at 10:14:11AM +0800, Mingkai Hu wrote: There is no standard way of getting device platform data from dts file to the I2C device when it's probed. This patch adds a function pointer to the of_modalias_table to get such bindings properties into device's

Re: [PATCH v1] Add support for getting device platform data to I2C device

2008-12-18 Thread Anton Vorontsov
On Thu, Dec 18, 2008 at 10:14:11AM +0800, Mingkai Hu wrote: > There is no standard way of getting device platform data from > dts file to the I2C device when it's probed. This patch adds > a function pointer to the of_modalias_table to get such bindings > properties into device's platform data. Un