drivers: arm: cpuidle: support ARMv7 targets for lpm governor
QCOM's low power mode cpuidle driver support ARM v8 targets primarily.
The initialization of PSCI for ARM v7 targets is done through the
generic ARM cpuidle driver. Since LPM driver replaces the ARM's default
driver for QCOM SoC's including the ARM v7 variants, we now have the
responsibility of initializing the PSCI cpuidle ops.
Also, since QCOM SoCs do not use ARM idle state definitions as suggested
in [1], the initialization of PSCI cpuidle ops would fail. Make the PSCI
cpuidle ops initialization conditional.
[1]. Documentation/devicetree/bindings/arm/idle-states.txt.
Change-Id: I8a372d88b3f2610bfc6036b5420b1886d44fb5f1
Signed-off-by:
Raghavendra Kakarla <rkakarla@codeaurora.org>
Loading
Please register or sign in to comment