diff options
author | Sean Anderson <seanga2@gmail.com> | 2021-04-09 05:13:07 +0300 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2021-05-14 11:20:48 +0300 |
commit | 800c7f6a1fadd6f954e5bac1515cda2231a78464 (patch) | |
tree | 8d57b85c3e32132766e7b028d62d81568ef3df03 /drivers/clk | |
parent | f93ce98eb22965f3c404fa7615e970c21248db52 (diff) | |
download | u-boot-800c7f6a1fadd6f954e5bac1515cda2231a78464.tar.xz |
clk: k210: Move the clint clock to under aclk
No other (real) clocks have the cpu clock as their parent; instead they are
children of aclk. Move the clint clock under aclk to match them.
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/kendryte/clk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/kendryte/clk.c b/drivers/clk/kendryte/clk.c index ab86533bb4..5091f07eb0 100644 --- a/drivers/clk/kendryte/clk.c +++ b/drivers/clk/kendryte/clk.c @@ -643,7 +643,7 @@ static int k210_clk_probe(struct udevice *dev) /* The MTIME register in CLINT runs at one 50th the CPU clock speed */ clk_dm(K210_CLK_CLINT, - clk_register_fixed_factor(NULL, "clint", "cpu", 0, 1, 50)); + clk_register_fixed_factor(NULL, "clint", "aclk", 0, 1, 50)); return 0; } |