[PATCH 3/3] i2c: meson: fixup rate calculation with filter delay

Wolfram Sang wsa at kernel.org
Thu Oct 8 06:00:34 EDT 2020


On Wed, Oct 07, 2020 at 10:07:51AM +0200, Jerome Brunet wrote:
> From: Nicolas Belin <nbelin at baylibre.com>
> 
> Apparently, 15 cycles of the peripheral clock are used by the controller
> for sampling and filtering. Because this was not known before, the rate
> calculation is slightly off.
> 
> Clean up and fix the calculation taking this filtering delay into account.
> 
> Fixes: 30021e3707a7 ("i2c: add support for Amlogic Meson I2C controller")
> Signed-off-by: Nicolas Belin <nbelin at baylibre.com>
> Signed-off-by: Jerome Brunet <jbrunet at baylibre.com>

Applied to for-current, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-amlogic/attachments/20201008/0721efe8/attachment.sig>


More information about the linux-amlogic mailing list