[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y+/1dO03cvNbzfWk@shikoro>
Date: Fri, 17 Feb 2023 22:45:24 +0100
From: Wolfram Sang <wsa@...nel.org>
To: Manikanta Guntupalli <manikanta.guntupalli@....com>
Cc: michal.simek@...inx.com, michal.simek@....com,
devicetree@...r.kernel.org, andrew@...n.ch, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org,
linux-arm-kernel@...ts.infradead.org, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org, git@....com, srinivas.goud@....com,
shubhrajyoti.datta@....com, manion05gk@...il.com,
Raviteja Narayanam <raviteja.narayanam@...inx.com>
Subject: Re: [PATCH V6 3/3] i2c: xiic: Add SCL frequency configuration support
On Wed, Feb 15, 2023 at 07:02:24PM +0530, Manikanta Guntupalli wrote:
> From: Raviteja Narayanam <raviteja.narayanam@...inx.com>
>
> From 'clock-frequency' device tree property, configure I2C SCL
> frequency by calculating the timing register values according to
> input clock.
>
> 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.
>
> Signed-off-by: Raviteja Narayanam <raviteja.narayanam@...inx.com>
> Signed-off-by: Manikanta Guntupalli <manikanta.guntupalli@....com>
> Acked-by: Michal Simek <michal.simek@....com>
Applied to for-next, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists