public inbox for linux-clk@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND(2) 0/1] Ensure that HiKey 970 won't hang during boot time
@ 2021-12-15  8:57 Mauro Carvalho Chehab
  2021-12-15  8:57 ` [PATCH RESEND(2) 1/1] clk: clk-hi3670: mark some clocks as CLK_IS_CRITICAL Mauro Carvalho Chehab
  0 siblings, 1 reply; 2+ messages in thread
From: Mauro Carvalho Chehab @ 2021-12-15  8:57 UTC (permalink / raw)
  Cc: Mauro Carvalho Chehab, Michael Turquette, Stephen Boyd,
	Arnd Bergmann, linux-clk, linux-kernel

Second resend attempt. Didn't get any feedback about this series yet.

During HiKey 970 boot, hundreds of clock lines are disabled, causing the device to
hang.

There are actually two issues here:

1. The clk core doesn't wait enough time for the device drivers to be probed
    before agressively disabling "unused" clocks. This was noticed at the
    drivers built as modules;
2. Several HiKey 970 gates are essencial for the device to work, but they're
    not marked as such.

The first patch fixes the clk core issue, while second one marks the mandatory
clocks as such.

Mauro Carvalho Chehab (1):
  clk: clk-hi3670: mark some clocks as CLK_IS_CRITICAL

 drivers/clk/hisilicon/clk-hi3670.c | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

-- 
2.33.1



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

end of thread, other threads:[~2021-12-15  8:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-15  8:57 [PATCH RESEND(2) 0/1] Ensure that HiKey 970 won't hang during boot time Mauro Carvalho Chehab
2021-12-15  8:57 ` [PATCH RESEND(2) 1/1] clk: clk-hi3670: mark some clocks as CLK_IS_CRITICAL Mauro Carvalho Chehab

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