[PATCH 0/2] clk: thead: Fix TH1520 boot dependency on clk_ignore_unused
From: Drew Fustini
Date: Sun Dec 29 2024 - 02:47:55 EST
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@xxxxxxxxxxxxxxx>
---
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@xxxxxxxxxxxxxxx>