[U-Boot] [PATCH v2] i2c: samsung: register i2c busses for Exynso5420 and Exynos5250

2013-12-05 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Ch This patch adds the U_BOOT_I2C_ADAP_COMPLETE defines for channels on Exynos5420 and Exynos5250 and also adds support for init function for hsi2c channels Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: 1. Fix compiler error for trats board pointed by Heiko

[U-Boot] [PATCH] drivers:power:exynos-tmu: add support for Exynos5260

2013-11-26 Thread Naveen Krishna Chatradhi
This patch adds support for TMU on Exynos5260 Register bit fields are little different from the previous versions. Change-Id: Ibe835abe9cb255d2f8375c8e9e32d32cff19c093 Signed-off-by: Naveen Krishna Chatradhi --- arch/arm/include/asm/arch-exynos/tmu.h | 11 +++ drivers/power/exynos

[U-Boot] [PATCH] i2c: samsung: register i2c busses for Exynso5420 and Exynos5250

2013-11-25 Thread Naveen Krishna Chatradhi
This patch adds the U_BOOT_I2C_ADAP_COMPLETE defines for channels on Exynos5420 and Exynos5250 and also adds support for init function for hsi2c channels Signed-off-by: Naveen Krishna Chatradhi --- README|6 ++ drivers/i2c/s3c24x0_i2c.c | 222

[U-Boot] [PATCH] driver: i2c:s3c24x0: init each channel during probe

2013-11-22 Thread Naveen Krishna Chatradhi
Each I2C channel must be inited during the probe and then set "active" instead of initing the channel for every time we select the bus using "i2c dev bus" Signed-off-by: Naveen Krishna Chatradhi --- drivers/i2c/s3c24x0_i2c.c | 29 + 1 file ch

[U-Boot] [PATCH 2/2 v2] samsung: i2c: Enable new CONFIG_SYS_I2C framework

2013-11-20 Thread Naveen Krishna Chatradhi
This enables CONFIG_SYS_I2C on Samsung, updating existing s3c24x0 i2c driver to support this. Signed-off-by: Naveen Krishna Chatradhi --- These patches were tested on SMDK5420 patches adding Exynos5420 support can be found at. https://patches.linaro.org/21255/ Changes since v1: 1. Implemented

[U-Boot] [PATCH 1/2] exynos5-dt: enable new CONFIG_SYS_I2C symbols

2013-11-20 Thread Naveen Krishna Chatradhi
This patch enables the new I2C framework for Exynos5-dt, Also removes HARD_I2C. Signed-off-by: Naveen Krishna Chatradhi --- 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

[U-Boot] [PATCH 3/3 v7] i2c: s3c24xx: add hsi2c controller support

2013-10-15 Thread Naveen Krishna Chatradhi
Add support for hsi2c controller available on exynos5420. Note: driver currently supports only fast speed mode 100kbps Change-Id: I02555b1dc8f4ac21c50aa5158179768563c92f43 Signed-off-by: Naveen Krishna Chatradhi Signed-off-by: Vadim Bendebury Signed-off-by: R. Chandrasekar --- Changes since

[U-Boot] [PATCH 2/3 v4] exynos: i2c: Change FDT bus setup code to enumerate ports correctly

2013-10-15 Thread Naveen Krishna Chatradhi
must check the whole array. Note: it seems that non-FDT operation is now broken in this drive and will need to be reinstated for upstream. Signed-off-by: Simon Glass Reviewed-on: https://gerrit.chromium.org/gerrit/59369 Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: Nonei C

[U-Boot] [PATCH 1/3 v4] exynos: i2c: Fix i2c driver to handle NACKs properly

2013-10-15 Thread Naveen Krishna Chatradhi
Krishna Chatradhi --- Changes since v1: Fixed complilation warning in function i2c_init() Changes since v2: None Changes since v3: None; ran # ./MAKEALL -v samsung drivers/i2c/s3c24x0_i2c.c | 214 +++-- 1 file changed, 90 insertions(+), 124 deletions(-) diff

[U-Boot] [PATCH 3/3 v6] i2c: s3c24xx: add hsi2c controller support

2013-10-14 Thread Naveen Krishna Chatradhi
Add support for hsi2c controller available on exynos5420. Note: driver currently supports only fast speed mode 100kbps Change-Id: I02555b1dc8f4ac21c50aa5158179768563c92f43 Signed-off-by: Naveen Krishna Chatradhi Signed-off-by: R. Chandrasekar --- Changes since v5: Fix compilation errors

[U-Boot] [PATCH 2/3 v3] exynos: i2c: Change FDT bus setup code to enumerate ports correctly

2013-10-14 Thread Naveen Krishna Chatradhi
must check the whole array. Note: it seems that non-FDT operation is now broken in this drive and will need to be reinstated for upstream. Signed-off-by: Simon Glass Reviewed-on: https://gerrit.chromium.org/gerrit/59369 Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: Nonei C

[U-Boot] [PATCH 1/3 v3] exynos: i2c: Fix i2c driver to handle NACKs properly

2013-10-14 Thread Naveen Krishna Chatradhi
Krishna Chatradhi --- Changes since v1: Fixed complilation warning in function i2c_init() Changes since v2: None drivers/i2c/s3c24x0_i2c.c | 214 +++-- 1 file changed, 90 insertions(+), 124 deletions(-) diff --git a/drivers/i2c/s3c24x0_i2c.c b/drivers/i2c

[U-Boot] [PATCH 3/3 v2]: i2c: s3c24xx: add hsi2c controller support

2013-10-03 Thread Naveen Krishna Chatradhi
Add support for hsi2c controller available on exynos5420. Note: driver currently supports only fast speed mode 100kbps Change-Id: I02555b1dc8f4ac21c50aa5158179768563c92f43 Signed-off-by: Naveen Krishna Chatradhi Signed-off-by: R. Chandrasekar --- drivers/i2c/s3c24x0_i2c.c | 617

[U-Boot] [PATCH 2/3 v2] exynos: i2c: Change FDT bus setup code to enumerate ports correctly

2013-10-03 Thread Naveen Krishna Chatradhi
must check the whole array. Note: it seems that non-FDT operation is now broken in this drive and will need to be reinstated for upstream. Signed-off-by: Simon Glass Reviewed-on: https://gerrit.chromium.org/gerrit/59369 Signed-off-by: Naveen Krishna Chatradhi --- drivers/i2c/s3c24

[U-Boot] [PATCH 1/3 v2] exynos: i2c: Fix i2c driver to handle NACKs properly

2013-10-03 Thread Naveen Krishna Chatradhi
Krishna Chatradhi --- Changes since v1: 1. Removed the compilation error mentioned by Heiko for VCMA9 board... drivers/i2c/s3c24x0_i2c.c | 214 +++-- 1 file changed, 90 insertions(+), 124 deletions(-) diff --git a/drivers/i2c/s3c24x0_i2c.c b/drivers/i2c

[U-Boot] [PATCH 2/4] exynos: i2c: Change FDT bus setup code to enumerate ports correctly

2013-09-30 Thread Naveen Krishna Chatradhi
must check the whole array. Note: it seems that non-FDT operation is now broken in this drive and will need to be reinstated for upstream. Signed-off-by: Simon Glass Reviewed-on: https://gerrit.chromium.org/gerrit/59369 Signed-off-by: Naveen Krishna Chatradhi --- drivers/i2c/s3c24

[U-Boot] [PATCH v5 3/4] i2c: s3c24xx: add hsi2c controller support

2013-09-30 Thread Naveen Krishna Chatradhi
Add support for hsi2c controller available on exynos5420. Note: driver currently supports only fast speed mode 100kbps Change-Id: I02555b1dc8f4ac21c50aa5158179768563c92f43 Signed-off-by: Naveen Krishna Chatradhi Signed-off-by: R. Chandrasekar --- drivers/i2c/s3c24x0_i2c.c | 612

[U-Boot] [PATCH 1/4] exynos: i2c: Fix i2c driver to handle NACKs properly

2013-09-30 Thread Naveen Krishna Chatradhi
Krishna Chatradhi --- drivers/i2c/s3c24x0_i2c.c | 213 +++-- 1 file changed, 89 insertions(+), 124 deletions(-) diff --git a/drivers/i2c/s3c24x0_i2c.c b/drivers/i2c/s3c24x0_i2c.c index cd09c78..b69da54 100644 --- a/drivers/i2c/s3c24x0_i2c.c +++ b/drivers/i2c

[U-Boot] [PATCH] RFC: samsung: i2c: Enable new CONFIG_SYS_I2C framework

2013-09-30 Thread Naveen Krishna Chatradhi
This enables CONFIG_SYS_I2C on Samsung, updating existing s3c24x0 i2c driver to support this. Note: Not for merge, Just for review and suggestions. Signed-off-by: Naveen Krishna Chatradhi --- drivers/i2c/Makefile |2 +- drivers/i2c/s3c24x0_i2c.c | 156

[U-Boot] [PATCH 0/3] i2c: improve s3c24x0 with High-speed and new SYS_I2C framework support

2013-09-30 Thread Naveen Krishna Chatradhi
he board_i2c_init(), i2c_get_bus_num_fdt(), i2c_reset_port_fdt(). "Functions to get the I2C bus number and reset I2C bus using FDT node" I think, these functions are still needed. Kindly, help me with the above questions. I'm willing to implement the new i2c frame work.

[U-Boot] [PATCH] fdtdec: Add compatible string for High speed i2c

2013-04-29 Thread Naveen Krishna Chatradhi
Adds a new COMPAT string exynos5-hsi2c for high speed i2c controller available on exynos5 SoCs from Samsung. Signed-off-by: Naveen Krishna Chatradhi --- This patch is required for the following change http://lists.denx.de/pipermail/u-boot/2013-April/151886.html and fixes the following issue

[U-Boot] [PATCH v4] i2c: s3c24xx: add hsi2c controller support

2013-04-05 Thread Naveen Krishna Chatradhi
Add support for hsi2c controller available on exynos5420. Note: driver currently supports only fast speed mode 100kbps Change-Id: I02555b1dc8f4ac21c50aa5158179768563c92f43 Signed-off-by: Naveen Krishna Chatradhi Signed-off-by: R. Chandrasekar Reviewed-by: Vadim Bendebury Reviewed-by: Simon

[U-Boot] [PATCH 2/2] power: exynos-tmu: use the mux_addr bit fields in tmu_control register

2013-04-05 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Chatradhi This patch implements the mux_addr bit fields defined in tmu_control register (used for debugging purpose) Signed-off-by: Naveen Krishna Chatradhi Reviewed-by: Vadim Bendebury --- drivers/power/exynos-tmu.c | 11 ++- 1 file changed, 10 insertions

[U-Boot] [PATCH 1/2] power: exynos-tmu: fix warnings and clean up code

2013-04-05 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Chatradhi This patch does the folowing 1. change the data types for unsigned int variable to unsigned 2. change the tmu_base type to struct exynos5_tmu_reg * 3. Add timer functionality for get_cur_temp() 4. error handling in the get_tmu_fdt_values() 5. Add check for

[U-Boot] [PATCH] i2c: s3c24xx: add hsi2c controller support

2013-03-12 Thread Naveen Krishna Chatradhi
Add support for hsi2c controller available on exynos5420. Note: driver currently supports only fast speed mode 100kbps Signed-off-by: Naveen Krishna Chatradhi Signed-off-by: R. Chandrasekar --- drivers/i2c/s3c24x0_i2c.c | 389 ++--- drivers/i2c