Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4008661ybg; Fri, 25 Oct 2019 12:02:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqzyI5Z3G58KSRkvf7xDJFf081tFj3ZkZHMcnBM7pCgUpLju7CVWghjB/ZnJ1DAKQI1vmuaZ X-Received: by 2002:a17:906:f54:: with SMTP id h20mr5051938ejj.55.1572030141773; Fri, 25 Oct 2019 12:02:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572030141; cv=none; d=google.com; s=arc-20160816; b=VGv3OsPqXlqVDDZfiybCMB+lqtmL051K284wbG4yVqTBNyYrVyxdLoan0cdJrgw9hf n8yln4qcHdQfd+OE5X18rCuwpGEKDaMJuMIt6oBsd/qTDRf0I2phQLwWO8Qq9Sot15aK CnCKTZsTsOv0OwMF5feuIrxJtIAHjK5JdBaQjh7hzubVcNYRnipHAd6aHmKkEaDPs/aj n0OVevTofcEdBZCMEuzb6GXi09O44Qv+IUGOS/e0j3ZeND8JrOZCf2b0woyg6tn/ykn6 +gSyJYXmRwGap8fyngHFQ4ZPMnFJj8HcFyMfNR0zYc/MQkF0A1lJs8peTgdrWBjt5SEZ TdTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=SBYHk3CvCu/in47mQh1NGv+eCgwkrNXCQt68qdbejg4=; b=a9DYuoRMPhTK8ADqXZ7cbbrCEIJG8GwiqOWrQyY5gGFpVa4jz6ybdTejjq2lBHtdCu MwJ8A5EFxXSup0Hp2C87BiT9kVMB2KSN7wwK3OCr9C3ogOzQO0DtzsdInDj7IwJXGspt MCEYrA5e5XeSm2Jk/C/shyqsunmmR/EahLdE+lxCueqpnGQs7u7N2SQNzkhWR50M2oln //4jkufVYWFFZQElPDrnRd0vSGHnQc8wQKNecESGhRXI7R8CQxgRtQY3bCjKovp4rRuK IzhTMnQdgzeUg1yQRgCcHkvZITStRmW7joGWFSRNLcb9bCiKoIbBRBofPH7OxZVNioA4 9G2Q== ARC-Authentication-Results: i=1; mx.google.com; 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 e56si1957789edb.355.2019.10.25.12.01.51; Fri, 25 Oct 2019 12:02:21 -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; 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 S1726319AbfJXUN2 (ORCPT + 99 others); Thu, 24 Oct 2019 16:13:28 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:50087 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725811AbfJXUN2 (ORCPT ); Thu, 24 Oct 2019 16:13:28 -0400 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 Cc: Nicolas Ferre , Alexandre Belloni , Ludovic Desroches , linux-arm-kernel@lists.infradead.org, Thomas Petazzoni , Rob Herring , devicetree@vger.kernel.org, Kamel Bouhara 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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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