]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sh: i2c: Add support I2C controller of SH7734
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Thu, 1 Mar 2012 17:56:35 +0000 (17:56 +0000)
committerHeiko Schocher <hs@denx.de>
Tue, 24 Apr 2012 07:40:04 +0000 (09:40 +0200)
commit2d344a2ab27d8704efd09088ee00be194b3556eb
treeba6728686cbe50feff296a1af8fe97a5cd388009
parent61ddce07f8b96c5df7d00466b4da9edaecb0eff1
sh: i2c: Add support I2C controller of SH7734

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>
Acked-by: Mike Frysinger <vapier@gentoo.org>
drivers/i2c/Makefile
drivers/i2c/sh_sh7734_i2c.c [new file with mode: 0644]