Commit f4c76d52da9c272b275adf26145d033099cd1974
1 parent
d152aa00a6
Exists in
smarc_8mm-imx_v2018.03_4.14.98_2.0.0_ga
and in
4 other branches
MLK-20602 imx8mq: Change clock source of GIC
Change the the GIC clock source to sys_pll2_200m. Improve the IRQ response latency. Signed-off-by: Bai Ping <ping.bai@nxp.com>
Showing 1 changed file with 5 additions and 0 deletions Side-by-side Diff
arch/arm/mach-imx/imx8m/clock_imx8mq.c
... | ... | @@ -829,6 +829,11 @@ |
829 | 829 | clock_enable(CCGR_TSENSOR, 1); |
830 | 830 | clock_enable(CCGR_OCOTP, 1); |
831 | 831 | |
832 | + /* config GIC to sys_pll2_200m */ | |
833 | + clock_enable(CCGR_GIC, 0); | |
834 | + clock_set_target_val(GIC_CLK_ROOT, CLK_ROOT_ON | CLK_ROOT_SOURCE_SEL(1)); | |
835 | + clock_enable(CCGR_GIC, 1); | |
836 | + | |
832 | 837 | return 0; |
833 | 838 | } |
834 | 839 | #endif |