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=-6.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 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 B4E85C433E3 for ; Wed, 26 Aug 2020 06:14:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 93A2620707 for ; Wed, 26 Aug 2020 06:14:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598422489; bh=49bBfzJ0v+qJasfusLzXWkh70Zib8QKIhWug9Dvwlmg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=rpqYg/lODyOKeZ8jUaOCICL/P2FXMyjL71f1SHoVyuJgh6HsmLCI7yjDZdkZ/gTss LyM4vxWtcTd1Y7XEM3sxFOXddrUa2Vfr5mQljDILoeY6PPGGxZ7inoRzxRVn2G+Zz9 rncTKZBSU9C9gRQeXxJK6zt6aO651MDs5KbdxtQE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726697AbgHZGOs (ORCPT ); Wed, 26 Aug 2020 02:14:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:46752 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725786AbgHZGOr (ORCPT ); Wed, 26 Aug 2020 02:14:47 -0400 Received: from localhost (p54b33436.dip0.t-ipconnect.de [84.179.52.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 97E8C206FA; Wed, 26 Aug 2020 06:14:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598422487; bh=49bBfzJ0v+qJasfusLzXWkh70Zib8QKIhWug9Dvwlmg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=O8u9cTodiav9/5/uP9JrzGmXxnudMVcpy4d3occvVrX6f8H99soSLyI+MDGAYZRB5 Z28E1Jc2+mNow1kniqA+dqyDjeptyQ9Ilrm25IDtW01AWqv0p0bKusZiX74vo7lQE5 uoeEC/KzlsT0z26TFgL2ySaUWeHZjaHj0YC8cpKE= Date: Wed, 26 Aug 2020 08:14:44 +0200 From: Wolfram Sang To: Codrin.Ciubotariu@microchip.com Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, robh+dt@kernel.org, Ludovic.Desroches@microchip.com, Nicolas.Ferre@microchip.com, alexandre.belloni@bootlin.com, linux@armlinux.org.uk, kamel.bouhara@bootlin.com Subject: Re: Re: [RFC PATCH 4/4] i2c: at91: Move to generic GPIO bus recovery Message-ID: <20200826061444.GB1081@ninjato> References: <20200619141904.910889-1-codrin.ciubotariu@microchip.com> <20200619141904.910889-5-codrin.ciubotariu@microchip.com> <20200802170820.GC10193@kunai> <65890aab-1d19-7e7e-abff-3c6ee05c8ade@microchip.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tsOsTdHNUZQcU9Ye" Content-Disposition: inline In-Reply-To: <65890aab-1d19-7e7e-abff-3c6ee05c8ade@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 --tsOsTdHNUZQcU9Ye Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Thanks, this would be great! I tested this on a sam9x60, with the HW=20 > feature for the 9 pulses disabled, with a picky audio codec as I2C device. > Please let me know of the result. I can't make use of the feature on the platform I had in mind, sadly. It doesn't really support switching from/to GPIO pinctrl states. If that ever changes, I will add bus recovery for that controller, but I think this is low priority. On the good side, there are patches which make i2c-mv64xxx another user of your new mechanism, so everything is well, I think. --tsOsTdHNUZQcU9Ye Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl9F/dAACgkQFA3kzBSg KbYNJw/+NFAFce8+QOGLjzXTrfZC+xhRwteAfXf5szBpChtCKinehTdgy/VIPABE DvkKYf5ocko7S08+wPdXNeeCX6CDglhgeBB89fW1MVOzIoiTcQ4TisNWegjFOIcD bbrMCoDObXs3PvnpaH58u3x10O1TXvPBZchywcmHT4TnZ8KwvdWOV63cX7ZNoYtE bJTuQaBJwgsisfCrOqAIw1w1hQ0/+9wln56NlAktwGR2hQfUfmXU3RrhmYssVHao Pc975YvoyRN4OJlwz8eITEfWG+2NcazKwT28Mv5LJU0Q7h5Tau4rwjzfU2Op32bW h4E3AV80ocUML8etDOfFYEc8N5biVOMURyJWxM2OaipIpfGoBkT9BTswvd61q3+R RacGLtRmaFyLtjWLndRy9DVZ1V+B6KsdGugQqABrzOwiAXK3OMf965427aI7v60B S2ZrxK3QhFTctotYAqHm7wCzLJNZBchSZzxYgJDEwuscbAbN7dBECdiCAfPYyO0K R+YbY6TuFZwBaEhKmJQ9IP26DB+Av5963X9CjU+e+nUxaPr5Nq/cS3sD5ku3bgGJ kJtaaM6fG9M8ZLa5bzOKQlOR1B4/Zojp5KCk4vTUhUzV97VX0VfaR8J7D4/k+Cal dF/LAlikTn1TZmLiLdYZrUFu7FPU9JTvXET48Uoa2s9vEPFw7rQ= =+8C1 -----END PGP SIGNATURE----- --tsOsTdHNUZQcU9Ye-- 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=-6.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 80EDBC433DF for ; Wed, 26 Aug 2020 06:16:28 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 4C53D2076C for ; Wed, 26 Aug 2020 06:16:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="dRbnfrzG"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="O8u9cTod" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4C53D2076C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=zylnjckphD15udYDDL8ThmSgst25IAfsHVysH7bCDKw=; b=dRbnfrzGDvrTRFeT5U7QC0w/I 8MD25vmL9X+4jhx94b2hKMCIQLoG297Yq9QhX0jB0AVP1p0eyWhMdR31rpDx3T+OxhC+ntEUY+V56 aT/5nsnXthfJWPlfYgck5RqaHlV6mwo6dkPX5075I1zLNOUnYA5LGQFAh7223DA7yrmwsfChC39PJ Z0ruBfB5YsRSu5KV63Q/vk20v0KpZglHv/Qxh/cofuTpmnTFrLaEy8VzqE7Idm4ypM1B/cwTsnqiw rV/2mLSMsaPxnvUbOw6WEyAaB57lQbJVZ/JFW22PUfj1DwQoNbilREa5Otctq81/qkiNasYaONCDT GvrC5DW4Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAohu-0008NF-Um; Wed, 26 Aug 2020 06:14:50 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAohs-0008Mk-A1 for linux-arm-kernel@lists.infradead.org; Wed, 26 Aug 2020 06:14:49 +0000 Received: from localhost (p54b33436.dip0.t-ipconnect.de [84.179.52.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 97E8C206FA; Wed, 26 Aug 2020 06:14:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598422487; bh=49bBfzJ0v+qJasfusLzXWkh70Zib8QKIhWug9Dvwlmg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=O8u9cTodiav9/5/uP9JrzGmXxnudMVcpy4d3occvVrX6f8H99soSLyI+MDGAYZRB5 Z28E1Jc2+mNow1kniqA+dqyDjeptyQ9Ilrm25IDtW01AWqv0p0bKusZiX74vo7lQE5 uoeEC/KzlsT0z26TFgL2ySaUWeHZjaHj0YC8cpKE= Date: Wed, 26 Aug 2020 08:14:44 +0200 From: Wolfram Sang To: Codrin.Ciubotariu@microchip.com Subject: Re: Re: [RFC PATCH 4/4] i2c: at91: Move to generic GPIO bus recovery Message-ID: <20200826061444.GB1081@ninjato> References: <20200619141904.910889-1-codrin.ciubotariu@microchip.com> <20200619141904.910889-5-codrin.ciubotariu@microchip.com> <20200802170820.GC10193@kunai> <65890aab-1d19-7e7e-abff-3c6ee05c8ade@microchip.com> MIME-Version: 1.0 In-Reply-To: <65890aab-1d19-7e7e-abff-3c6ee05c8ade@microchip.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200826_021448_724516_0DFD6545 X-CRM114-Status: GOOD ( 12.91 ) 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@bootlin.com, kamel.bouhara@bootlin.com, linux-kernel@vger.kernel.org, Ludovic.Desroches@microchip.com, robh+dt@kernel.org, linux-i2c@vger.kernel.org, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============4326777998561925620==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============4326777998561925620== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tsOsTdHNUZQcU9Ye" Content-Disposition: inline --tsOsTdHNUZQcU9Ye Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Thanks, this would be great! I tested this on a sam9x60, with the HW=20 > feature for the 9 pulses disabled, with a picky audio codec as I2C device. > Please let me know of the result. I can't make use of the feature on the platform I had in mind, sadly. It doesn't really support switching from/to GPIO pinctrl states. If that ever changes, I will add bus recovery for that controller, but I think this is low priority. On the good side, there are patches which make i2c-mv64xxx another user of your new mechanism, so everything is well, I think. --tsOsTdHNUZQcU9Ye Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl9F/dAACgkQFA3kzBSg KbYNJw/+NFAFce8+QOGLjzXTrfZC+xhRwteAfXf5szBpChtCKinehTdgy/VIPABE DvkKYf5ocko7S08+wPdXNeeCX6CDglhgeBB89fW1MVOzIoiTcQ4TisNWegjFOIcD bbrMCoDObXs3PvnpaH58u3x10O1TXvPBZchywcmHT4TnZ8KwvdWOV63cX7ZNoYtE bJTuQaBJwgsisfCrOqAIw1w1hQ0/+9wln56NlAktwGR2hQfUfmXU3RrhmYssVHao Pc975YvoyRN4OJlwz8eITEfWG+2NcazKwT28Mv5LJU0Q7h5Tau4rwjzfU2Op32bW h4E3AV80ocUML8etDOfFYEc8N5biVOMURyJWxM2OaipIpfGoBkT9BTswvd61q3+R RacGLtRmaFyLtjWLndRy9DVZ1V+B6KsdGugQqABrzOwiAXK3OMf965427aI7v60B S2ZrxK3QhFTctotYAqHm7wCzLJNZBchSZzxYgJDEwuscbAbN7dBECdiCAfPYyO0K R+YbY6TuFZwBaEhKmJQ9IP26DB+Av5963X9CjU+e+nUxaPr5Nq/cS3sD5ku3bgGJ kJtaaM6fG9M8ZLa5bzOKQlOR1B4/Zojp5KCk4vTUhUzV97VX0VfaR8J7D4/k+Cal dF/LAlikTn1TZmLiLdYZrUFu7FPU9JTvXET48Uoa2s9vEPFw7rQ= =+8C1 -----END PGP SIGNATURE----- --tsOsTdHNUZQcU9Ye-- --===============4326777998561925620== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============4326777998561925620==--