]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ppc4xx: Handle i2c stuck on combined xfer
authorDirk Eibach <dirk.eibach@gdsys.cc>
Wed, 29 Oct 2014 14:56:44 +0000 (15:56 +0100)
committerHeiko Schocher <hs@denx.de>
Mon, 10 Nov 2014 05:44:30 +0000 (06:44 +0100)
commitb97cd6814ec08be56225975a050ee486bfa7c13a
treed62bf2d70db726db65020427cbcb793c5bd2f5aa
parent7e78f7ad7f7f666598bc2ff115ea7a35f8e059f1
ppc4xx: Handle i2c stuck on combined xfer

ppc4xx i2c master gets stuck on errors while repeated start is
active. Can be easily reproduced by "i2c md" on an unpopulated
i2c address. There is not stop condition given, scl remains
pulled low.
The only way out seems to be doing a stop manually and then a
soft reset.

Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/powerpc/include/asm/ppc4xx-i2c.h
drivers/i2c/ppc4xx_i2c.c