arm64: dts: qcom: sm8250: Disable Adreno and Venus by default
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Sat, 12 Jun 2021 19:23:56 +0000 (21:23 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 15 Jun 2021 23:37:06 +0000 (18:37 -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.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210612192358.62602-1-konrad.dybcio@somainline.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
arch/arm64/boot/dts/qcom/sm8250-hdk.dts
arch/arm64/boot/dts/qcom/sm8250-mtp.dts
arch/arm64/boot/dts/qcom/sm8250.dtsi

index 5f41de20aa22d6294017abf48686b08a236e9c13..a5b742325261ad850a78ce5e31676ae1875347ed 100644 (file)
        vdds-supply = <&vreg_l5a_0p88>;
 };
 
+&gmu {
+       status = "okay";
+};
+
 &gpu {
+       status = "okay";
+
        zap-shader {
                memory-region = <&gpu_mem>;
                firmware-name = "qcom/sm8250/a650_zap.mbn";
        qcom,dmic-sample-rate = <600000>;
 };
 
+&venus {
+       status = "okay";
+};
+
 /* PINCTRL - additions to nodes defined in sm8250.dtsi */
 &qup_spi0_cs_gpio {
        drive-strength = <6>;
index c3a2c5aa6fe9c8e637eddec2acbb98d6674f9f89..397359ee2f8538a193152b080f95f3388a0be475 100644 (file)
        };
 };
 
+&gmu {
+       status = "okay";
+};
+
+&gpu {
+       status = "okay";
+};
+
 &qupv3_id_1 {
        status = "okay";
 };
 &usb_2_dwc3 {
        dr_mode = "host";
 };
+
+&venus {
+       status = "okay";
+};
index cfc4d1febe0f9fcc34697c98e134411088e24f4e..062b944be91d87c06f2b13a36ab78162e475ccc7 100644 (file)
        firmware-name = "qcom/sm8250/cdsp.mbn";
 };
 
+&gmu {
+       status = "okay";
+};
+
 &gpu {
+       status = "okay";
+
        zap-shader {
                memory-region = <&gpu_mem>;
                firmware-name = "qcom/sm8250/a650_zap.mbn";
        vdda-phy-supply = <&vreg_l9a_1p2>;
        vdda-pll-supply = <&vreg_l18a_0p9>;
 };
+
+&venus {
+       status = "okay";
+};
index 12217b3ce6b65dcacce2a7e9d1b898e09808bf10..995e93d3b78a7fc765b84fffd57758a1121cd243 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";
 
                                 <&videocc VIDEO_CC_MVS0C_CLK_ARES>;
                        reset-names = "bus", "core";
 
+                       status = "disabled";
+
                        video-decoder {
                                compatible = "venus-decoder";
                        };