Skip to content
Commit 18854296 authored by Carlos Song's avatar Carlos Song Committed by Andi Shyti
Browse files

i2c: imx-lpi2c: add generic GPIO recovery for LPI2C



This adds i2c bus recovery to the lpi2c driver.

Uses the generic recovery function setting the SCL/SDA pads as
GPIO pins and sending 9 clocks to try and recover the bus.

Signed-off-by: default avatarCarlos Song <carlos.song@nxp.com>
Reviewed-by: default avatarClark Wang <xiaoning.wang@nxp.com>
Reviewed-by: default avatarDong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: default avatarAndi Shyti <andi.shyti@kernel.org>
parent 747bdf91
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