projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e09445
)
imx8m: clock: improve irq response latency
author
Peng Fan
<peng.fan@nxp.com>
Wed, 16 Oct 2019 10:24:20 +0000
(10:24 +0000)
committer
Stefano Babic
<sbabic@denx.de>
Sun, 3 Nov 2019 16:04:16 +0000
(17:04 +0100)
Improve the IRQ response latency by setting GIC root clock source to
sys_pll2_200m from osc.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx8m/clock_imx8mq.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/imx8m/clock_imx8mq.c
b/arch/arm/mach-imx/imx8m/clock_imx8mq.c
index 5c3f780127b6ac3abff7d653a208510fc5b8f32d..04903510f07e0d5e7e903ab741c1362f7c001c49 100644
(file)
--- a/
arch/arm/mach-imx/imx8m/clock_imx8mq.c
+++ b/
arch/arm/mach-imx/imx8m/clock_imx8mq.c
@@
-806,6
+806,12
@@
int clock_init(void)
clock_enable(CCGR_TSENSOR, 1);
clock_enable(CCGR_OCOTP, 1);
+ /* config GIC ROOT to sys_pll2_200m */
+ clock_enable(CCGR_GIC, 0);
+ clock_set_target_val(GIC_CLK_ROOT,
+ CLK_ROOT_ON | CLK_ROOT_SOURCE_SEL(1));
+ clock_enable(CCGR_GIC, 1);
+
return 0;
}
#endif