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 5f41de2..a5b7423 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 c3a2c5a..397359e 100644 (file)
        };
 };
 
+&gmu {
+       status = "okay";
+};
+
+&gpu {
+       status = "okay";
+};
+
 &qupv3_id_1 {
        status = "okay";
 };
 &usb_2_dwc3 {
        dr_mode = "host";
 };
+
+&venus {
+       status = "okay";
+};
index cfc4d1f..062b944 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 12217b3..995e93d 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";
                        };