Skip to contentSkip to conversation

board:universal: fix i2c adapter

PATCH In review Piotr Wilczek 3 participants 4 messages Jan 14, 2014 – Jan 20, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 board:universal: fix i2c adapter

Universal uses only one adapter I2C_0.

---
 board/samsung/universal_c210/universal.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/samsung/universal_c210/universal.c +1 -1
index 54d0e1e..3feef3f 100644
@@ -49,7 +49,7 @@ int power_init_board(void)
 	 * For PMIC the I2C bus is named as I2C5, but it is connected
 	 * to logical I2C adapter 0
 	 */
-	ret = pmic_init(I2C_5);
+	ret = pmic_init(I2C_0);
 	if (ret)
 		return ret;
 
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 board:universal: fix i2c adapter

Hi,

Quoted 14 lines · Piotr Wilczek

Universal uses only one adapter I2C_0.

---
  board/samsung/universal_c210/universal.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
board/samsung/universal_c210/universal.c +0 -0
index 54d0e1e..3feef3f 100644

board/samsung/universal_c210/universal.c int power_init_board(void) · line 55

Quoted 8 lines
board/samsung/universal_c210/universal.c +1 -1
@@ -49,7 +49,7 @@ int power_init_board(void)
  	 * For PMIC the I2C bus is named as I2C5, but it is connected
  	 * to logical I2C adapter 0
  	 */
-	ret = pmic_init(I2C_5);
+	ret = pmic_init(I2C_0);
  	if (ret)
  		return ret;
 

Thank you,

Signature · 4 lines
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com
#2 lore raw

PATCH 1/1 board:universal: fix i2c adapter

Hello Tom,

Quoted 29 lines · Przemyslaw Marczak

Hi,

Quoted 15 lines · Piotr Wilczek

Universal uses only one adapter I2C_0.

---
  board/samsung/universal_c210/universal.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
board/samsung/universal_c210/universal.c +0 -0
index 54d0e1e..3feef3f 100644

board/samsung/universal_c210/universal.c int power_init_board(void) · line 55

Quoted 8 lines
board/samsung/universal_c210/universal.c +1 -1
@@ -49,7 +49,7 @@ int power_init_board(void)
       * For PMIC the I2C bus is named as I2C5, but it is connected
       * to logical I2C adapter 0
       */
-    ret = pmic_init(I2C_5);
+    ret = pmic_init(I2C_0);
      if (ret)
          return ret;
 
Quoted 1 line

Thank you,

This patch was missed, could you please apply this to the release?

Thank you,

Signature · 4 lines
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com
#3 lore raw
In reply to Piotr Wilczek
Quoted 5 lines · Piotr Wilczek

Universal uses only one adapter I2C_0.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140120/10705d55/attachment.pgp>