Skip to content

Commit 18d6d8f

Browse files
Haibo Chenabelvesa
authored andcommitted
clk: imx93: use adc_root as the parent clock of adc1
When debug, find after system boot up, all adc register operation will trigger system hang, this is because the internal adc ipg clock is gate off. In dts, only reference the IMX93_CLK_ADC1_GATE, which is adc1, no one touch the adc_root, so adc_root will be gate off automatically after system boot up. Fixes: 24defbe ("clk: imx: add i.MX93 clk") Signed-off-by: Haibo Chen <[email protected]> Signed-off-by: Jacky Bai <[email protected]> Signed-off-by: Peng Fan <[email protected]> Reviewed-by: Peng Fan <[email protected]> Reviewed-by: Abel Vesa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Abel Vesa <[email protected]>
1 parent f2906aa commit 18d6d8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/imx/clk-imx93.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ static const struct imx93_clk_ccgr {
150150
{ IMX93_CLK_A55_GATE, "a55", "a55_root", 0x8000, },
151151
/* M33 critical clk for system run */
152152
{ IMX93_CLK_CM33_GATE, "cm33", "m33_root", 0x8040, CLK_IS_CRITICAL },
153-
{ IMX93_CLK_ADC1_GATE, "adc1", "osc_24m", 0x82c0, },
153+
{ IMX93_CLK_ADC1_GATE, "adc1", "adc_root", 0x82c0, },
154154
{ IMX93_CLK_WDOG1_GATE, "wdog1", "osc_24m", 0x8300, },
155155
{ IMX93_CLK_WDOG2_GATE, "wdog2", "osc_24m", 0x8340, },
156156
{ IMX93_CLK_WDOG3_GATE, "wdog3", "osc_24m", 0x8380, },

0 commit comments

Comments
 (0)