[U-Boot] [PATCH 0/8 V7] EXYNOS5: Enable I2C support
Rajeshwari Shinde
rajeshwari.s at samsung.com
Tue Jul 24 09:23:47 CEST 2012
This patch set enables I2C support for EXYNOS5.
This patchset modifies the s3c24x0 I2C driver to use same for EXYNOS5.
Multichannel support has been added to the s3c24x0 I2C driver.
s3c24x0_i2c struct has been moved to a common place as it can used
by different SOC's.
Changes in V2:
- Incorporated review comments from Simon Glass.
- Aligned the pinmux functionality as per latest comments
Changes in V3:
- Incorporated review comments from Joonyoung Shim for
I2C driver.
Changes in V4:
- Resolved build error for S3C2410.
Changes in V5:
- Pinmux setting moved to board file.
- Multi Bus I2C offset calculation done based on
EXYNOS_I2C_SPACE.
- Peripheral id calculation removed from i2c driver.
Changes in V6:
- Incorporated review comments from Simon Glass.
Changes in V7:
- Incorporated review comments from Joonyoung Shim.
Rajeshwari Shinde (8):
EXYNOS: CLK: Add i2c clock
EXYNOS: Add I2C base address.
EXYNOS5: define EXYNOS5_I2C_SPACING
EXYNOS: PINMUX: Add pinmux support for I2C
I2C: Move struct s3c24x0_i2c to a common place.
I2C: Modify the I2C driver for EXYNOS5
I2C: Add support for Multi channel
CONFIG: SMDK5250: I2C: Enable I2C
arch/arm/cpu/armv7/exynos/clock.c | 33 ++++
arch/arm/cpu/armv7/exynos/pinmux.c | 52 +++++++
arch/arm/include/asm/arch-exynos/clk.h | 1 +
arch/arm/include/asm/arch-exynos/cpu.h | 5 +
arch/arm/include/asm/arch-exynos/periph.h | 8 +
arch/arm/include/asm/arch-s3c24x0/s3c24x0.h | 10 --
board/samsung/smdk5250/smdk5250.c | 30 ++++-
drivers/i2c/s3c24x0_i2c.c | 221 +++++++++++++++++---------
drivers/i2c/s3c24x0_i2c.h | 33 ++++
include/configs/smdk5250.h | 10 ++
10 files changed, 315 insertions(+), 88 deletions(-)
create mode 100644 drivers/i2c/s3c24x0_i2c.h
--
1.7.4.4
More information about the U-Boot
mailing list