Skip to contentSkip to conversation

imx8m: update clock root and fix core_sel

PATCH New Peng Fan 1 participant 1 message Apr 27, 2020

Subsystems (3)
lore
Share & tools
lore

Peng Fan

author
#0 lore raw

PATCH v2 10/24 imx8m: update clock root and fix core_sel

Update clock root table to let it be easy to configure clock at very early stage. Also the core_sel mux parent should be A53 CLK root and ARM PLL.

---

V2:
Add Fabio's R-b tag
Based on Marek's fec clock part to avoid conflict when merge. other patches in v1 patchset non changed.
After CI, I'll post a new PR

 arch/arm/include/asm/arch-imx8m/clock_imx8mm.h |   3 +-
 arch/arm/mach-imx/imx8m/clock_slice.c          | 791 ++++++++++++++++++++++++-
 2 files changed, 780 insertions(+), 14 deletions(-)
arch/arm/include/asm/arch-imx8m/clock_imx8mm.h +2 -1
index debed6bac7..84ed61d21e 100644
@@ -363,7 +363,8 @@ enum clk_root_src {
 	EXT_CLK_2,
 	EXT_CLK_3,
 	EXT_CLK_4,
-	OSC_HDMI_CLK
+	OSC_HDMI_CLK,
+	ARM_A53_ALT_CLK,
 };
 
 enum clk_ccgr_index {
arch/arm/mach-imx/imx8m/clock_slice.c +778 -13

884 lines not on this page · raw message

Signature · 1 line
2.16.4