On Wed, Apr 30, 2025 at 08:46:46PM +0100, Prabhakar wrote: > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx> > > Implement I2C bus recovery support for the RIIC controller by making use > of software-controlled SCL and SDA line manipulation. The controller allows > forcing SCL and SDA levels through control bits, which enables generation > of manual clock pulses and a stop condition to free a stuck bus. > > This implementation wires up the bus recovery mechanism using > i2c_generic_scl_recovery and provides get/set operations for SCL and SDA. > > This allows the RIIC driver to recover from bus hang scenarios where SDA > is held low by a slave. > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx> Reviewed-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> Tested-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature