From patchwork Wed Oct 2 14:46:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamel BOUHARA X-Patchwork-Id: 11171233 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CD05516B1 for ; Wed, 2 Oct 2019 14:47:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A9DF821783 for ; Wed, 2 Oct 2019 14:47:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="V947y/kw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A9DF821783 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=OREp8WgCiwUnjflyiFHqi85/QH+HFK3MabG/51AkDzo=; b=V947y/kwIqUNaK H2U+4X2P715EAugnSaaYKK294Frs0usMfUvkiYPbS/TB0HJQLJCVNGdAVoM5OxTG+nayJSwURR/hF ph+tK4dVKABDJxHxa3q8mctung42gP84ceLQ77PfJXlLwXe9PuMCd12hXJRXhgKNUOtRrBaaXGg/8 HKCALwgOwYA8GQi2hxnxKsEAmg0JF0D/BnmA5u4ZjmXXKw/UPDQ0FgmkHPyh/FH6fyp5hmDEuLmG+ +VLA+qt7KR2fCdhSjR2qVUkcK2Bpt0CfSZnZOnmrnq0i/8oXbR2Q5K0Q6QH/TdzUC51j6rerA+VFq DvtMhL00isnJd9R4gUEQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iFfuO-0007VT-1s; Wed, 02 Oct 2019 14:47:16 +0000 Received: from relay12.mail.gandi.net ([217.70.178.232]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iFfuK-0007Sn-8k for linux-arm-kernel@lists.infradead.org; Wed, 02 Oct 2019 14:47:14 +0000 Received: from localhost (aclermont-ferrand-651-1-259-53.w86-207.abo.wanadoo.fr [86.207.98.53]) (Authenticated sender: kamel.bouhara@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 3D8EB200009; Wed, 2 Oct 2019 14:47:02 +0000 (UTC) From: Kamel Bouhara To: Wolfram Sang , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Nicolas Ferre , Alexandre Belloni , Ludovic Desroches , linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/4] i2c bus recovery for Microchip SoCs. Date: Wed, 2 Oct 2019 16:46:54 +0200 Message-Id: <20191002144658.7718-1-kamel.bouhara@bootlin.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191002_074712_457975_35EE55E3 X-CRM114-Status: UNSURE ( 7.18 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.232 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [217.70.178.232 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Thomas Petazzoni , Kamel Bouhara Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This patch series introduce the kernel i2c-gpio bus recovery mechanism for the Microchip SoCs. Updated the corresponding dts to add i2c gpio pinctrl. The bus recovery is configured for the sama5d3/4 xplained boards in dts. Kamel Bouhara (4): dt-bindings: i2c: at91: document optional bus recovery properties i2c: at91: implement i2c bus recovery ARM: at91/dt: sama5d3: add i2c gpio pinctrl ARM: at91/dt: sama5d4: add i2c gpio pinctrl .../devicetree/bindings/i2c/i2c-at91.txt | 10 +++ arch/arm/boot/dts/sama5d3.dtsi | 33 +++++++++- arch/arm/boot/dts/sama5d4.dtsi | 33 +++++++++- drivers/i2c/busses/i2c-at91-master.c | 63 +++++++++++++++++++ drivers/i2c/busses/i2c-at91.h | 8 +++ 5 files changed, 141 insertions(+), 6 deletions(-) --- 2.23.0