arm64: dts: qcom: sm8150: Add PSCI idle states
authorDanny Lin <danny@kdrag0n.dev>
Mon, 21 Dec 2020 00:29:06 +0000 (16:29 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 5 Jan 2021 22:36:18 +0000 (16:36 -0600)
commit81188f585d023f6bf403cb1c79e5037dfd5819ff
treee881c019c1b2aec9603aba66f132391263312e44
parent066d21bcf605727814af2a4d44e96ba578f9103d
arm64: dts: qcom: sm8150: Add PSCI idle states

Like other Qualcomm SoCs, sm8150 exposes CPU and cluster idle states
through PSCI. Define the idle states to save power when the CPU is not
in active use.

These idle states, latency, and residency values match the downstream
4.14 kernel from Qualcomm as of LA.UM.8.1.r1-15600-sm8150.0.

It's worth noting that the CPU has an additional C3 power collapse idle
state between WFI and rail power collapse (with PSCI mode 0x40000003),
but it is not officially used in downstream kernels due to "thermal
throttling issues."

Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Link: https://lore.kernel.org/r/20201221002907.2870059-3-danny@kdrag0n.dev
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sm8150.dtsi