Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp275106ybv; Sat, 22 Feb 2020 03:35:11 -0800 (PST) X-Google-Smtp-Source: APXvYqwgssXST6UlxnJgV8Cjvfq+uGD9KAYKGTIxmxNRjhlEwxK+XOCb3fPsys4GgcqQH+Gf+rdZ X-Received: by 2002:aca:5588:: with SMTP id j130mr5693569oib.122.1582371311688; Sat, 22 Feb 2020 03:35:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582371311; cv=none; d=google.com; s=arc-20160816; b=ZR4/mSlk3Nmd9NbS3K9Y4S2KtJinLWGsfTd5XxR7wDURddVeGFbIZvDbfxpAb4VqnX Ki/i+oRwmeTeQNAFRwkzZzC3mIdS2xFs8Gie0wyUUKsoTId76uL+OBSBRu2BUmU63h2h R/5XwM8ijAQbNFcfPWGop75XEDIjlWrTmZOZnAd4Qii82cD6hvzeozrxXMGuu/r6cA0O OSUe7RbohIZlbyljSdouYDPmVTW9UUN1slmH1EueCtWruttq6XXz9F0EPfyE6Lp7dvij VrBkdTeafa38E8VlaTwsZukslQuvbSy9Z94EgXA5jiuWFdv4xdJFHqpWqXgSkJ+190cj mwPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=bB+eI6p6G4ivlPxWL0mQIVkFtn+Gv/cD8y8fqUSc0+w=; b=iwRm8SoQexxtTPnEMsKZ7y1OwihhiodhXx3YZp3sXhrCrXe6Z/51XDi8c2HcXaaBgx ubVk0o0bdjV5a4DzTE04aXbg1uiZt/NxBXETGqhsL3aFH2HBZakdiXkhNlWHLpHnKvug 4sI33GCOWV/YC+ikRsHnuKBxaIZfK3PgGFQvLr8vKdYea+wZanrPjbteORJuDMYYHvnE E7fGdhMxB61bxRlZfrjvLNWRTWU+31p+CAzvHPtKjMlPJdOBZn3jSpbyTa6bKrm6NF/y QjouiJuc7s0Foe1nIskbeL4costdVZRqCdDNWUPMXWV/+JpFWLheKsJkbZneV5uImHnq zx4w== 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 n24si3285531otf.58.2020.02.22.03.34.58; Sat, 22 Feb 2020 03:35:11 -0800 (PST) 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 S1727215AbgBVLeC (ORCPT + 99 others); Sat, 22 Feb 2020 06:34:02 -0500 Received: from sauhun.de ([88.99.104.3]:53062 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726821AbgBVLeB (ORCPT ); Sat, 22 Feb 2020 06:34:01 -0500 Received: from localhost (p5486C6B7.dip0.t-ipconnect.de [84.134.198.183]) by pokefinder.org (Postfix) with ESMTPSA id 4BB2A2C07F9; Sat, 22 Feb 2020 12:33:59 +0100 (CET) Date: Sat, 22 Feb 2020 12:33:58 +0100 From: Wolfram Sang To: Codrin Ciubotariu Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kamel.bouhara@bootlin.com, Nicolas.Ferre@microchip.com, alexandre.belloni@bootlin.com, Ludovic.Desroches@microchip.com, robh@kernel.org, peda@axentia.se, linux@armlinux.org.uk Subject: Re: [PATCH v3 2/6] i2c: at91: implement i2c bus recovery Message-ID: <20200222113358.GB1716@kunai> References: <20200115115422.17097-1-codrin.ciubotariu@microchip.com> <20200115115422.17097-3-codrin.ciubotariu@microchip.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+g7M9IMkV8truYOl" Content-Disposition: inline In-Reply-To: <20200115115422.17097-3-codrin.ciubotariu@microchip.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --+g7M9IMkV8truYOl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 15, 2020 at 01:54:18PM +0200, Codrin Ciubotariu wrote: > From: Kamel Bouhara >=20 > Implement i2c bus recovery when slaves devices might hold SDA low. > In this case re-assign SCL/SDA to gpios and issue 9 dummy clock pulses > until the slave release SDA. >=20 > Signed-off-by: Kamel Bouhara > Signed-off-by: Codrin Ciubotariu Applied to for-next, thanks! The implementation is very similar to i2c-imx. Maybe we should move this mechanism into the core somewhen... --+g7M9IMkV8truYOl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl5REaYACgkQFA3kzBSg Kbb/5BAAjIRoPQE9LABWbJpndp9jLdUzU84jFgAC8Doa8diKtDq4FRlalY3b3N+D ciV1rCm+jDxHbvrtSkzoB4zzqVwoHbCYG2UqCDeb6kGQW+64oCn2PaRGETahlzTt t6xJGm/VCwYNoDOTlp6M27TWtP89PAIc2byd6YgejLdkPld5gfYatdWT5WIv4zci ayDRoh7drxaSKT3umNfixWaafLSLnrVP4ylTA+2FZ2mgp9luw6y6scnSj0Yyk0do elir7QNRItWLYJdtEI5oo2Jfm8wII5P0V3MMS9RWK3diOheswZBdJuX7mEMHXHLz 7hqFRGpkW9U0/7kXfFaLBQWJFAANZeoNHVKg7MyA9rIbRwAqrngy6uVwZD1KPtxn DIYRKZotx/PNmOOaZEMGuwwU70vM9ff0b/ZOYQtYBTzwYDDirXO/ZGipUFLyfaIl sfvCQB6FNb8f8qQpOip20ecYjorUP4duRY2kK0ZTvfqJQTyQi7ziRPLVSB1ukNv+ LG8jlj0RyWojDK/jl0lTUW4mbncWkqBMhWigd5nIJp5qAGRZLfCjKW+xhGos7CNc AJAYLMyGhVazIidpUhju9zqqsTMNXVLwbmwqXd76TmK4hhneqjJqN+uRndSiZNY8 EfnrgyJ6mdYSBxh6MhBZ6fw/s1FplEMs1SR5aOMN1LzGdYIoQg0= =BEk4 -----END PGP SIGNATURE----- --+g7M9IMkV8truYOl--