]> git.baikalelectronics.ru Git - kernel.git/commitdiff
clk: imx: replace osc_hdmi with dummy
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Thu, 17 Nov 2022 11:36:34 +0000 (12:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:41:06 +0000 (11:41 +0100)
[ Upstream commit e7fa365ff66f16772dc06b480cd78f858d10856b ]

There is no occurrence of the hdmi oscillator in the reference manual
(document IMX8MNRM Rev 2, 07/2022). Further, if we consider the indexes
76-81 and 134 of the "Clock Root" table of chapter 5 of the RM, there is
no entry for the source select bits 101b, which is the setting referenced
by "osc_hdmi".
Fix by renaming "osc_hdmi" with "dummy", a clock which has already been
used for missing source select bits.

Tested on the BSH SystemMaster (SMM) S2 board.

Fixes: 75c04db8d9e7e ("clk: imx: Add support for i.MX8MN clock driver")
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Acked-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20221117113637.1978703-3-dario.binacchi@amarulasolutions.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/imx/clk-imx8mn.c

index d520a8c5eabb502aba0d95d5bbfe62938d45fb64..9d33321c89bdac447c1cd4b2c27c80138280fe28 100644 (file)
@@ -189,27 +189,27 @@ static const char * const imx8mn_disp_pixel_sels[] = {"osc_24m", "video_pll1_out
                                                      "sys_pll3_out", "clk_ext4", };
 
 static const char * const imx8mn_sai2_sels[] = {"osc_24m", "audio_pll1_out", "audio_pll2_out",
-                                               "video_pll1_out", "sys_pll1_133m", "osc_hdmi",
+                                               "video_pll1_out", "sys_pll1_133m", "dummy",
                                                "clk_ext3", "clk_ext4", };
 
 static const char * const imx8mn_sai3_sels[] = {"osc_24m", "audio_pll1_out", "audio_pll2_out",
-                                               "video_pll1_out", "sys_pll1_133m", "osc_hdmi",
+                                               "video_pll1_out", "sys_pll1_133m", "dummy",
                                                "clk_ext3", "clk_ext4", };
 
 static const char * const imx8mn_sai5_sels[] = {"osc_24m", "audio_pll1_out", "audio_pll2_out",
-                                               "video_pll1_out", "sys_pll1_133m", "osc_hdmi",
+                                               "video_pll1_out", "sys_pll1_133m", "dummy",
                                                "clk_ext2", "clk_ext3", };
 
 static const char * const imx8mn_sai6_sels[] = {"osc_24m", "audio_pll1_out", "audio_pll2_out",
-                                               "video_pll1_out", "sys_pll1_133m", "osc_hdmi",
+                                               "video_pll1_out", "sys_pll1_133m", "dummy",
                                                "clk_ext3", "clk_ext4", };
 
 static const char * const imx8mn_sai7_sels[] = {"osc_24m", "audio_pll1_out", "audio_pll2_out",
-                                               "video_pll1_out", "sys_pll1_133m", "osc_hdmi",
+                                               "video_pll1_out", "sys_pll1_133m", "dummy",
                                                "clk_ext3", "clk_ext4", };
 
 static const char * const imx8mn_spdif1_sels[] = {"osc_24m", "audio_pll1_out", "audio_pll2_out",
-                                                 "video_pll1_out", "sys_pll1_133m", "osc_hdmi",
+                                                 "video_pll1_out", "sys_pll1_133m", "dummy",
                                                  "clk_ext2", "clk_ext3", };
 
 static const char * const imx8mn_enet_ref_sels[] = {"osc_24m", "sys_pll2_125m", "sys_pll2_50m",