msm: copper: Add Low Power Management drivers for CPUIdle
When the core is in idle, CPUIdle framework calls into the architecture
specific idle driver. The idle driver uses RPM resources (L2, VDD, XO)
and the time available to determine the lowest power mode possible and
uses the SPM driver to put the core in low power mode.
Add LPM levels that specify the latency and the energy required to enter
different low power modes. These values are used to determine how deep a
sleep can be achieved before the next scheduled wakeup.
Change-Id: Ia2ba25e618aa72cb02f49fbd0028a0615e465dc8
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>
5 files changed