{"id":807424,"url":"http://patchwork.ozlabs.org/api/1.0/covers/807424/?format=json","project":{"id":35,"url":"http://patchwork.ozlabs.org/api/1.0/projects/35/?format=json","name":"Linux I2C development","link_name":"linux-i2c","list_id":"linux-i2c.vger.kernel.org","list_email":"linux-i2c@vger.kernel.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<1504073857-122449-1-git-send-email-preid@electromag.com.au>","date":"2017-08-30T06:17:33","name":"[v3,0/4] i2c: designware: add i2c gpio recovery option","submitter":{"id":66145,"url":"http://patchwork.ozlabs.org/api/1.0/people/66145/?format=json","name":"Phil Reid","email":"preid@electromag.com.au"},"series":[{"id":531,"url":"http://patchwork.ozlabs.org/api/1.0/series/531/?format=json","date":"2017-08-30T06:17:35","name":"i2c: designware: add i2c gpio recovery option","version":3,"mbox":"http://patchwork.ozlabs.org/series/531/mbox/"}],"headers":{"Return-Path":"<linux-i2c-owner@vger.kernel.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-i2c-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xhwKR6LyMz9t16\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 16:17:47 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1750803AbdH3GRp (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tWed, 30 Aug 2017 02:17:45 -0400","from anchovy3.45ru.net.au ([203.30.46.155]:45745 \"EHLO\n\tanchovy.45ru.net.au\" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org\n\twith ESMTP id S1750828AbdH3GRo (ORCPT\n\t<rfc822; linux-i2c@vger.kernel.org>); Wed, 30 Aug 2017 02:17:44 -0400","(qmail 1147 invoked by uid 5089); 30 Aug 2017 06:17:41 -0000","by simscan 1.2.0 ppid: 1087, pid: 1089, t: 0.0327s\n\tscanners: regex: 1.2.0 attach: 1.2.0 clamav: 0.88.3/m:40/d:1950","from unknown (HELO preid-centos7.electromag.com.au)\n\t(preid@electromag.com.au@203.59.230.133)\n\tby anchovy2.45ru.net.au with ESMTPA; 30 Aug 2017 06:17:41 -0000","by preid-centos7.electromag.com.au (Postfix, from userid 1000)\n\tid 2A671301CB835; Wed, 30 Aug 2017 14:17:40 +0800 (AWST)"],"X-RBL":"$rbltext","From":"Phil Reid <preid@electromag.com.au>","To":"jarkko.nikula@linux.intel.com, andriy.shevchenko@linux.intel.com,\n\tmika.westerberg@linux.intel.com, wsa@the-dreams.de,\n\ttim@krieglstein.org, preid@electromag.com.au, linux-i2c@vger.kernel.org","Subject":"[PATCH v3 0/4] i2c: designware: add i2c gpio recovery option","Date":"Wed, 30 Aug 2017 14:17:33 +0800","Message-Id":"<1504073857-122449-1-git-send-email-preid@electromag.com.au>","X-Mailer":"git-send-email 1.8.3.1","Sender":"linux-i2c-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<linux-i2c.vger.kernel.org>","X-Mailing-List":"linux-i2c@vger.kernel.org"},"content":"Changes from V1:\n- In review Andy suggested change the i2c core to use the gpiod\n  I've added a patch that allows the gradual switching of drivers \n  to using gpiod interface. The old interface is preserved so\n  that changes can be made incrementally.\n- I've update Tim's patch for the designware driver to use the new\n  interface. Tweaked a couple of things to his patch and fixed\n  up things Andy id in last review. \n  The core changes in p1 don't require the get/set scl/sda functions.\n  Hopefully I've done the right thing with preserving authorship and\n  signoff.\n\nChanges from V2:\n- Rebase on https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git/\n  i2c/for-next\n  No intentional changes, but needed to move i2c_dw_plat_prepare_clk to common\n  for the master recovery functions to use. which is included as two additional\n  patches.\n\n\nPhil Reid (4):\n  i2c: Switch to using gpiod interface for gpio bus recovery\n  i2c: designware: move i2c_dw_plat_prepare_clk to common\n  i2c: designware: rename i2c_dw_plat_prepare_clk to i2c_dw_prepare_clk\n\nTim Sander (1):\n  i2c: designware: add i2c gpio recovery option\n\n drivers/i2c/busses/i2c-designware-common.c  | 24 ++++++++++--\n drivers/i2c/busses/i2c-designware-core.h    |  2 +\n drivers/i2c/busses/i2c-designware-master.c  | 57 +++++++++++++++++++++++++++++\n drivers/i2c/busses/i2c-designware-platdrv.c | 18 ++-------\n drivers/i2c/i2c-core-base.c                 | 22 +++++++++--\n include/linux/i2c.h                         |  2 +\n 6 files changed, 103 insertions(+), 22 deletions(-)"}