I2C node in device tree breaks old-style drivers

Timur Tabi timur at freescale.com
Wed Jul 30 23:00:05 EST 2008


On Wed, Jul 30, 2008 at 5:54 AM, Jochen Friedrich <jochen at scram.de> wrote:
> Hi Timur,
>
>> So my conclusion is that specifying an I2C node in the device tree *requires*
>> that the driver be new-style.  Is there any way we can fix this?  I'm not going
>> to have time to update the CS4270 driver to a new-style interface before the
>> 2.6.27 window closes.
>
> This conclusion is correct. One possible way to fix this is to add support for
> blacklisting to drivers/of/base.c (untested):

No need.  I posted a patch to alsa-devel that makes the CS4270 a
new-style I2C driver.  I'd hate to think that my driver is the only
I2C driver used on PowerPC systems that was outdated. :-)


-- 
Timur Tabi
Linux kernel developer at Freescale



More information about the Linuxppc-dev mailing list