Re: [U-Boot] question about software i2c multi instance

2015-03-23 Thread Bo Shen
Hi Przemyslaw Marczak, On 03/23/2015 04:47 PM, Przemyslaw Marczak wrote: Please look into the Trats2 board code in: board/samsung/trats2/trats2.c lines 130-145 include/configs/trats2.h lines 180-185 It doesn't require i2c driver modifications. But anyway I recommend to use the code of my pa

Re: [U-Boot] question about software i2c multi instance

2015-03-23 Thread Przemyslaw Marczak
Hello Bo, On 03/23/2015 09:36 AM, Bo Shen wrote: Hi Lukasz, On 03/23/2015 04:28 PM, Lukasz Majewski wrote: Hi Bo, Hi Heiko, After check the software i2c code, I found it can not support multi instances, although it has I2C_SOFT_DECLARATIONS2, I2C_SOFT_DECLARATIONS3, I2C_SOFT_DECLARATION

Re: [U-Boot] question about software i2c multi instance

2015-03-23 Thread Bo Shen
Hi Lukasz, On 03/23/2015 04:28 PM, Lukasz Majewski wrote: Hi Bo, Hi Heiko, After check the software i2c code, I found it can not support multi instances, although it has I2C_SOFT_DECLARATIONS2, I2C_SOFT_DECLARATIONS3, I2C_SOFT_DECLARATIONS4. Because, when do GPIO operation, there is on

Re: [U-Boot] question about software i2c multi instance

2015-03-23 Thread Lukasz Majewski
Hi Bo, > Hi Heiko, >After check the software i2c code, I found it can not support > multi instances, although it has I2C_SOFT_DECLARATIONS2, > I2C_SOFT_DECLARATIONS3, I2C_SOFT_DECLARATIONS4. >Because, when do GPIO operation, there is only one pair of > CONFIG_SOFT_I2C_GPIO_SCL and CONFIG

Re: [U-Boot] question about software i2c multi instance

2015-03-22 Thread Bo Shen
Hi Heiko, On 03/20/2015 06:10 PM, Heiko Schocher wrote: Hello Bo, Am 20.03.2015 10:44, schrieb Bo Shen: Hi Heiko, After check the software i2c code, I found it can not support multi instances, although it has I2C_SOFT_DECLARATIONS2, I2C_SOFT_DECLARATIONS3, I2C_SOFT_DECLARATIONS4. Because

Re: [U-Boot] question about software i2c multi instance

2015-03-20 Thread Heiko Schocher
Hello Bo, Am 20.03.2015 10:44, schrieb Bo Shen: Hi Heiko, After check the software i2c code, I found it can not support multi instances, although it has I2C_SOFT_DECLARATIONS2, I2C_SOFT_DECLARATIONS3, I2C_SOFT_DECLARATIONS4. Because, when do GPIO operation, there is only one pair of CON

[U-Boot] question about software i2c multi instance

2015-03-20 Thread Bo Shen
Hi Heiko, After check the software i2c code, I found it can not support multi instances, although it has I2C_SOFT_DECLARATIONS2, I2C_SOFT_DECLARATIONS3, I2C_SOFT_DECLARATIONS4. Because, when do GPIO operation, there is only one pair of CONFIG_SOFT_I2C_GPIO_SCL and CONFIG_SOFT_I2C_GPIO_SDA.