Skip to contentSkip to conversation

imx8m: clock: Fix oscilattor values

PATCH Superseded Fabio Estevam 1 participant 1 message Dec 28, 2018

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 imx8m: clock: Fix oscilattor values

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.

---
 arch/arm/mach-imx/imx8m/clock.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-imx/imx8m/clock.c +2 -2
index 3766d988ba..289b9417aa 100644
@@ -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 25000000;
+		return 27000000;
 	case OSC_32K_CLK:
-		return 32000;
+		return 32768;
 	case ARM_PLL_CLK:
 		return decode_frac_pll(root_src);
 	case SYSTEM_PLL1_800M_CLK:
Signature · 1 line
2.17.1