Commit ece28cb5 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: sm8250: Disable Adreno and Venus by default



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: default avatarKonrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210612192358.62602-1-konrad.dybcio@somainline.org


Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 15049bb5
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -552,7 +552,13 @@
	vdds-supply = <&vreg_l5a_0p88>;
};

&gmu {
	status = "okay";
};

&gpu {
	status = "okay";

	zap-shader {
		memory-region = <&gpu_mem>;
		firmware-name = "qcom/sm8250/a650_zap.mbn";
@@ -1352,6 +1358,10 @@
	qcom,dmic-sample-rate = <600000>;
};

&venus {
	status = "okay";
};

/* PINCTRL - additions to nodes defined in sm8250.dtsi */
&qup_spi0_cs_gpio {
	drive-strength = <6>;
+12 −0
Original line number Diff line number Diff line
@@ -365,6 +365,14 @@
	};
};

&gmu {
	status = "okay";
};

&gpu {
	status = "okay";
};

&qupv3_id_1 {
	status = "okay";
};
@@ -452,3 +460,7 @@
&usb_2_dwc3 {
	dr_mode = "host";
};

&venus {
	status = "okay";
};
+10 −0
Original line number Diff line number Diff line
@@ -465,7 +465,13 @@
	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";
@@ -691,3 +697,7 @@
	vdda-phy-supply = <&vreg_l9a_1p2>;
	vdda-pll-supply = <&vreg_l18a_0p9>;
};

&venus {
	status = "okay";
};
+6 −0
Original line number Diff line number Diff line
@@ -1810,6 +1810,8 @@

			qcom,gmu = <&gmu>;

			status = "disabled";

			zap-shader {
				memory-region = <&gpu_mem>;
			};
@@ -1883,6 +1885,8 @@

			operating-points-v2 = <&gmu_opp_table>;

			status = "disabled";

			gmu_opp_table: opp-table {
				compatible = "operating-points-v2";

@@ -2387,6 +2391,8 @@
				 <&videocc VIDEO_CC_MVS0C_CLK_ARES>;
			reset-names = "bus", "core";

			status = "disabled";

			video-decoder {
				compatible = "venus-decoder";
			};