From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Shevchenko Subject: Re: [PATCH v3 0/4] i2c: designware: add i2c gpio recovery option Date: Thu, 28 Sep 2017 13:55:14 +0300 Message-ID: <1506596114.16112.148.camel@linux.intel.com> References: <1504073857-122449-1-git-send-email-preid@electromag.com.au> <1b54a382-c447-2f42-fd00-6a033449d394@electromag.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from mga14.intel.com ([192.55.52.115]:2299 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752543AbdI1LEG (ORCPT ); Thu, 28 Sep 2017 07:04:06 -0400 In-Reply-To: <1b54a382-c447-2f42-fd00-6a033449d394@electromag.com.au> Sender: linux-i2c-owner@vger.kernel.org List-Id: linux-i2c@vger.kernel.org To: Phil Reid , jarkko.nikula@linux.intel.com, mika.westerberg@linux.intel.com, wsa@the-dreams.de, tim@krieglstein.org, linux-i2c@vger.kernel.org Cc: Ferry Toth gmail On Thu, 2017-09-28 at 15:37 +0800, Phil Reid wrote: > On 30/08/2017 14:17, Phil Reid wrote: > > Changes from V1: > > - In review Andy suggested change the i2c core to use the gpiod > > I've added a patch that allows the gradual switching of drivers > > to using gpiod interface. The old interface is preserved so > > that changes can be made incrementally. > > - I've update Tim's patch for the designware driver to use the new > > interface. Tweaked a couple of things to his patch and fixed > > up things Andy id in last review. > > The core changes in p1 don't require the get/set scl/sda > > functions. > > Hopefully I've done the right thing with preserving authorship > > and > > signoff. +Cc: Ferry. Ferry, I think you might be interested in this series. If so, perhaps Phil can include you in Cc for v4 of it. > > > > Changes from V2: > > - Rebase on https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linu > > x.git/ > > i2c/for-next > > No intentional changes, but needed to move > > i2c_dw_plat_prepare_clk to common > > for the master recovery functions to use. which is included as > > two additional > > patches. > > > > > > Phil Reid (4): > > i2c: Switch to using gpiod interface for gpio bus recovery > > i2c: designware: move i2c_dw_plat_prepare_clk to common > > i2c: designware: rename i2c_dw_plat_prepare_clk to > > i2c_dw_prepare_clk > > > > Tim Sander (1): > > i2c: designware: add i2c gpio recovery option > > > > drivers/i2c/busses/i2c-designware-common.c | 24 ++++++++++-- > > drivers/i2c/busses/i2c-designware-core.h | 2 + > > drivers/i2c/busses/i2c-designware-master.c | 57 > > +++++++++++++++++++++++++++++ > > drivers/i2c/busses/i2c-designware-platdrv.c | 18 ++------- > > drivers/i2c/i2c-core-base.c | 22 +++++++++-- > > include/linux/i2c.h | 2 + > > 6 files changed, 103 insertions(+), 22 deletions(-) > > > > Any comments on this series? > -- Andy Shevchenko Intel Finland Oy