[PATCH] Add the of_find_i2c_device_by_node function.

Jon Smirl jonsmirl at gmail.com
Wed Jan 7 03:29:40 EST 2009


On Tue, Dec 30, 2008 at 3:11 PM, Jon Smirl <jonsmirl at gmail.com> wrote:
> Add the of_find_i2c_device_by_node function. This allows you to follow
> a reference in the device tree to an i2c device node and then locate
> the linux device instantiated by the device tree. Example use, an i2s
> codec controlled by i2c.

Did anyone pick this patch up? You need it to write ALSA ASOC drivers.

-- 
Jon Smirl
jonsmirl at gmail.com



More information about the Linuxppc-dev mailing list