[PATCH V2 0/6 ] IMX i2c driver update for the PPC 85xx
Renaud Barbier
renaud.barbier at ge.com
Fri Aug 31 10:10:29 EDT 2012
This patch set prepares the PPC 85xx SOC to use the IMX i2c driver and updates
the driver with specific clock settings. The driver name is renamed "i2c-fsl".
The patch also introduces a function returning the system clock to calculate
the i2c frequency bus divider. Finally, the P2020RDB board support is updated
to test the driver on 8-bit and 16-bit I2C devices.
This patch has NOT been tested on a IMX board.
Renaud Barbier (6):
mpc85xx: i2c frequency
ppc/asm/fsl_i2c.h is removed
mpc85xx: header update
IMX driver: replace imx -> fsl
i2c: adapt the i2c-imx driver to mpc85xx machines
ppc: p2020rdb i2c support
arch/ppc/boards/freescale-p2020rdb/p2020rdb.c | 14 +-
arch/ppc/configs/p2020rdb_defconfig | 3 +
arch/ppc/include/asm/fsl_i2c.h | 86 ------
.../include/mach/{clocks.h => clock.h} | 1 +
arch/ppc/mach-mpc85xx/include/mach/immap_85xx.h | 3 +
arch/ppc/mach-mpc85xx/speed.c | 11 +-
arch/ppc/mach-mpc85xx/time.c | 2 +-
drivers/i2c/busses/Kconfig | 4 +-
drivers/i2c/busses/i2c-imx.c | 324 ++++++++++++--------
9 files changed, 230 insertions(+), 218 deletions(-)
delete mode 100644 arch/ppc/include/asm/fsl_i2c.h
rename arch/ppc/mach-mpc85xx/include/mach/{clocks.h => clock.h} (91%)
More information about the barebox
mailing list