i2c support for MPC 8247
Laurent Pinchart
laurentp at cse-semaphore.com
Thu Dec 4 19:58:28 EST 2008
Hi Daniel,
On Thursday 04 December 2008 02:49:45 Daniel Ng wrote:
> Hi,
>
> We were successfully using drivers/i2c/busses/i2c-mpc8260.c for I2C support
> on a MPC8247 in Linux 2.6.14.
>
> Now, we are wanting to upgrade our embedded system to Linux 2.6.24.
>
> However, in 2.6.24, the file i2c-mpc8260.c doesn't exist. There is a
> i2c-mpc.c but this doesn't seem to handle the MPC8247. This is because I
> get the following message when I try to access the I2C device:
>
> "/dev/i2c-0: No such device"
>
> Perhaps the i2c-mpc.c driver uses a different device node? There is nothing
> in the i2c-mpc.c file which specifies a particular dev node.
>
> Is I2C supported on the MPC8247 in Linux 2.6.24?
>
> If so, what is the appropriate driver file?
The MPC8247 I2C controller is supported by the i2c-cpm driver, introduced in
2.6.27. It shouldn't be difficult to backport the driver to 2.6.24. Please
note that the driver only supports the powerpc architecture and won't work on
ppc kernels.
Alternatively, you could port the i2c-mpc8260 driver to 2.6.24.
Best regards,
--
Laurent Pinchart
CSE Semaphore Belgium
Chaussee de Bruxelles, 732A
B-1410 Waterloo
Belgium
T +32 (2) 387 42 59
F +32 (2) 387 42 75
More information about the Linuxppc-embedded
mailing list