[U-Boot] [PATCH 0/6 V4] EXYNOS5: FDT Support for I2C

Rajeshwari Shinde rajeshwari.s at samsung.com
Thu Nov 29 08:09:45 CET 2012


This patch set adds FDT support for I2C driver and
API's to acess the bus number using the fdt node
and also reset the port.

Changes in V2:
        - Baord i2c init moved to I2C driver in case of FDT.
        - Added Periph id to device node.
        - Modified i2c_get_bus_num_fdt api to compare using
          node.
Changes in V3:
        - Peripheral id removed from dtsi file and decoded
        based on interrupts.
        - API for fdtdec_lookup removed as it is already present
        as fd_dec_lookup.
Changes in V4:
	- renamed decode_peripheral_id to pinmux_decode_peripheral_id.
	- added comments in periph.h as suggested by Simon Glass. 

Rajeshwari Shinde (6):
  EXYNOS5: FDT: Add I2C device node data
  EXYNOS5 : FDT: Add Aliases for I2C device
  EXYNOS5: FDT: Add compatible string for I2C
  EXYNOS5: FDT : Decode peripheral id
  I2C: Driver changes for FDT support
  SMDK5250: Initialise I2C using FDT

 arch/arm/cpu/armv7/exynos/pinmux.c        |   28 ++++++++++
 arch/arm/dts/exynos5250.dtsi              |   64 ++++++++++++++++++++++
 arch/arm/include/asm/arch-exynos/periph.h |   31 ++++++-----
 arch/arm/include/asm/arch-exynos/pinmux.h |    8 +++
 board/samsung/dts/exynos5250-smdk5250.dts |   11 ++++
 board/samsung/smdk5250/smdk5250.c         |   20 +-------
 drivers/i2c/s3c24x0_i2c.c                 |   83 ++++++++++++++++++++++++++++-
 drivers/i2c/s3c24x0_i2c.h                 |    8 +++
 include/fdtdec.h                          |    1 +
 include/i2c.h                             |   26 +++++++++
 lib/fdtdec.c                              |    1 +
 11 files changed, 248 insertions(+), 33 deletions(-)

-- 
1.7.4.4



More information about the U-Boot mailing list