From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfram Sang Subject: Re: [PATCH v11 3/4] i2c: aspeed: added driver for Aspeed I2C Date: Fri, 14 Jul 2017 09:18:00 +0200 Message-ID: <20170714071800.GA1498@katana> References: <20170620211516.13095-1-brendanhiggins@google.com> <20170620211516.13095-4-brendanhiggins@google.com> <20170623184305.xqqhjgrbdmgk6lsr@ninjato> <20170627090042.GA2408@katana> <20170628074515.GA1550@katana> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Return-path: Content-Disposition: inline In-Reply-To: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Brendan Higgins Cc: Rob Herring , Mark Rutland , Greg KH , "David S . Miller" , mchehab-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, Joel Stanley , martin.petersen-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org, Benjamin Herrenschmidt , linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree , Linux Kernel Mailing List , OpenBMC Maillist List-Id: devicetree@vger.kernel.org --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Basically what I was asking is whether I could use i2c_generic_scl_recovery > in the case where SCL is hung. The name is a bit misleading, I am afraid. Recovery can only be used when SDA is stuck low. And to fix this it *uses* SCL toggling to get out of it. And 'generic_scl' means 'gimme some SCL to control and I will toggle it'. Compared to 'gpio_recovery' which will do all the GPIO handling for you. When SCL is hung, you can only reset the device which forces SCL low. > I think I have a pretty good idea of what to do, I should probably just put > together an RFC patch. Sure. --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAllocCQACgkQFA3kzBSg KbYLJA//eOt1O+Vx/SfQPxPJZvoe/8u/ntXbOwccem2evrB6yWqE2wGvGPrTfRgL ulNj1Pjg6kGd3wpxuRp1paGzHpcRVe1LFXqqpqqr/2R4cA6tKvmem4fBYhSdSfim 4JxDTdl3OY9a6kFUoQPeY6N+Tm/P0fzL1uWDGfr/DeGYbjh0BP7ju68jgC0U+PPL IQVW7P1WQbo5ha2/2hneWUk2SiqmVLERNFwyIMsNF9C7FXyvtdr2MvsSIqx/YPWj bjaaPT1XG45+tBQFd9883sr/NK2b1AWSYY2HaOovxxkl/5XYUQsP4DaziH7Vo8j6 60fbZ5c7BgcyCwLFCJpIMomv+/HZiIAqeAqr9loWTKG0QVhdiguadceSj2ZzSkm+ yJOnCjRtTf9GwOVt38RIklcolWGtK62V3QzsIMzQH4RQIU8W5/8kihW7cM3ow4sG +zoO3V7xTmODqRQ/SHj2emKIT9Sp95jR8fPio/FIbSuVx8vKAeXUZ0grrJbkr7nO 5bSviIOEGYZiUofjeL9JDEwkVs/3kH3Z2CUpH5E12YwlrOKT8BXdvRRDBWoyqHxE 0S+VLgIxYum+ODGL5EOCHEYui+ufQwDKtcg2Wlz+yuCozbvsFZzQdxrRCBAcwriK Q54B9SouScJ1TKsdtStsu476TjTau9SM8oEvbOudxB/e/jrZcUQ= =Ykr8 -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9-- -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html