summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonrad Dybcio <konrad.dybcio@linaro.org>2024-03-07 21:25:56 +0100
committerBjorn Andersson <andersson@kernel.org>2024-03-17 20:27:06 -0500
commit865ff2e6f5daf4ea822120c873f4ba43eb2d8db7 (patch)
treed28c01d9a66c76a42524d2effcebf5f04b3e6b5a
parentdc6cb3854c44de4c7ac9fd173208f5d19ed5d882 (diff)
downloadlinux-865ff2e6f5daf4ea822120c873f4ba43eb2d8db7.tar.gz
linux-865ff2e6f5daf4ea822120c873f4ba43eb2d8db7.zip
arm64: dts: qcom: sc8280xp: Add PS_HOLD restart
Killing the platform with a single write and no firmware involvement is pretty cool, add support for it. Note that due to restart notifier priority settings, PSCI reset will be used instead, unless: a) PSCI is not exposed by the firmware (e.g. because the fw was replaced) or b) PSCI restart fails for some reason Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20240307-topic-8280_nodes-v1-3-4eba20e08902@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
-rw-r--r--arch/arm64/boot/dts/qcom/sc8280xp.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
index eb19ae4e486f..93f5c02b06da 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
@@ -4475,6 +4475,11 @@
#thermal-sensor-cells = <1>;
};
+ restart@c264000 {
+ compatible = "qcom,pshold";
+ reg = <0 0x0c264000 0 0x4>;
+ };
+
tsens1: thermal-sensor@c265000 {
compatible = "qcom,sc8280xp-tsens", "qcom,tsens-v2";
reg = <0 0x0c265000 0 0x1ff>, /* TM */