mbox series

[v1,0/1] i2c: npcm: Add clock toggle in case of stuck bus during init

Message ID 20250324203233.1266772-1-mohammed.0.elbadry@gmail.com
Headers show
Series i2c: npcm: Add clock toggle in case of stuck bus during init | expand

Message

mohammed.0.elbadry@gmail.com March 24, 2025, 8:32 p.m. UTC
From: Tali Perry <tali.perry1@gmail.com>

Hi,

During init of the bus, the module checks that the bus is idle.
If one of the lines are stuck try to toggle them first.

Fixes: 76487532f797 (i2c: npcm: Add slave enable/disable function)
Signed-off-by: Tali Perry <tali.perry1@gmail.com>
Signed-off-by: Mohammed Elbadry <mohammed.0.elbadry@gmail.com>
---

Tali Perry (1):
  i2c: npcm: Add clock toggle in case of stuck bus during init in
    npcm_i2c_init_module

 drivers/i2c/busses/i2c-npcm7xx.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)