]> asedeno.scripts.mit.edu Git - linux.git/commit
clk: imx8m: Add GIC clock
authorLeonard Crestez <leonard.crestez@nxp.com>
Wed, 22 May 2019 09:48:30 +0000 (09:48 +0000)
committerShawn Guo <shawnguo@kernel.org>
Thu, 23 May 2019 13:14:41 +0000 (21:14 +0800)
commit53c6a2ec018bb07aeb1e2b1d7db8521f1e56d221
treefd9b9b9444926be25d42265aca99eafbc4e6aaa1
parent87def8d0d5bfc32bf8a221b63addb8a051cbf017
clk: imx8m: Add GIC clock

This is documented in the reference manuals as GIC_CLK_ROOT.

In some out-of-tree DVFS scenarios the gic clock can end up as the only
user of sys_pll2 so if we don't define the gic clk explicitly it might
be turned off.

This applies to both 8mq and 8mm: same clk register but diffferent
parents.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-imx8mm.c
drivers/clk/imx/clk-imx8mq.c