Skip to content
Commit d3d3fdcc authored by Kamel Bouhara's avatar Kamel Bouhara Committed by Wolfram Sang
Browse files

i2c: at91: implement i2c bus recovery



Implement i2c bus recovery when slaves devices might hold SDA low.
In this case re-assign SCL/SDA to gpios and issue 9 dummy clock pulses
until the slave release SDA.

Signed-off-by: default avatarKamel Bouhara <kamel.bouhara@bootlin.com>
Signed-off-by: default avatarCodrin Ciubotariu <codrin.ciubotariu@microchip.com>
Acked-by: default avatarLudovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 19e5cef0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment