]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c, omap24xx: add i2c deblock sequenz
authorHeiko Schocher <hs@denx.de>
Mon, 30 Jun 2014 07:12:09 +0000 (09:12 +0200)
committerHeiko Schocher <hs@denx.de>
Wed, 16 Jul 2014 03:18:55 +0000 (05:18 +0200)
commitf7c105353593907da7cbcb1590d5c1c616b7c91e
tree55ffae91f62c4039c9935e75ce8e0bbde542bb94
parent524123a70761110c5cf3ccc5f52f6d4da071b959
i2c, omap24xx: add i2c deblock sequenz

If a bus busy is detected when intializing the driver,
toggle 9 times the scl pin. Therefore enable the test mode
of the controller, in which the scl, sda pins can be
controlled manually.

Tested on the siemens boards pxm2, rut and dxr2.

Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Tom Rini <trini@ti.com>
Cc: Hannes Petermaier <oe5hpm@oevsv.at>
Cc: Lubomir Popov <lpopov@mm-sol.com>
Cc: Steve Sakoman <steve@sakoman.com>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Cc: Vincent Stehlé <v-stehle@ti.com>
Cc: Samuel Egli <samuel.egli@siemens.com>
drivers/i2c/omap24xx_i2c.c