mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-18 02:46:06 +00:00
clk: sprd: Fix thm_parents incorrect configuration
The thm*_clk have two clock sources 32k and 250k,excluding 32m. Fixes: af3bd36573e3 ("clk: sprd: Add clocks support for UMS512") Signed-off-by: Zhifeng Tang <zhifeng.tang@unisoc.com> Acked-by: Chunyan Zhang <zhang.lyra@gmail.com> Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com> Link: https://lore.kernel.org/r/20230824092624.20020-1-zhifeng.tang@unisoc.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
parent
eec11486d1
commit
b7b20cfe6f
@ -800,7 +800,7 @@ static SPRD_MUX_CLK_DATA(uart1_clk, "uart1-clk", uart_parents,
|
|||||||
0x250, 0, 3, UMS512_MUX_FLAG);
|
0x250, 0, 3, UMS512_MUX_FLAG);
|
||||||
|
|
||||||
static const struct clk_parent_data thm_parents[] = {
|
static const struct clk_parent_data thm_parents[] = {
|
||||||
{ .fw_name = "ext-32m" },
|
{ .fw_name = "ext-32k" },
|
||||||
{ .hw = &clk_250k.hw },
|
{ .hw = &clk_250k.hw },
|
||||||
};
|
};
|
||||||
static SPRD_MUX_CLK_DATA(thm0_clk, "thm0-clk", thm_parents,
|
static SPRD_MUX_CLK_DATA(thm0_clk, "thm0-clk", thm_parents,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user