[U-Boot] [PATCH 1/2] i2c: soft_i2c: add simple GPIO implementation

Thomas Chou thomas at wytron.com.tw
Tue Jul 6 08:21:12 CEST 2010


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 Frysinger<vapier at gentoo.org>

Tested on my nios2 boards after additional patch "i2c: fix SDA 
contention in read_byte()".

Tested-by: Thomas Chou <thomas at wytron.com.tw>

Cheers,
Thomas


More information about the U-Boot mailing list