[U-Boot] question about software i2c multi instance

Bo Shen voice.shen at atmel.com
Fri Mar 20 10:44:12 CET 2015


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.
   So, if want to support multi instances, it needs to extend the GPIO 
configuration for SCL/SDA, am I right?

   Thanks.

Best Regards,
Bo Shen


More information about the U-Boot mailing list