From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Thu, 22 Jul 2010 10:51:19 +0800 Subject: [U-Boot] [PATCH 1/2 v2] i2c: soft_i2c: add simple GPIO implementation In-Reply-To: <1279733882-9614-1-git-send-email-vapier@gentoo.org> References: <1278319809-28569-1-git-send-email-vapier@gentoo.org> <1279733882-9614-1-git-send-email-vapier@gentoo.org> Message-ID: <4C47B227.6070208@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 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-by: Thomas Chou > --- > v2 > - stub out tristate/active by default and let the gpios handle things > in the sda/scl macros > Tested v2 on nios2 boards. Tested-by: Thomas Chou