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:
f7e475d
)
imx8m: clock: Fix oscillator values
author
Fabio Estevam
<festevam@gmail.com>
Fri, 28 Dec 2018 18:43:01 +0000
(16:43 -0200)
committer
Stefano Babic
<sbabic@denx.de>
Wed, 9 Jan 2019 16:10:30 +0000
(17:10 +0100)
OSC_27M_CLK should return 27MHz and OSC_32K_CLK should return
32768Hz to reflect the reality.
This also keeps the values in sync with the Linux clock tree.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
arch/arm/mach-imx/imx8m/clock.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/imx8m/clock.c
b/arch/arm/mach-imx/imx8m/clock.c
index
3766d98
..
289b941
100644
(file)
--- a/
arch/arm/mach-imx/imx8m/clock.c
+++ b/
arch/arm/mach-imx/imx8m/clock.c
@@
-250,9
+250,9
@@
static u32 get_root_src_clk(enum clk_root_src root_src)
case OSC_25M_CLK:
return 25000000;
case OSC_27M_CLK:
- return 2
5
000000;
+ return 2
7
000000;
case OSC_32K_CLK:
- return 32
000
;
+ return 32
768
;
case ARM_PLL_CLK:
return decode_frac_pll(root_src);
case SYSTEM_PLL1_800M_CLK: