[PATCH][RFC] I2C support for MPC107 and relatives

Stefan Nickl Stefan.Nickl at kontron.com
Mon Jun 14 21:01:07 EST 2004


On Mon, 2004-06-14 at 12:23, Adrian Cox wrote:
> The attached patch is a 2.6 port of my I2C driver for the MPC107 and
> relatives. It uses my OCP patch to find the address and IRQ information,
> which replaces the direct reading of EPIC registers used in the 2.4
> version.

FYI: The Motorola folks recently pushed a I2C driver called i2c-mpc.c
into the 2.4 tree, it seems to be fully OCP'ed, save it seems the
platform hooks are only present for 8540 yet.

It claims to be:
"non-CPM I2C driver for the Motorola MPC85xx, MPC824x, and MPC107"

It works fine on 8540 (except when the PCB has passed the 74°C-mark
and you reboot it ...)

--
Stefan Nickl
Kontron Modular Computers


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





More information about the Linuxppc-embedded mailing list