diff options
author | Fugang Duan <b38611@freescale.com> | 2014-08-11 15:14:50 +0800 |
---|---|---|
committer | Peng Fan <Peng.Fan@freescale.com> | 2015-04-29 14:43:24 +0800 |
commit | b8dcb812401026cb2189b24a4f6058830151c85a (patch) | |
tree | 58894acf22d7dfdb9201f34c21b19d13945a8b48 /common/cmd_zip.c | |
parent | 07f0c8f5426c39082a6eca65c2178775314c581a (diff) | |
download | u-boot-imx-b8dcb812401026cb2189b24a4f6058830151c85a.zip u-boot-imx-b8dcb812401026cb2189b24a4f6058830151c85a.tar.gz u-boot-imx-b8dcb812401026cb2189b24a4f6058830151c85a.tar.bz2 |
ENGR00328312 i2c: imx: Optimize the i2c device recovery solution
From i2c spec, if device pull down the SDA line that causes
i2c bus dead, host can send out 9 clock to let device release
SDA.
But for some special device like pfuze100, it pull down SDA line
and the solution cannot take effort.
The patch just add NACK and STOP signal after 8 dummy clock, and pmic
can release SDA line after the recovery. Test case catch 375 times of
i2c hang, and all are recovered.
Signed-off-by: Fugang Duan <B38611@freescale.com>
(cherry picked from commit 53118db42d201d36ca9067b4bb0e2702399e100b)
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'common/cmd_zip.c')
0 files changed, 0 insertions, 0 deletions