i2c: cadence: Add standard bus recovery support
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Thu, 28 Jul 2022 05:51:50 +0000 (11:21 +0530)
committerWolfram Sang <wsa@kernel.org>
Tue, 27 Sep 2022 20:31:52 +0000 (22:31 +0200)
commit58b924241d0a23eee8e86dd9e6f5dacd01c82e62
treec4fa4a308c634e6962e2a134a9970ee99f7b559a
parentbdc4af281b70b7fe2881fd08f1aa1b15f2b6adf0
i2c: cadence: Add standard bus recovery support

Hook up the standard GPIO/pinctrl-based recovery support.
We are doing the recovery at the beginning on a timeout.

Multiple people have contributed to the series.
Original patch from Cirag and another one from Robert.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Acked-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-cadence.c