From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Tue, 06 Jul 2010 14:21:12 +0800 Subject: [U-Boot] [PATCH 1/2] i2c: soft_i2c: add simple GPIO implementation In-Reply-To: <1278319809-28569-1-git-send-email-vapier@gentoo.org> References: <1278319809-28569-1-git-send-email-vapier@gentoo.org> Message-ID: <4C32CB58.10905@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Tested on my nios2 boards after additional patch "i2c: fix SDA contention in read_byte()". Tested-by: Thomas Chou Cheers, Thomas