
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. Rajeshwari Shinde (6): EXYNOS5: FDT: Add I2C device node data EXYNOS5 : FDT: Add Aliases for I2C device EXYNOS5: FDT: Add compatible string for I2C FDT: Api to find compatible id for a given node I2C: Driver changes for FDT support SMDK5250: Initialise I2C using FDT
arch/arm/dts/exynos-periph-id.dtsi | 35 +++++++++++ arch/arm/dts/exynos5250.dtsi | 73 +++++++++++++++++++++++ board/samsung/dts/exynos5250-smdk5250.dts | 11 ++++ board/samsung/smdk5250/smdk5250.c | 20 +------ drivers/i2c/s3c24x0_i2c.c | 90 ++++++++++++++++++++++++++++- drivers/i2c/s3c24x0_i2c.h | 8 +++ include/fdtdec.h | 15 +++++ include/i2c.h | 26 ++++++++ lib/fdtdec.c | 13 ++++ 9 files changed, 271 insertions(+), 20 deletions(-) create mode 100644 arch/arm/dts/exynos-periph-id.dtsi