exynos5-dt: enable new CONFIG_SYS_I2C symbols
PATCH 1/2 exynos5-dt: enable new CONFIG_SYS_I2C symbols
This patch enables the new I2C framework for Exynos5-dt, Also removes HARD_I2C.
---
These patches were based on v6 version of patches adding support5yy for Exynos5420 on u-boot-samsung.git
https://patches.linaro.org/21255/
include/configs/VCMA9.h | 5 +++-- include/configs/arndale.h | 6 +++--- include/configs/exynos5-dt.h | 8 ++++---- 3 files changed, 10 insertions(+), 9 deletions(-)
include/configs/VCMA9.h +3 -2
@@ -73,12 +73,13 @@* the MPL VCMA9 is equipped with an ATMEL 24C256 EEPROM at * address 0x50 with 16bit addressing */ -#define CONFIG_HARD_I2C /* I2C with hardware support */ #define CONFIG_SYS_I2C_SPEED 100000/* I2C speed */ #define CONFIG_SYS_I2C_SLAVE 0x7F/* I2C slave addr */ /* we use the built-in I2C controller */ -#define CONFIG_DRIVER_S3C24X0_I2C +#define CONFIG_SYS_I2C_S3C24X0_I2C +#define CONFIG_SYS_NUM_I2C_ADAPTERS 1 +#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_EEPROM_ADDR 0x50#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2
include/configs/arndale.h +3 -3
@@ -216,14 +216,14 @@/* I2C */ #define CONFIG_SYS_I2C_INIT_BOARD -#define CONFIG_HARD_I2C #define CONFIG_CMD_I2C #define CONFIG_SYS_I2C_SPEED 100000/* 100 Kbps */ -#define CONFIG_DRIVER_S3C24X0_I2C -#define CONFIG_I2C_MULTI_BUS #define CONFIG_MAX_I2C_NUM 8#define CONFIG_SYS_I2C_SLAVE 0x0#define CONFIG_I2C_EDID +#define CONFIG_SYS_I2C_S3C24X0_I2C +#define CONFIG_SYS_NUM_I2C_ADAPTERS 8 +#define CONFIG_SYS_I2C /* PMIC */ #define CONFIG_PMIC
include/configs/exynos5-dt.h +4 -4
@@ -237,12 +237,12 @@/* I2C */ #define CONFIG_SYS_I2C_INIT_BOARD -#define CONFIG_HARD_I2C -#define CONFIG_CMD_I2C +#define CONFIG_SYS_I2C_S3C24X0_I2C #define CONFIG_SYS_I2C_SPEED 100000/* 100 Kbps */ -#define CONFIG_DRIVER_S3C24X0_I2C -#define CONFIG_I2C_MULTI_BUS #define CONFIG_SYS_I2C_SLAVE 0x0 +#define CONFIG_SYS_NUM_I2C_ADAPTERS 11 +#define CONFIG_SYS_I2C +#define CONFIG_CMD_I2C #define CONFIG_I2C_EDID /* SPI */
Signature · 1 line
1.7.10.4
PATCH 1/2 exynos5-dt: enable new CONFIG_SYS_I2C symbols
Hello Naveen,
Am 20.11.2013 11:47, schrieb Naveen Krishna Chatradhi:
Quoted 8 lines
This patch enables the new I2C framework for Exynos5-dt, Also removes
HARD_I2C.Signed-off-by Naveen Krishna Chatradhi<[email protected]>---
These patches were based on v6 version of patches adding support5yy for Exynos5420 on u-boot-samsung.git
Quoted 6 lines
https://patches.linaro.org/21255/
include/configs/VCMA9.h | 5 +++-- include/configs/arndale.h | 6 +++--- include/configs/exynos5-dt.h | 8 ++++---- 3 files changed, 10 insertions(+), 9 deletions(-)
Could you try the patches from Piotr Wilczek ?
[U-Boot,V2,1/2] driver:i2c:s3c24x0: adapt driver to new i2c
http://patchwork.ozlabs.org/patch/292705/
Thanks!
bye,
Heiko
Signature · 2 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
PATCH 1/2 exynos5-dt: enable new CONFIG_SYS_I2C symbols
Hello Heiko,
Quoted 20 lines · Heiko Schocher
Hello Naveen,
Am 20.11.2013 11:47, schrieb Naveen Krishna Chatradhi:
Quoted 8 lines
This patch enables the new I2C framework for Exynos5-dt, Also removes
HARD_I2C.Signed-off-by Naveen Krishna Chatradhi<[email protected]>---
These patches were based on v6 version of patches adding support5yy for Exynos5420 on u-boot-samsung.gitQuoted 6 lines
https://patches.linaro.org/21255/
include/configs/VCMA9.h | 5 +++-- include/configs/arndale.h | 6 +++--- include/configs/exynos5-dt.h | 8 ++++---- 3 files changed, 10 insertions(+), 9 deletions(-)
Quoted 4 lines
Could you try the patches from Piotr Wilczek ?
[U-Boot,V2,1/2] driver:i2c:s3c24x0: adapt driver to new i2c
http://patchwork.ozlabs.org/patch/292705/
I have not come across them. My bad.
Will go through his patches.
Quoted 8 lines
Thanks!
bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Signature · 2 lines
Shine bright, (: Nav :)