OSDN Git Service

i2c: designware: add i2c gpio recovery option
authorTim Sander <tim@krieglstein.org>
Thu, 2 Nov 2017 02:40:27 +0000 (10:40 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 27 Nov 2017 17:39:38 +0000 (18:39 +0100)
commitca382f5b38f367b656c8fd9a0fb93d8f54843520
treeafa4ad6d64e865abce6a0cf6bf63481931529eca
parent0326f9f801b2411811906361db870ccdada98b92
i2c: designware: add i2c gpio recovery option

This patch contains much input from Phil Reid and has been tested
on Intel/Altera Cyclone V SOC Hardware with Altera GPIO's for the
SCL and SDA GPIO's.

Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Tim Sander <tim@krieglstein.org>
Signed-off-by: Phil Reid <preid@electromag.com.au>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-designware-common.c
drivers/i2c/busses/i2c-designware-core.h
drivers/i2c/busses/i2c-designware-master.c