arm64: dts: qcom: msm8939: Drop "qcom,idle-state-spc" compatible
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Tue, 27 Jun 2023 16:24:18 +0000 (18:24 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 10 Jul 2023 04:35:31 +0000 (21:35 -0700)
As of today, the only cool and legal way to get ARM64 SMP going is
via PSCI (or spin tables). Sadly, not all chip and device vendors were
considerate of this in the early days of arm64. Qualcomm, for example
reused their tried-and-true spin-up method from MSM8974 and their Krait/
arm32 Cortex designs.

MSM8916 supports SMP with its arm32 dt overlay, as probably could 8939.
But the arm64 DT should not define non-PSCI SMP or CPUidle stuff.

Drop the qcom,idle-state-spc compatible (associated with Qualcomm-specific
CPUIdle) to make the dt checker happy:

apq8039-t2.dtb: idle-states: cpu-sleep-0:compatible:
['qcom,idle-state-spc', 'arm,idle-state'] is too long

Fixes: 61550c6c156c ("arm64: dts: qcom: Add msm8939 SoC")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Benjamin Li <benl@squareup.com>
Link: https://lore.kernel.org/r/20230627-topic-more_bindings-v1-2-6b4b6cd081e5@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/msm8939.dtsi

index 05d8abb..38fc22e 100644 (file)
 
                idle-states {
                        CPU_SLEEP_0: cpu-sleep-0 {
-                               compatible ="qcom,idle-state-spc", "arm,idle-state";
+                               compatible = "arm,idle-state";
                                entry-latency-us = <130>;
                                exit-latency-us = <150>;
                                min-residency-us = <2000>;