public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND 0/2] clk: thead: Fix TH1520 boot dependency on clk_ignore_unused
@ 2025-01-13 20:31 Drew Fustini
  2025-01-13 20:31 ` [PATCH RESEND 1/2] clk: thead: Fix clk gate registration to pass flags Drew Fustini
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Drew Fustini @ 2025-01-13 20:31 UTC (permalink / raw)
  To: Drew Fustini, Guo Ren, Fu Wei, Michael Turquette, Stephen Boyd,
	Jisheng Zhang, Yangtao Li
  Cc: linux-riscv, linux-clk, linux-kernel, Drew Fustini

Add the CLK_IGNORE_UNUSED flag to apb_pclk, cpu2peri_x2h_clk,
perisys_apb2_hclk and perisys_apb3_hclk. Without this flag, the boot
hangs after "clk: Disabling unused clocks" unless clk_ignore_unused
is in the kernel cmdline.

In order to allow individual clk gates to specify their own flags,
the call to devm_clk_hw_register_gate_parent_data() is changeed to
actually pass the clk flags instead of just 0.

This series is based on linux-next.

Signed-off-by: Drew Fustini <dfustini@tenstorrent.com>
---
Drew Fustini (2):
      clk: thead: Fix clk gate registration to pass flags
      clk: thead: Add CLK_IGNORE_UNUSED to fix TH1520 boot

 drivers/clk/thead/clk-th1520-ap.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
---
base-commit: 8155b4ef3466f0e289e8fcc9e6e62f3f4dceeac2
change-id: 20241227-th1520-clk_ignore_unused-32b2d02ede38

Best regards,
-- 
Drew Fustini <dfustini@tenstorrent.com>


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

end of thread, other threads:[~2025-02-03 19:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-13 20:31 [PATCH RESEND 0/2] clk: thead: Fix TH1520 boot dependency on clk_ignore_unused Drew Fustini
2025-01-13 20:31 ` [PATCH RESEND 1/2] clk: thead: Fix clk gate registration to pass flags Drew Fustini
2025-01-13 21:38   ` Stephen Boyd
2025-01-13 20:31 ` [PATCH RESEND 2/2] clk: thead: Add CLK_IGNORE_UNUSED to fix TH1520 boot Drew Fustini
2025-01-13 21:38   ` Stephen Boyd
2025-02-03 19:15 ` [PATCH RESEND 0/2] clk: thead: Fix TH1520 boot dependency on clk_ignore_unused patchwork-bot+linux-riscv

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