Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: imx7d: fix ahb clock mux 1

The clock parent of the AHB root clock when using mux option 1
is the SYS PLL 270MHz clock. This is specified in Table 5-11
Clock Root Table of the i.MX 7Dual Applications Processor
Reference Manual.

While it could be a documentation error, the 270MHz parent is
also mentioned in the boot ROM configuration in Table 6-28: The
clock is by default at 135MHz due to a POST_PODF value of 1
(=> divider of 2).

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Stefan Agner and committed by
Shawn Guo
92a847e3 585a60f2

+1 -1
+1 -1
drivers/clk/imx/clk-imx7d.c
··· 56 56 "pll_sys_pfd2_135m_clk", "pll_sys_pfd6_clk", "pll_enet_250m_clk", 57 57 "pll_audio_main_clk", }; 58 58 59 - static const char *ahb_channel_sel[] = { "osc", "pll_sys_pfd2_135m_clk", 59 + static const char *ahb_channel_sel[] = { "osc", "pll_sys_pfd2_270m_clk", 60 60 "pll_dram_533m_clk", "pll_sys_pfd0_392m_clk", 61 61 "pll_enet_125m_clk", "pll_usb_main_clk", "pll_audio_main_clk", 62 62 "pll_video_main_clk", };