]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: sc8280xp: Set status = "reserved" on PSHOLD
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Fri, 10 May 2024 13:39:59 +0000 (15:39 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 27 May 2024 16:45:22 +0000 (11:45 -0500)
On most devices, TZ seems to be blocking access to the PSHOLD reboot
register. This seems to be TZ, as even kicking the hypervisor doesn't
seem to make it writable.

Fixes: 865ff2e6f5da ("arm64: dts: qcom: sc8280xp: Add PS_HOLD restart")
Reported-by: Steev Klimaszewski <steev@kali.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Tested-by: Steev Klimaszewski <steev@kali.org>
Link: https://lore.kernel.org/r/20240510-topic-8280_off-v1-1-bcc70cda449e@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sc8280xp.dtsi

index 0549ba1fbeea897b490b614b029cc24578c0370b..59f0a850671a31db49557bda0288f9ac04543480 100644 (file)
                restart@c264000 {
                        compatible = "qcom,pshold";
                        reg = <0 0x0c264000 0 0x4>;
+                       /* TZ seems to block access */
+                       status = "reserved";
                };
 
                tsens1: thermal-sensor@c265000 {