From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Tue, 24 Apr 2012 11:11:29 +0200 Subject: [U-Boot] [PATCH] sh: i2c: Add support I2C controller of SH7734 In-Reply-To: <1330660595-11224-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> References: <1330660595-11224-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> Message-ID: <4F966E41.6050005@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Nobuhiro, Nobuhiro Iwamatsu wrote: > Renesas SH7734 has two I2C interfaceis. > This supports these I2C. > > V5: - include i2c.h. > - Add check of icsr bit polling logic. > - Implement i2c_probe. > V4: - Remove sh_i2c_dump_reg function. > - Use puts() when there's no format. > - Chnage check for I2C bus number. > - Remove space before the semi-colon. > V3: - Fix error for whitespace. > V2: - Changed bit control to use the clr|set|clrsetbits_* functions. > - Fix wrong comment style. > - Add new line before for loop in i2c_read. > > Signed-off-by: Nobuhiro Iwamatsu > Acked-by: Heiko Schocher > Signed-off-by: Nobuhiro Iwamatsu > --- > drivers/i2c/Makefile | 1 + > drivers/i2c/sh_sh7734_i2c.c | 387 +++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 388 insertions(+), 0 deletions(-) > create mode 100644 drivers/i2c/sh_sh7734_i2c.c Applied 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