clk: imx93: use adc_root as the parent clock of adc1
authorHaibo Chen <haibo.chen@nxp.com>
Thu, 9 Jun 2022 13:28:56 +0000 (21:28 +0800)
committerAbel Vesa <abelvesa@kernel.org>
Thu, 16 Jun 2022 14:28:59 +0000 (17:28 +0300)
commit18d6d8fe4f24938985844d52c481b86fcce9d102
treec571ed82f082a4f864339145ce43520811e4c22f
parentf2906aa863381afb0015a9eb7fefad885d4e5a56
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: 24defbe194b6 ("clk: imx: add i.MX93 clk")
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20220609132902.3504651-2-peng.fan@oss.nxp.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
drivers/clk/imx/clk-imx93.c