[PATCH 0/5] IMX i2c driver update for the PPC 85xx
Renaud Barbier
renaud.barbier at ge.com
Thu Aug 30 10:00:12 EDT 2012
This patch replaces the patch "ppc: Freescale TSEC driver".
This patch set prepares the PPC 85xx SOC to use the IMX i2c driver and updates
the driver with specific clock settings.
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.
This patch has not been tested on a IMX board.
Renaud Barbier (5):
mpc85xx: i2c frequency
ppc/asm/fsl_i2c.h is removed
mpc85xx: header update
i2c: adapt the i2c-imx driver to mpc85xx machines.
ppc: p2020rdb i2c support
arch/ppc/boards/freescale-p2020rdb/p2020rdb.c | 18 +++-
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/generic.h | 24 ++++++
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 | 87 +++++++++++++++++++-
10 files changed, 143 insertions(+), 96 deletions(-)
delete mode 100644 arch/ppc/include/asm/fsl_i2c.h
rename arch/ppc/mach-mpc85xx/include/mach/{clocks.h => clock.h} (91%)
create mode 100644 arch/ppc/mach-mpc85xx/include/mach/generic.h
More information about the barebox
mailing list