[PATCH v8 4/5] i2c: davinci: add support for setting bus frequency

Andy Shevchenko andriy.shevchenko at intel.com
Mon Mar 16 03:00:16 PDT 2026


On Sat, Mar 14, 2026 at 10:22:43AM +0100, Marcus Folkesson wrote:
> Populate adapter with clock_hz and .set_clk_freq() to enable support for
> dynamic bus frequency.
> 
> Remove bus_freq_hz entirely and only use clock_hz instead.

...

>  	u32 input_clock = clk_get_rate(dev->clk);
> +	u32 bus_freq_hz = dev->adapter.clock_hz;

> +

Stray blank line. We have already one below.

>  
>  	/* NOTE: I2C Clock divider programming info
>  	 * As per I2C specs the following formulas provide prescaler

-- 
With Best Regards,
Andy Shevchenko





More information about the linux-arm-kernel mailing list