
Hello Peng,
Am 28.05.2018 um 14:25 schrieb Peng Fan:
From: Ye Li ye.li@nxp.com
When doing "i2c dev 4; i2c probe" with ENET daughter card connected on iMX8QXP MEK board, we met a i2c bus busy issue, that the BBF of lpi2c always show busy, but the master is idle, and stop is detected (SDF set).
This patch addes a handling to re-init the lpi2c master for this case. Then the issue can be worked around.
Signed-off-by: Ye Li ye.li@nxp.com Acked-by: Peng Fan peng.fan@nxp.com Cc: Heiko Schocher hs@denx.de
drivers/i2c/imx_lpi2c.c | 53 +++++++++++++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 21 deletions(-)
I have no such hardware, but the question is why is this bus busy shown?
Nevertheless, trying to re init a busy bus, before ginving up, seems a good attempt to me.
Reviewed-by: Heiko Schocher hs@denx.de
bye, Heiko