Skip to content
Snippets Groups Projects
user avatar
Zhang Ying-22455 authored
Based on the I2C specification, if the data line (SDA) is stuck low,
the master should send nine clock pulses. The I2C slave device that
held the bus low should release it sometime within those nine clocks.

Because pinctrl is not supported on Layerscape, current bus recovery
is not avalible for Layerscape. This patch uses an open drain GPIO
pin to connect to the IICx_SCL to drive nine clock pulses to unlock
the I2C bus.

Signed-off-by: default avatarZhang Ying-22455 <ying.zhang22455@nxp.com>
Reviewed-by: default avatarClark Wang <xiaoning.wang@nxp.com>
Signed-off-by: default avatarBiwen Li <biwen.li@nxp.com>
1e13b246
Name Last commit Last update
..