projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f93ce98
)
clk: k210: Move the clint clock to under aclk
author
Sean Anderson
<seanga2@gmail.com>
Fri, 9 Apr 2021 02:13:07 +0000
(22:13 -0400)
committer
Leo Yu-Chi Liang
<ycliang@andestech.com>
Fri, 14 May 2021 08:20:48 +0000
(16:20 +0800)
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>
drivers/clk/kendryte/clk.c
patch
|
blob
|
history
diff --git
a/drivers/clk/kendryte/clk.c
b/drivers/clk/kendryte/clk.c
index
ab86533
..
5091f07
100644
(file)
--- 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;
}