commit | dc96eb7a51ebd9968c4ce91d9cccd3586d1f2163 | [log] [tgz] |
---|---|---|
author | Alexander Kochetkov <al.kochet@gmail.com> | Tue Mar 27 17:52:27 2018 +0300 |
committer | Heiko Schocher <hs@denx.de> | Wed Apr 11 11:34:27 2018 +0200 |
tree | e2b398b763972d323b7bff25c800ac7dc4d85b2e | |
parent | 84fe291e6e55e4a38d0060f67e8b133e765acc31 [diff] |
dm: i2c: implement gpio-based I2C deblock The commit implement a gpio-based software deblocking. The code extract I2C pins description from device tree, switch pins to GPIO mode, toggle SCL until slave release SDA, send I2C stop and switch I2C pins back to I2C mode. Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com>