This patch set introduces the Freescale I2C driver. It is tested on the P2020RDB board using i2c devices(8-bit and 16-bit) found on both SOC buses. A function is also added to the mpc85xx architecture to return the system frequency used to calculate the i2c frequency bus divider. Renaud Barbier (3): mpc85xx: i2c frequency Freescale I2C driver ppc: p2020rdb i2c support arch/ppc/boards/freescale-p2020rdb/p2020rdb.c | 20 ++- arch/ppc/configs/p2020rdb_defconfig | 3 + arch/ppc/include/asm/fsl_i2c.h | 80 +++---- arch/ppc/mach-mpc85xx/include/mach/clocks.h | 1 + arch/ppc/mach-mpc85xx/speed.c | 9 + drivers/i2c/busses/Kconfig | 4 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-fsl.c | 356 +++++++++++++++++++++++++ 8 files changed, 425 insertions(+), 49 deletions(-) create mode 100644 drivers/i2c/busses/i2c-fsl.c _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox