[PATCH][RFC]Updated MPC I2C driver

Sylvain Munaut tnt at 246tnt.com
Fri Jul 2 05:20:05 EST 2004


Adrian Cox wrote:

 > This version should support MPC8540 as well as MPC8245 and MPC107.
 > I don't have MPC85xx hardware, so I'd like feedback from people who
 > do.
 >
 > To use it on MPC107/824x requires the OCP patch that went by on the
 > list on Tuesday. The support for MPC85xx is already in the kernel.
 >
 > If nobody has any complaints I'm ready to send it to Greg K-H.


Interesting, it really looks like the MPC5200 I2C controller.
Unfortunatly :
 - On the MPC5200, all the status/controls bits are in the MSBs ( so
the consts would need to be << 24 )
 - And there is a interrupt control register I don't see in your code.
It's shared by the two I2C controllers onboard.

I'll try to see if I can make it work on the lite5200 board.

Sylvain Munaut


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list