[U-Boot] [PATCH] i2c:gpio:s5p: I2C GPIO Software implementation

Mike Frysinger vapier at gentoo.org
Tue Jul 5 19:47:00 CEST 2011


On Tuesday, July 05, 2011 08:23:41 Lukasz Majewski wrote:
> This commit adds I2C software support for Samsung's S5PC110
> family of processors.
> The generic drivers/i2c/soft_i2c framework is used, with
> routines provided by this commit.

if you simply implemented the generic gpio layer (asm/gpio.h), the soft_i2c.c 
code already handles gluing to GPIO pins.  then you wouldnt need a sep driver 
at all.  you can see the bf561-ezkit already using this code.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110705/159c7af5/attachment-0001.pgp 


More information about the U-Boot mailing list