Skip to content
Commit aa54192d authored by Alexander Kochetkov's avatar Alexander Kochetkov Committed by Heiko Schocher
Browse files

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: default avatarAlexander Kochetkov <al.kochet@gmail.com>
parent df8dcac8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment