[RFC] Rework of i2c-mpc.c - Freescale i2c driver

Grant Likely grant.likely at secretlab.ca
Tue Nov 6 07:03:53 EST 2007


On 11/5/07, Jon Smirl <jonsmirl at gmail.com> wrote:
> This is my first pass at reworking the Freescale i2c driver. It
> switches the driver from being a platform driver to an open firmware
> one. I've checked it out on my hardware and it is working.

Isn't this device core also used in the fsl coldfire socs?

If so, it needs to have both platform bus and of_platform bus
bindings.  This is easy to do as long as you keep device probing and
initialization in separate routines.  See drivers/serial/uartlite.c
for an example.

Cheers,
g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195



More information about the Linuxppc-dev mailing list