[PATCH] drivers: i2c: designware_i2c: Remove clock disabling code
Heiko Schocher
hs at denx.de
Wed Jul 16 09:28:17 CEST 2025
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?
Thanks!
bye,
Heiko
>
> Cheers,
> Quentin
--
DENX Software Engineering GmbH, Managing Director: Johanna Denk, Tabea Lutz
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de
More information about the U-Boot
mailing list