[PATCH v4 03/10] i2c: meson: set clock divider in probe instead of setting it for each transfer

Heiner Kallweit hkallweit1 at gmail.com
Thu Mar 23 23:45:25 PDT 2017


Am 23.03.2017 um 21:31 schrieb Wolfram Sang:
> On Tue, Mar 14, 2017 at 10:53:29PM +0100, Heiner Kallweit wrote:
>> The bus frequency won't change, therefore we can set the clock divider
>> in probe already and we don't have to set it for each transfer.
> 
> This is true for some SoCs, but not for all. So, some proof we can
> really do it like this would be nice in the commit message, e.g. "parent
> clock is fixed anyhow" or something.
> 
Here the bus frequency is fixed to what is set in DT. I'll extend
the commit message.

>>
>> Signed-off-by: Heiner Kallweit <hkallweit1 at gmail.com>




More information about the linux-amlogic mailing list