From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4067CA9EAF for ; Thu, 24 Oct 2019 20:13:42 +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 A4A8321929 for ; Thu, 24 Oct 2019 20:13:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="EnM65bfu" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A4A8321929 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+infradead-linux-arm-kernel=archiver.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=eKRJ+2qwgsQ0sPPdk6yUtW+/CBXUn5/UTg+AfCCaj8w=; b=EnM65bfun1Q3aO yWi39AzVNt71NQzrLFbxkx3KGiZC4j2yYMS1EKHG6/8GWTsWJYvXHxBr/bTBJpzlgtjAtn9BmQT8T 9FwAsClcWlT8SN/ewzMNEdshcUnGw4cg8GfXSTk++DhhcXofbY2onpETqInOGXYyYxzAstjaCqBvL ID8Jylmpzpr1O7qFv3wJBdbemphinKy4AAHAltPxhJMUSpBhNK4sG10oKB1Acp07S77gNKGqdOmeG 9jWJIYRn+GemMs2v4EJSgpTHNPXoCXCLXRtqSfGYGjdYtvlYu3jBRKnJtoLX1DYM0eHlxJAGLuNmI AZolnZu/g1FDlelSnRjQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iNjUG-0007N0-IP; Thu, 24 Oct 2019 20:13:36 +0000 Received: from relay12.mail.gandi.net ([217.70.178.232]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iNjUD-0007Jh-1o for linux-arm-kernel@lists.infradead.org; Thu, 24 Oct 2019 20:13:34 +0000 Received: from localhost (unknown [78.193.40.249]) (Authenticated sender: kamel.bouhara@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 3545B200002; Thu, 24 Oct 2019 20:13:24 +0000 (UTC) From: Kamel Bouhara To: Wolfram Sang , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/5] Add i2c bus recovery support for Atmel SoCs Date: Thu, 24 Oct 2019 22:12:57 +0200 Message-Id: <20191024201302.23376-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-20191024_131333_232563_4F0129BA X-CRM114-Status: UNSURE ( 7.19 ) X-CRM114-Notice: Please train this message. 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, Alexandre Belloni , Kamel Bouhara , Ludovic Desroches , Rob Herring , Thomas Petazzoni , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Some Atmel SoCs actually doesn't support the clear command for recovery. This patch serie merge the two support for both i2c bus recovery mechanism (clear command and gpio/pinctrl). Codrin Ciubotariu (1): i2c: at91: Send bus clear command if SCL or SDA is down 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-core.c | 8 ++ drivers/i2c/busses/i2c-at91-master.c | 86 +++++++++++++++++++ drivers/i2c/busses/i2c-at91.h | 15 +++- 6 files changed, 178 insertions(+), 7 deletions(-) -- 2.23.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel