
24 Jul
2010
24 Jul
'10
7:52 a.m.
Hello Mike,
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@gentoo.org Tested-by: Thomas Chou thomas@wytron.com.tw
v2
- stub out tristate/active by default and let the gpios handle things in the sda/scl macros
README | 10 +++++++++ drivers/i2c/soft_i2c.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 0 deletions(-)
Apllied to u-boot-i2c.git
Thanks.
bye Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany