[U-Boot] [PATCH v2 0/9] arm:exynos4: Enable Multi I2C

Piotr Wilczek p.wilczek at samsung.com
Mon Oct 22 09:21:14 CEST 2012


This patchset enables both software and hardware I2C support for Exynos 4.
New multi_i2c driver is added to support simultaneous use of hardware
and software I2C drivers.
The s3c24x0_i2c driver is modified to use for for both Exynos 4 and Exynos 5.
Both s3c24x0_i2c and soft_i2c drivers are modified so can be used separetly
(only hardware or only software) or can be used simultaneously.
Pinmux setting and clock is add for Exynos4 to support hardware I2C.

This patchset depends on the following patchset:
http://patchwork.ozlabs.org/patch/192742/
http://patchwork.ozlabs.org/patch/192743/
http://patchwork.ozlabs.org/patch/192744/
...
http://patchwork.ozlabs.org/patch/192765/

Changes in v2:
	- added multi_i2c driver;
	- modified s3c24x0_i2c driver
	- modified soft_i2c driver
	- modified exynos4_get_i2c_clk function;

Piotr Wilczek (9):
  exynos:clock: Add i2c clock
  exynos:cpu: Add Exynos4 I2C spacing
  exynos:pinmux: Add pinmux support for i2c
  drivers:i2c: Modify I2C driver for Exynos4
  drivers:i2c: Add support for multi I2C
  driver:i2c: Modify Soft I2C driver for Multi-I2C
  driver:i2c: Modify s3c24x0_i2c driver for Multi-I2C
  drivers:i2c: modify I2C header for Multi-I2C
  arm:trats: Use Multi-I2C on Trarts board

 arch/arm/cpu/armv7/exynos/clock.c      |   17 +++++
 arch/arm/cpu/armv7/exynos/pinmux.c     |   51 +++++++++++++
 arch/arm/include/asm/arch-exynos/cpu.h |    2 +
 board/samsung/trats/trats.c            |   35 +++++++++-
 drivers/i2c/Makefile                   |    1 +
 drivers/i2c/multi_i2c.c                |  124 ++++++++++++++++++++++++++++++++
 drivers/i2c/s3c24x0_i2c.c              |   89 +++++++++++++++++++----
 drivers/i2c/soft_i2c.c                 |   60 ++++++++++++++--
 include/configs/trats.h                |    9 ++-
 include/i2c.h                          |   11 +++
 include/multi_i2c.h                    |   62 ++++++++++++++++
 11 files changed, 439 insertions(+), 22 deletions(-)
 create mode 100644 drivers/i2c/multi_i2c.c
 create mode 100644 include/multi_i2c.h

-- 
1.7.5.4



More information about the U-Boot mailing list