Re: [PATCH v3 3/3] i2c: designware: select gpio/default pin when prepare/unprepare recovery

From: Jarkko Nikula
Date: Tue Sep 18 2018 - 09:25:23 EST


On 09/17/2018 06:34 AM, Jisheng Zhang wrote:
+ DT maintainers

On Mon, 17 Sep 2018 11:29:49 +0800
Jisheng Zhang <Jisheng.Zhang@xxxxxxxxxxxxx> wrote:

On some platforms, the sda/scl pins are muxed with gpio functions, so
they could be used for recovery. Select the gpio/default pin function
when prepare/unprepare recovery.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@xxxxxxxxxxxxx>
---
drivers/i2c/busses/i2c-designware-core.h | 3 +++
drivers/i2c/busses/i2c-designware-master.c | 22 ++++++++++++++++++++++
2 files changed, 25 insertions(+)

Acked-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxxxxxxx>