
6 Jul
2010
6 Jul
'10
8:21 a.m.
On 07/05/2010 04:50 PM, Mike Frysinger wrote:
Since the vast majority of GPIO I2C implementations behave the same way, support the common GPIO framework with default settings.
This adds two new defines CONFIG_SOFT_I2C_GPIO_{SCL,SDA} so that boards which want GPIO I2C support need only define these.
Signed-off-by: Mike Frysingervapier@gentoo.org
Tested on my nios2 boards after additional patch "i2c: fix SDA contention in read_byte()".
Tested-by: Thomas Chou thomas@wytron.com.tw
Cheers, Thomas