1
0
Fork 0
alistair23-linux/drivers/clk/imx
Abel Vesa e412625f38 clk: imx8mq: Fix usdhc parents order
[ Upstream commit b159c63d82 ]

According to the latest RM (see Table 5-1. Clock Root Table),
both usdhc root clocks have the parent order as follows:

000 - 25M_REF_CLK
001 - SYSTEM_PLL1_DIV2
010 - SYSTEM_PLL1_CLK
011 - SYSTEM_PLL2_DIV2
100 - SYSTEM_PLL3_CLK
101 - SYSTEM_PLL1_DIV3
110 - AUDIO_PLL2_CLK
111 - SYSTEM_PLL1_DIV8

So the audio_pll2_out and sys3_pll_out have to be swapped.

Fixes: b80522040c ("clk: imx: Add clock driver for i.MX8MQ CCM")
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reported-by: Cosmin Stefan Stoica <cosmin.stoica@nxp.com>
Link: https://lore.kernel.org/r/1602753944-30757-1-git-send-email-abel.vesa@nxp.com
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 09:57:56 +01:00
..
Kconfig clk: imx: Add support for i.MX8MN clock driver 2019-08-03 09:16:02 +02:00
Makefile clk: imx: Add support for i.MX8MN clock driver 2019-08-03 09:16:02 +02:00
clk-busy.c This round of clk driver and framework updates is heavy on the driver update 2019-07-17 10:07:48 -07:00
clk-composite-7ulp.c clk: imx: add imx7ulp composite clk support 2018-12-03 11:31:36 -08:00
clk-composite-8m.c clk: imx: clk-composite-8m: add lock to gate/mux 2019-12-31 16:46:14 +01:00
clk-cpu.c This round of clk driver and framework updates is heavy on the driver update 2019-07-17 10:07:48 -07:00
clk-divider-gate.c clk: core: replace clk_{readl,writel} with {readl,writel} 2019-04-23 10:57:49 -07:00
clk-fixup-div.c This round of clk driver and framework updates is heavy on the driver update 2019-07-17 10:07:48 -07:00
clk-fixup-mux.c This round of clk driver and framework updates is heavy on the driver update 2019-07-17 10:07:48 -07:00
clk-frac-pll.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
clk-gate-exclusive.c This round of clk driver and framework updates is heavy on the driver update 2019-07-17 10:07:48 -07:00
clk-gate2.c This round of clk driver and framework updates is heavy on the driver update 2019-07-17 10:07:48 -07:00
clk-imx1.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
clk-imx5.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-imx6q.c This round of clk driver and framework updates is heavy on the driver update 2019-07-17 10:07:48 -07:00
clk-imx6sl.c This round of clk driver and framework updates is heavy on the driver update 2019-07-17 10:07:48 -07:00
clk-imx6sll.c Merge branches 'clk-rpi-cpufreq', 'clk-tegra', 'clk-simplify-provider.h', 'clk-sprd' and 'clk-at91' into clk-next 2019-07-12 11:11:30 -07:00
clk-imx6sx.c This round of clk driver and framework updates is heavy on the driver update 2019-07-17 10:07:48 -07:00
clk-imx6ul.c This round of clk driver and framework updates is heavy on the driver update 2019-07-17 10:07:48 -07:00
clk-imx7d.c This round of clk driver and framework updates is heavy on the driver update 2019-07-17 10:07:48 -07:00
clk-imx7ulp.c clk: imx7ulp: Correct DDR clock mux options 2020-01-23 08:23:00 +01:00
clk-imx8mm.c clk: imx8m: Use SYS_PLL1_800M as intermediate parent of CLK_ARM 2019-10-28 02:45:37 -07:00
clk-imx8mn.c clk: imx8m: Use SYS_PLL1_800M as intermediate parent of CLK_ARM 2019-10-28 02:45:37 -07:00
clk-imx8mq.c clk: imx8mq: Fix usdhc parents order 2020-10-29 09:57:56 +01:00
clk-imx8qxp-lpcg.c clk: imx8: Add DSP related clocks 2019-08-03 09:16:02 +02:00
clk-imx8qxp-lpcg.h clk: imx: add imx8qxp lpcg driver 2018-12-14 13:01:14 -08:00
clk-imx8qxp.c clk: imx: scu: add fallback compatible string support 2019-02-21 12:41:16 -08:00
clk-imx21.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
clk-imx25.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 1 2019-05-21 11:28:39 +02:00
clk-imx27.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
clk-imx31.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 21 2019-05-21 11:28:47 +02:00
clk-imx35.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-lpcg-scu.c clk: imx: add lpcg clock support 2018-12-14 13:00:51 -08:00
clk-pfd.c This round of clk driver and framework updates is heavy on the driver update 2019-07-17 10:07:48 -07:00
clk-pfdv2.c clk: imx: Fix division by zero warning on pfdv2 2020-10-01 13:17:40 +02:00
clk-pll14xx.c clk: imx: pll14xx: Fix quick switch of S/K parameter 2020-01-17 19:48:49 +01:00
clk-pllv1.c We have two changes to the core framework this time around. The first being a 2017-11-17 20:04:24 -08:00
clk-pllv2.c clk: imx: pllv2: avoid using uninitialized values 2018-03-16 15:40:41 -07:00
clk-pllv3.c This round of clk driver and framework updates is heavy on the driver update 2019-07-17 10:07:48 -07:00
clk-pllv4.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
clk-sccg-pll.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
clk-scu.c clk: imx: Align imx sc clock parent msg structs to 4 2020-04-02 15:11:02 +02:00
clk-scu.h clk: imx: scu: add set parent support 2019-02-21 12:41:16 -08:00
clk-vf610.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
clk.c clk: imx: Add API for clk unregister when driver probe fail 2019-08-03 09:16:01 +02:00
clk.h clk: imx: Add correct failure handling for clk based helpers 2020-02-24 08:36:34 +01:00