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

Ravulapalli, Naresh Kumar nareshkumar.ravulapalli at altera.com
Thu Jul 17 13:09:09 CEST 2025


Hi Quentin and Heiko

On 16-Jul-25 12:58 PM, Heiko Schocher wrote:
> Hello Quentin,
> 
> On 14.07.25 11:59, Quentin Schulz wrote:
>> 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?
> 
> Yes, thought this too... Naresh, could you take a look at this, please?
Sure, I will look into this.

Kind Regards
Naresh
> 
> Thanks!
> 
> bye,
> Heiko
>>
>> Cheers,
>> Quentin
> 




More information about the U-Boot mailing list