[PATCH] drivers: i2c: designware_i2c: Remove clock disabling code

Quentin Schulz quentin.schulz at cherry.de
Mon Jul 14 11:59:00 CEST 2025


Hi Naresh,

On 7/1/25 6:52 AM, Naresh Kumar Ravulapalli wrote:
> When i2c device is removed, l4_sp_clk is disabled; this would cause
> unexpected behaviour for peripherals still running with l4_sp_clk.
> This patch resolves the clock issue.
> 

Shouldn't we rather have those peripherals enable the l4_sp_clk as well 
so that the refcount is higher and the clock can be disabled whenever 
there isn't any user of that clock anymore?

Cheers,
Quentin


More information about the U-Boot mailing list