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