mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Question on pre running clocks
@ 2023-10-20  7:07 Arun KS
  2023-10-20  7:09 ` Arun KS
  0 siblings, 1 reply; 3+ messages in thread
From: Arun KS @ 2023-10-20  7:07 UTC (permalink / raw)
  To: linux-kernel; +Cc: sboyd, mturquette, Arun KS

Hello,

Lets say there is a clock which is enabled by bootloaders and is pre
running as linux boots.
Is it mandatory for the client drivers to call clk_prepare_enable() on
them to initialise the enable_count to 1?

Or is there a way we can specify to the kernel that this clock is
already enabled by bootloader and initialise the enable_count for this
clock to 1.

Because otherwise, clk_disable() prints a WARN() if a client driver
uses clock handle where clk_prepare_enable() is not called.

I grep through the code, but could find any details. Appreciate any pointers.

Regards,
Arun

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-24  2:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-20  7:07 Question on pre running clocks Arun KS
2023-10-20  7:09 ` Arun KS
2023-10-24  2:42   ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome