Some Atmel SoCs actually doesn't support the clear command for recovery. This patch serie merge the two support for both i2c bus recovery mechanism (clear command and gpio/pinctrl). Codrin Ciubotariu (1): i2c: at91: Send bus clear command if SCL or SDA is down Kamel Bouhara (4): dt-bindings: i2c: at91: document optional bus recovery properties i2c: at91: implement i2c bus recovery ARM: at91/dt: sama5d3: add i2c gpio pinctrl ARM: at91/dt: sama5d4: add i2c gpio pinctrl .../devicetree/bindings/i2c/i2c-at91.txt | 10 +++ arch/arm/boot/dts/sama5d3.dtsi | 33 ++++++- arch/arm/boot/dts/sama5d4.dtsi | 33 ++++++- drivers/i2c/busses/i2c-at91-core.c | 8 ++ drivers/i2c/busses/i2c-at91-master.c | 86 +++++++++++++++++++ drivers/i2c/busses/i2c-at91.h | 15 +++- 6 files changed, 178 insertions(+), 7 deletions(-) -- 2.23.0