Commit 0c515e4972c7367d6cb1b75c305117cfc2310f1d
1 parent
4a75c31bbf
Exists in
smarc-imx_v2018.03_4.14.78_1.0.0_ga
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> (cherry picked from commit f4c76d52da9c272b275adf26145d033099cd1974)
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 |