arm64: dts: qcom: sm8150: Disable Adreno and modem by default
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Fri, 11 Jun 2021 20:33:00 +0000 (22:33 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 15 Jun 2021 23:54:12 +0000 (18:54 -0500)
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>
arch/arm64/boot/dts/qcom/sm8150-hdk.dts
arch/arm64/boot/dts/qcom/sm8150-mtp.dts
arch/arm64/boot/dts/qcom/sm8150.dtsi

index fb2cf3d..50ee3bb 100644 (file)
        };
 };
 
-&qupv3_id_1 {
+&gmu {
+       status = "okay";
+};
+
+&gpu {
        status = "okay";
 };
 
        };
 };
 
+&qupv3_id_1 {
+       status = "okay";
+};
+
 &remoteproc_adsp {
        status = "okay";
 
index 3774f8e..7de54b2 100644 (file)
        };
 };
 
-&qupv3_id_1 {
+&gmu {
+       status = "okay";
+};
+
+&gpu {
        status = "okay";
 };
 
        };
 };
 
+&qupv3_id_1 {
+       status = "okay";
+};
+
 &remoteproc_adsp {
        status = "okay";
        firmware-name = "qcom/sm8150/adsp.mdt";
index 142cf78..612dda0 100644 (file)
 
                        qcom,gmu = <&gmu>;
 
+                       status = "disabled";
+
                        zap-shader {
                                memory-region = <&gpu_mem>;
                        };
 
                        operating-points-v2 = <&gmu_opp_table>;
 
+                       status = "disabled";
+
                        gmu_opp_table: opp-table {
                                compatible = "operating-points-v2";
 
                        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";