summaryrefslogtreecommitdiff
path: root/arch/arm64/boot
diff options
context:
space:
mode:
authorKonrad Dybcio <konrad.dybcio@somainline.org>2021-06-11 23:33:00 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-25 15:37:30 +0300
commit4a7f9e9b24b9255c7403633a951de74bb123f45a (patch)
tree6254c8b03d65d9e1815480d960bf8a959dbf9fa5 /arch/arm64/boot
parent81c2374228cf774097e148309766f79f5767e249 (diff)
downloadlinux-4a7f9e9b24b9255c7403633a951de74bb123f45a.tar.xz
arm64: dts: qcom: sm8150: Disable Adreno and modem by default
[ Upstream commit b1dc3c6b3dabbedaf896a3c1a998da191c311c70 ] Components that rely on proprietary (not to mention signed!) firmware should not be enabled by default, as lack of the aforementioned firmware could cause various issues, from random errors to straight-up failing to boot. Not enabling modem back on the HDK, as it uses a sa8150. Also fixed a sorting mistake in both boards' dt while at it. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Link: https://lore.kernel.org/r/20210611203301.101067-1-konrad.dybcio@somainline.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/arm64/boot')
-rw-r--r--arch/arm64/boot/dts/qcom/sm8150-hdk.dts10
-rw-r--r--arch/arm64/boot/dts/qcom/sm8150-mtp.dts10
-rw-r--r--arch/arm64/boot/dts/qcom/sm8150.dtsi6
3 files changed, 24 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/qcom/sm8150-hdk.dts b/arch/arm64/boot/dts/qcom/sm8150-hdk.dts
index fb2cf3d987a1..50ee3bb97325 100644
--- a/arch/arm64/boot/dts/qcom/sm8150-hdk.dts
+++ b/arch/arm64/boot/dts/qcom/sm8150-hdk.dts
@@ -354,7 +354,11 @@
};
};
-&qupv3_id_1 {
+&gmu {
+ status = "okay";
+};
+
+&gpu {
status = "okay";
};
@@ -372,6 +376,10 @@
};
};
+&qupv3_id_1 {
+ status = "okay";
+};
+
&remoteproc_adsp {
status = "okay";
diff --git a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts
index 3774f8e63416..7de54b2e497e 100644
--- a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts
+++ b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts
@@ -349,7 +349,11 @@
};
};
-&qupv3_id_1 {
+&gmu {
+ status = "okay";
+};
+
+&gpu {
status = "okay";
};
@@ -367,6 +371,10 @@
};
};
+&qupv3_id_1 {
+ status = "okay";
+};
+
&remoteproc_adsp {
status = "okay";
firmware-name = "qcom/sm8150/adsp.mdt";
diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
index 51235a9521c2..618a1e64f808 100644
--- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
@@ -1082,6 +1082,8 @@
qcom,gmu = <&gmu>;
+ status = "disabled";
+
zap-shader {
memory-region = <&gpu_mem>;
};
@@ -1149,6 +1151,8 @@
operating-points-v2 = <&gmu_opp_table>;
+ status = "disabled";
+
gmu_opp_table: opp-table {
compatible = "operating-points-v2";
@@ -1496,6 +1500,8 @@
qcom,smem-states = <&modem_smp2p_out 0>;
qcom,smem-state-names = "stop";
+ status = "disabled";
+
glink-edge {
interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
label = "modem";