[RFC] ARM: Enable dynamic clock gating?
soren.brinkmann at xilinx.com
Thu Jul 31 07:24:17 PDT 2014
similar to the patch enabling the SCU standby mode
(https://lkml.org/lkml/2014/7/30/122), I have a patch to enable the A9's
'dynamic clock gating'
in platform code. This might also be a candidate to enable in common
Do you think that would make sense?
I tried to find the right place to add this and was looking at
mm/proc-v7.S. It probably works to put it there, but does not really
seem to be the right place.
As reference, this is what I currently have as part of platform code:
/* A9 clock gating */
asm volatile ("mrc p15, 0, r12, c15, c0, 0\n"
"orr r12, r12, #1\n"
"mcr p15, 0, r12, c15, c0, 0\n"
: /* no outputs */
: /* no inputs */
More information about the linux-arm-kernel