mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-30 11:03:07 -04:00
clk: eswin: Add CLK_IGNORE_UNUSED to NoC clock
The gate_noc_nsp_clk provides the essential clock source for NPU,
DSP, and PCIe subsystems. During kernel init, the clock framework
attempts to disable unused clocks when clk_ignore_unused kernel
parameter is not set.
However, gate_noc_nsp_clk is required to remain enabled for these
critical subsystems to function properly, causing PCIe boot failures
when auto-disabled.
Add CLK_IGNORE_UNUSED flag to gate_noc_nsp_clk to ensure it stays
enabled even when clk_ignore_unused is not specified in kernel
command line.
Fixes: cd44f127c1 ("clk: eswin: Add eic7700 clock driver")
Signed-off-by: Xuyang Dong <dongxuyang@eswincomputing.com>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Brian Masney <bmasney@redhat.com>
This commit is contained in:
committed by
Brian Masney
parent
4adf593c6f
commit
22109b7329
@@ -791,7 +791,8 @@ static struct eswin_clk_info eic7700_clks[] = {
|
||||
EIC7700_CLK_MUX_CPU_ROOT_3MUX1_GFREE,
|
||||
CLK_SET_RATE_PARENT, EIC7700_REG_OFFSET_U84, 27, 0),
|
||||
ESWIN_GATE_TYPE(EIC7700_CLK_GATE_NOC_NSP_CLK, "gate_noc_nsp_clk",
|
||||
EIC7700_CLK_DIV_NOC_NSP_DYNM, CLK_SET_RATE_PARENT,
|
||||
EIC7700_CLK_DIV_NOC_NSP_DYNM,
|
||||
CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED,
|
||||
EIC7700_REG_OFFSET_NOC, 31, 0),
|
||||
ESWIN_GATE_TYPE(EIC7700_CLK_GATE_BOOTSPI, "gate_clk_bootspi",
|
||||
EIC7700_CLK_MUX_BOOTSPI_CLK_2MUX1_GFREE,
|
||||
|
||||
Reference in New Issue
Block a user