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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id DCBA7C05027 for ; Fri, 3 Feb 2023 16:36:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc: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=a96hgtUclsgl8laq2L0kAvafTlWIOVbTPgxBnXXj2Iw=; b=16IXFnPhU1X25cHnAZJTqUYM5u zvyDk72sYFSclFr7Drk31KCIb9Y5RYarR6rCsOj7FTnz68iKLVtEqt+qqn4tUwGEKYg+VmM4IIYnB 9vBNj2hYIQY50v1lqiLfI3TTAL+K55rWFGiYPBK7+X1uS30cJK3jRe75Jgk+OeVcMrQVn+vbJg1CH tK61Qkidvv0XBukWkXUg5mlZpeR7a55SC6EGG5DIJ64OSec2S78YdYl0icSCsYptwJ763vrJNpDMx Jq1bMzV1c/6YuDudG3vpmJzJ9nODpMSG9vAQT4+BA0mh7rpOaqN9FKv1RTEkMDdctvvqzbtSicCJQ dNx3ikcA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNz2T-002wlv-LN; Fri, 03 Feb 2023 16:35:49 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNz2P-002wkj-1Y for linux-arm-kernel@lists.infradead.org; Fri, 03 Feb 2023 16:35:46 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 7BCE3B829B9; Fri, 3 Feb 2023 16:35:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8512CC433EF; Fri, 3 Feb 2023 16:35:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675442142; bh=pTbTPJbYWwczDyf+apoEywN1esrdcO9kPkvU1Zx3gdk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MlmD6fvYdvE2+t5UoWTXTLqmmbPwqQoTO+fgaUh+iTfNvq8JH6Wnx+FdyWP1PAoVu 1thtCMM5mUy5gQ5IhMETnMJ3sS9x70aiRXPqMgIH/f8CfBC2rZVq9Fjp/5e4Vyy4+h fquZvvhfZd7CbIwVk8tgfMCf8j7qicbOJEfbtjr52HKm2qMEIaUZXE0D8tJg3kGvWv 01MGMvvQtJwIRtBsyEAQTH/7KXCRWsjZG5ifFA2CJFHJd46G+jxnKGLrFFsbrH8SJH wLIolA3Vuf6206kkT6ll2pHGcDNb/o4ExntoTswlrXZEgIODdAcVf6NQHjGhxFq6j5 ZFXXWz1DxXUYw== Date: Fri, 3 Feb 2023 17:35:38 +0100 From: Wolfram Sang To: Manikanta Guntupalli Cc: michal.simek@xilinx.com, michal.simek@amd.com, devicetree@vger.kernel.org, andrew@lunn.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, git@amd.com, srinivas.goud@amd.com, shubhrajyoti.datta@amd.com, manion05gk@gmail.com, Raviteja Narayanam Subject: Re: [PATCH V4 3/9] i2c: xiic: Switch to Xiic standard mode for i2c-read Message-ID: Mail-Followup-To: Wolfram Sang , Manikanta Guntupalli , michal.simek@xilinx.com, michal.simek@amd.com, devicetree@vger.kernel.org, andrew@lunn.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, git@amd.com, srinivas.goud@amd.com, shubhrajyoti.datta@amd.com, manion05gk@gmail.com, Raviteja Narayanam References: <1675330898-563-1-git-send-email-manikanta.guntupalli@amd.com> <1675330898-563-4-git-send-email-manikanta.guntupalli@amd.com> MIME-Version: 1.0 In-Reply-To: <1675330898-563-4-git-send-email-manikanta.guntupalli@amd.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230203_083545_426295_1640DC73 X-CRM114-Status: GOOD ( 13.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============5714315954584053070==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============5714315954584053070== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3pXYBDXwne4CtMpZ" Content-Disposition: inline --3pXYBDXwne4CtMpZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 02, 2023 at 03:11:32PM +0530, Manikanta Guntupalli wrote: > From: Raviteja Narayanam >=20 > Xilinx I2C IP has two modes of operation, both of which implement > I2C transactions. The only difference from sw perspective is the > programming sequence for these modes. > Dynamic mode -> Simple to program, less number of steps in sequence. > Standard mode -> Gives flexibility, more number of steps in sequence. >=20 > In dynamic mode, during the i2c-read transactions, if there is a > delay(> 200us) between the register writes (address & byte count), > read transaction fails. On a system with load, this scenario is > occurring frequently. > To avoid this, switch to standard mode if there is a read request. >=20 > Added a quirk to identify the IP version effected by this and follow > the standard mode. >=20 > Signed-off-by: Raviteja Narayanam > Signed-off-by: Manikanta Guntupalli > Acked-by: Michal Simek Applied to for-next, thanks! --3pXYBDXwne4CtMpZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmPdN9oACgkQFA3kzBSg KbZwqRAAl4R+zhs1OOkJtWIwRw7CG6afKFfFngnA/fXBADLpXKYFV8bemkPFGGel aevtILVkvkvNT3AvCIl6mNWTSwDmewwAXQhos4KHEHc+Rjssda6GRFPmuICqn0IY Liy4EyMqeIYUsQcIxd3uOKaWxujiZ3fT+/PUgNip1Q0cqWc24Ji0nC1XL9Tk2Yif QLAsyNUOmLRl3XqATwZWGaNX5wVjr/oeuiyDL/79wgdQIKab6bZhl5YRcccRL47x uaVSNPiUptBk98WJYGBhOMLIU1+m6pCRqTbWIFRCLh5tCyg8M9tBFxBHHJ6BgMSf Xy8TF+zYhBJPL8A7fb2UPgVHgHIlcmM2zo3WQaTTrqdTgyVMbI8HZOsSu5Dlmhn6 7TBCNRiGLAoyvxQmrKWtZcC/CHMkIpk0RTrVKn71cuLg68TTpR6/t5dpl/2e8nil 9FK7FP6XgYYX50XupveVln0BifomqZS/OUlXbv7QoQBAKLpouUCAOyisRgbHps9a xtgDio8vizymh9xrOVpWcv1J9W2dwbqUubzBcMOe6SzN3Yo9QV6dZ3W6Qr7U17le DAEsefeQfQDJsJR9itiGCGsWI98igvlGpoY2bjTOSV13xeceTGq/R4KeUSz25JIK OuLSnCnKQPjirYBrLT8vKiN4H6sHxadCZ+LLQUtls61z4VORzO0= =fLGm -----END PGP SIGNATURE----- --3pXYBDXwne4CtMpZ-- --===============5714315954584053070== 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 --===============5714315954584053070==--