From mboxrd@z Thu Jan 1 00:00:00 1970 From: Phil Reid Subject: Re: [PATCH v2 0/2] i2c: designware: add i2c gpio recovery option Date: Thu, 24 Aug 2017 17:21:54 +0800 Message-ID: References: <1497598977-37622-1-git-send-email-preid@electromag.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from anchovy2.45ru.net.au ([203.30.46.146]:52517 "EHLO anchovy.45ru.net.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751274AbdHXJWD (ORCPT ); Thu, 24 Aug 2017 05:22:03 -0400 In-Reply-To: <1497598977-37622-1-git-send-email-preid@electromag.com.au> Content-Language: en-AU Sender: linux-i2c-owner@vger.kernel.org List-Id: linux-i2c@vger.kernel.org To: jarkko.nikula@linux.intel.com, andriy.shevchenko@linux.intel.com, mika.westerberg@linux.intel.com, wsa@the-dreams.de, tim@krieglstein.org, linux-i2c@vger.kernel.org On 16/06/2017 15:42, 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. > > Phil Reid (1): > i2c: Switch to using gpiod interface for gpio bus recovery > > Tim Sander (1): > i2c: designware: add i2c gpio recovery option > > drivers/i2c/busses/i2c-designware-core.c | 12 ++++-- > drivers/i2c/busses/i2c-designware-core.h | 1 + > drivers/i2c/busses/i2c-designware-platdrv.c | 58 +++++++++++++++++++++++++++++ > drivers/i2c/i2c-core-base.c | 22 +++++++++-- > include/linux/i2c.h | 2 + > 5 files changed, 88 insertions(+), 7 deletions(-) > Ping: Any comments on these 2 patches? -- Regards Phil Reid