summaryrefslogtreecommitdiffstats
path: root/drivers/clk/imx/clk-imx93.c
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2023-04-03 11:52:58 +0200
committerAbel Vesa <abel.vesa@linaro.org>2023-04-09 15:48:54 +0200
commita740d7350ff77ce1ebbdc3b9c548dd3bcaf39b31 (patch)
tree3a4e8616758c5eb541739ca7fcbb9fc552288d9c /drivers/clk/imx/clk-imx93.c
parentclk: imx: fracn-gppll: Add 300MHz freq support for imx9 (diff)
downloadlinux-a740d7350ff77ce1ebbdc3b9c548dd3bcaf39b31.tar.xz
linux-a740d7350ff77ce1ebbdc3b9c548dd3bcaf39b31.zip
clk: imx: imx93: add mcore_booted module paratemter
Add mcore_booted boot parameter which could simplify AMP clock management. To i.MX93, there is CCM(clock control Module) to generate clock root clock, anatop(analog PLL module) to generate PLL, and LPCG (clock gating) to gate clocks to peripherals. As below: anatop->ccm->lpcg->peripheral Linux handles the clock management and the auxiliary core is under control of Linux. Although there is per hardware domain control for LPCG and CCM, auxiliary core normally only use LPCG hardware domain control to avoid linux gate off the clk to peripherals and leave CCM ana anatop to Linux. Reviewed-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Abel Vesa <abel.vesa@linaro.org> Link: https://lore.kernel.org/r/20230403095300.3386988-6-peng.fan@oss.nxp.com Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Diffstat (limited to '')
-rw-r--r--drivers/clk/imx/clk-imx93.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/imx/clk-imx93.c b/drivers/clk/imx/clk-imx93.c
index 8d0974db6bfd..de1ed1d8ba54 100644
--- a/drivers/clk/imx/clk-imx93.c
+++ b/drivers/clk/imx/clk-imx93.c
@@ -352,6 +352,8 @@ static struct platform_driver imx93_clk_driver = {
},
};
module_platform_driver(imx93_clk_driver);
+module_param(mcore_booted, bool, 0444);
+MODULE_PARM_DESC(mcore_booted, "See Cortex-M core is booted or not");
MODULE_DESCRIPTION("NXP i.MX93 clock driver");
MODULE_LICENSE("GPL v2");