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 AFF19C636D6 for ; Fri, 17 Feb 2023 21:46:33 +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=gmgfKnuFgDcBhoYBIcNlONgYaLoTnKAODjRIkNx45IY=; b=kdwhNkBICdzHt0o1V43C8z3P/M ccKC+3Q1LBbxDKQE0wm9xzvhkx38THXGujcvX5Is7mU2sz5UAgEq0+NU3g2rXljaICnYyuTq3G8IA FFo+kgLnLELWKoKyPApPBBkujG6SII3OnvWBmzqmlaBA/ddlrFr9kiw/3gj6m8nNA0rWSBdnLiYCD YbyrYt4NLnruH/RUP3rt7cmW4Q/dtTuYftcTEF9v0D0s4UYzwxzAaDruu8bVUD4GN7DvsFDdqvlaE Evlpt89VClefJDvqDL5LVq/7tUHYUAqcFv9MbA1QC4wxzyP726mSIZxhcLSARGpZ5HNEku93+CfXs 4uJ1FrVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pT8Xv-00Fkuu-IS; Fri, 17 Feb 2023 21:45:35 +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 1pT8Xr-00Fksw-M7 for linux-arm-kernel@lists.infradead.org; Fri, 17 Feb 2023 21:45:33 +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 3AD8DB82DD1; Fri, 17 Feb 2023 21:45:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53401C4339B; Fri, 17 Feb 2023 21:45:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676670327; bh=USNORW4F2KLd13StIiUXR1qHnC7J7sEVnUW9KmPmB6A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uQSEvwJeeGZ8oTXsUNHUgrBjVVlOltObrOf1SMhQXgvzJI8sjs1AsE4+X+Y61cqkL tPLzihNqsN3/5Yvpgv0/urcILHx/oVe5VfcbPjZPvGeu1Ysr7woYghw5VIYmkv21Og 69gnj9bEaSMME/ZEybzfoAFCUZoq4hP4GhiwLHEx7TulAvvRE7ymCKwqB0HmOcQ90I j/gCp092Br2BhUzOC/B45osj3gYJnSqVJe7z/0aAaEnNCAEup0Y6vmyU6EVhzHkGs6 xkbMk8+l4ScrvECko2gPywEwB8qeI7xhBSbqptvmhPoBI46qFgmvGb8ercbBFQiEV0 wKpJ6Q1IsPGIg== Date: Fri, 17 Feb 2023 22:45:24 +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 V6 3/3] i2c: xiic: Add SCL frequency configuration support 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: <1676467944-17426-1-git-send-email-manikanta.guntupalli@amd.com> <1676467944-17426-4-git-send-email-manikanta.guntupalli@amd.com> MIME-Version: 1.0 In-Reply-To: <1676467944-17426-4-git-send-email-manikanta.guntupalli@amd.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230217_134532_058683_FA746E83 X-CRM114-Status: GOOD ( 13.43 ) 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="===============5144562176569501703==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============5144562176569501703== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="v9dWdwZ/vqGMAhLb" Content-Disposition: inline --v9dWdwZ/vqGMAhLb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 15, 2023 at 07:02:24PM +0530, Manikanta Guntupalli wrote: > From: Raviteja Narayanam >=20 > From 'clock-frequency' device tree property, configure I2C SCL > frequency by calculating the timing register values according to > input clock. >=20 > After soft reset in reinit function, the timing registers are set > to default values (configured in design tool). So, setting SCL > frequency is done inside reinit function after the soft reset. > This allows configuration of SCL frequency exclusively through > software via device tree property, overriding the design. > If the clock-frequency parameter is not specified in DT, driver > doesn't configure frequency, making it backward compatible. >=20 > Signed-off-by: Raviteja Narayanam > Signed-off-by: Manikanta Guntupalli > Acked-by: Michal Simek Applied to for-next, thanks! --v9dWdwZ/vqGMAhLb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmPv9XQACgkQFA3kzBSg KbbHAA//bWv7c9SD1ZqJg8loddrZ65QP1kQeG+s8WjWCmnEHcnPg+YdGmahUt+64 6JgM7vFV5KSPakzk1Ra3rK3t56H627STGN1FgAdcKVorGAiS+ZruhXgij49NL/46 7Ut9iStQAAuY22SnT8JoefcRgb2OKs87zJ36hZFZNe0+ifnpmU7KNRfZu1cShxSk a+1kHshrk7cYzUebZXhieugVWLyHwSSO/eO3zX7z69YDHdWPkwpwTq5+faUDnFaN ekM+vEwDAAWmpy7VVFF0/xtqMWbRRZq8C2zcCDTbbGK9kTeSLrS6j7JWjcA0Qql0 u/Ej+v4K4u0PvkYUSFzI3Fy7qShIyx0PVkrSUWOtSfrvgnH3dm7daUZ/4kQu7A60 4Q3ACu20/+YcmTtab4MH3hl4FnR0rIxYqL/A9dUaFH6TtcGe5MgthbClICpyZqYi jLPlOFtnqXPwJN4m+ZuHRYtdYN6cgADZABArqiVcSYbH9bkkSbTRieeho3v+jdTf DTb91PxLaZ/eY7fQ1EmyLT44Z6w8AqydNuiLa1bmj2bkrd9WPf8YFQljIt5cWfTJ ZtHgksGE6VrBMdh0bgeYIgnS/AMpNxJPcdyQ080JWPy79kpM8J9DnR+6k00RblrD t2fAdvmFM5Xngkfqf63SOVEqCsw86ABY96z7l7AQovH1InV+/Vs= =5+yg -----END PGP SIGNATURE----- --v9dWdwZ/vqGMAhLb-- --===============5144562176569501703== 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 --===============5144562176569501703==--