commit | fb906daf730a433b982db31993c3495e670edf0e | [log] [tgz] |
---|---|---|
author | Mo Elbadry <elbadrym@google.com> | Wed Mar 12 18:22:30 2025 +0000 |
committer | Mo Elbadry <elbadrym@google.com> | Thu Mar 27 16:11:03 2025 -0700 |
tree | bcfafbd3303e556250e43a6b741103c402c657d8 | |
parent | 14e9e85b8546d63899bb70fa33a9f8fdf1925047 [diff] |
linux-gbmc(npcm): i2c: Add clock toggle recovery During init of the bus, the module checks that the bus is idle. If one of the lines are stuck try to recover them first before failing. Sometimes SDA and SCL are low if improper reset occurs (e.g., reboot). Upstream-process: https://patchwork.ozlabs.org/project/linux-i2c/patch/20250327193816.670658-1-mohammed.0.elbadry@gmail.com/ Tested: Repeated hardware lockup and can see bus recovering. Google-Bug-Id: 392117920 Change-Id: I9fc2671c89c88bf849177f0855888694b984f3ea Signed-off-by: Mo Elbadry <elbadrym@google.com>