[U-Boot] [PATCH] sh: i2c: Add support I2C controller of SH7734

Heiko Schocher hs at denx.de
Tue Apr 24 11:11:29 CEST 2012


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 <nobuhiro.iwamatsu.yj at renesas.com>
> Acked-by: Heiko Schocher <hs at denx.de>
> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
> ---
>  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



More information about the U-Boot mailing list