]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
i2c: soft_i2c: add simple GPIO implementation
authorMike Frysinger <vapier@gentoo.org>
Wed, 21 Jul 2010 17:38:02 +0000 (13:38 -0400)
committerHeiko Schocher <hs@denx.de>
Thu, 22 Jul 2010 06:03:47 +0000 (08:03 +0200)
commit793b5726f7e998c7cec93ea5ee7910dd6ddb1e5e
tree5568b9f089ea3ef901098741c964b3d7a5b65c6b
parent1f82ff4777f360e92aa37bbbed647f7b9d9d2044
i2c: soft_i2c: add simple GPIO implementation

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>
README
drivers/i2c/soft_i2c.c