[U-Boot] [PATCH 0/8 V2] EXYNOS5: Enable I2C support

Rajeshwari Shinde rajeshwari.s at samsung.com
Thu Jun 7 08:09:46 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.

This patchset depends on the following patch:
"[U-Boot] [PATCH 1/2 V6] EXYNOS5: PINMUX: Added default pinumx settings"

Rajeshwari Shinde (8):
  EXYNOS: CLK: Add i2c clock
  EXYNOS: Add I2C base address.
  EXYNOS: PINMUX: Add pinmux support for I2C
  I2C: Move struct s3c24x0_i2c to a common place.
  I2C: S3C24X0: Add offset to calculate next i2c channel base address
  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      |    3 +
 arch/arm/include/asm/arch-exynos/periph.h   |    8 +
 arch/arm/include/asm/arch-s3c24x0/s3c24x0.h |   10 -
 drivers/i2c/s3c24x0_i2c.c                   |  281 ++++++++++++++++++++-------
 drivers/i2c/s3c24x0_i2c.h                   |   39 ++++
 include/configs/smdk5250.h                  |    8 +
 9 files changed, 352 insertions(+), 83 deletions(-)
 create mode 100644 drivers/i2c/s3c24x0_i2c.h

-- 
1.7.4.4



More information about the U-Boot mailing list