Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1230093imm; Fri, 13 Jul 2018 14:12:23 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfqkiIB0QZwr5EQ/Yf7QEnc6N9o3P2t5qwmlsTdte/n8g1/sryuGfCiZndonBxbSbzWJmVi X-Received: by 2002:a62:5290:: with SMTP id g138-v6mr8769007pfb.46.1531516343793; Fri, 13 Jul 2018 14:12:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531516343; cv=none; d=google.com; s=arc-20160816; b=yCaKsqlh2dsdzzGw44k7rCqdjVz3WXtAmtIQXMN2FWeHePH2gKVIDvGnxQf+nEjtsb 445MoSKP9f0UaITWUqG4znLwCttk4HR1JmZ4hGTG6KkoYHW+CgCpe/PhH56dGUZhRFyF tyOEvI7a7EViM+9jbZ0KklYD0o0xAMMeFyh5KqAnEksOxexe38alq3AxDUgkPYmI64RH eEFm3DeeO9OuYvNm/xDE2RC47+HUT2xwAYAmTu7VLK+NcplxQlDwkr44I9CNP8zPTb3Q wIKSrIJY0u2vL5zGV7SaGhMbFEaNoDEineEFQDxBPuXnDUZTjk9sHFwE1TB35GnYCS7m IzzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=4dRZiV01RQsaLusYyi9u9/lSmpykuhOi66xP0q9Ag8E=; b=wV3QA3KmW5jGHH7/am7gFwRGlLfCm24IRbvDRCtpCNMtPZaSb4hx0srXud/6caz91c APLlKqN7F82kjK8MOBa9m78vIQssCurU0zIsXjlcuzxgsUeV6mlWCaVpDphz4jNxlvbi ncp8hey9syBXE48wtnE0+V6bdf8VmXETp6cV652gp0z4owvlMXjXSJI2wUmjPcBI/uAF 2y1On4K7D66eNrMs+J8hjvN8rNhOuVfoK5P979/+l+BtFyOjdQYYCgFQuTWMoiVawTs8 mgE/R6n0GOxh42szOHJ1ZXNuRUjPiXAxhB1m7Pe99343TlsQ1GU5ZrZmqy/n1NGwuHTy MtZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=CF93WVpU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x1-v6si18594874pga.480.2018.07.13.14.12.08; Fri, 13 Jul 2018 14:12:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=CF93WVpU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731982AbeGMV0D (ORCPT + 99 others); Fri, 13 Jul 2018 17:26:03 -0400 Received: from www.zeus03.de ([194.117.254.33]:48412 "EHLO mail.zeus03.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731871AbeGMV0D (ORCPT ); Fri, 13 Jul 2018 17:26:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= from:to:cc:subject:date:message-id; s=k1; bh=3KrJknHHRCwzZZHj5bx wJqWCThzhfgW7Jmd4qND/CDU=; b=CF93WVpU8BD50baVBKzXVqYJDtidHYKjOxT eZKEVPIQxs/5k8omcWVhBj2QiOEpzFJA3WneL9pk3q9pxaahjaW9eiz85Bjrp4qM eygpKE7uwxbP8Bq2NFCdxVikklprR6bsv/RsvLzZCnS6UapWoU8c3i0oTaGsnvqP nZhiOSJ8= Received: (qmail 3379 invoked from network); 13 Jul 2018 23:09:42 +0200 Received: by mail.zeus03.de with ESMTPSA (ECDHE-RSA-AES256-GCM-SHA384 encrypted, authenticated); 13 Jul 2018 23:09:42 +0200 X-UD-Smtp-Session: l3s3148p1@4ncB5udwdOUgAwDPW8bBAAId4P/+oMhl From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, kernel@pengutronix.de, Wolfram Sang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH/RFT 0/6] i2c: recovery: fix GPIO usage for recovery Date: Fri, 13 Jul 2018 23:09:12 +0200 Message-Id: <20180713210920.3648-1-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I have sent the last patch of this series before, but then I realized I need to convert all users of GPIO recovery before. I needed to make sure they all set the SDA GPIO to output, this is what patches 3-5 are doing. Which is also good for them because then they can send STOP at apropriate places when doing recovery. Then, I noticed that two drivers were not using the open drain mode for SCL which seems like a bug to me. So, patches 1+2 address that. I'd think those two are stable material. Due to no hardware, I could only build test these patches. I'd be really looking forward to comments or tests of these patches. A branch can be found here: git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/i2c/recovery-sda-output Thanks, Wolfram Wolfram Sang (6): i2c: designware: use open drain for recovery GPIO i2c: imx: use open drain for recovery GPIO i2c: designware: set SDA as output for recovery i2c: davinci: set SDA as output for recovery i2c: imx: set SDA as output for recovery i2c: recovery: remove bogus check if SDA GPIO is set to output drivers/i2c/busses/i2c-davinci.c | 3 ++- drivers/i2c/busses/i2c-designware-master.c | 4 ++-- drivers/i2c/busses/i2c-imx.c | 4 ++-- drivers/i2c/i2c-core-base.c | 4 +--- 4 files changed, 7 insertions(+), 8 deletions(-) -- 2.11.0