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: 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>
This commit is contained in:
Konrad Dybcio 2021-06-12 21:23:56 +02:00 committed by Bjorn Andersson
parent 15049bb597
commit ece28cb5ed
4 changed files with 38 additions and 0 deletions

View File

@ -552,7 +552,13 @@
vdds-supply = <&vreg_l5a_0p88>; vdds-supply = <&vreg_l5a_0p88>;
}; };
&gmu {
status = "okay";
};
&gpu { &gpu {
status = "okay";
zap-shader { zap-shader {
memory-region = <&gpu_mem>; memory-region = <&gpu_mem>;
firmware-name = "qcom/sm8250/a650_zap.mbn"; firmware-name = "qcom/sm8250/a650_zap.mbn";
@ -1352,6 +1358,10 @@
qcom,dmic-sample-rate = <600000>; qcom,dmic-sample-rate = <600000>;
}; };
&venus {
status = "okay";
};
/* PINCTRL - additions to nodes defined in sm8250.dtsi */ /* PINCTRL - additions to nodes defined in sm8250.dtsi */
&qup_spi0_cs_gpio { &qup_spi0_cs_gpio {
drive-strength = <6>; drive-strength = <6>;

View File

@ -365,6 +365,14 @@
}; };
}; };
&gmu {
status = "okay";
};
&gpu {
status = "okay";
};
&qupv3_id_1 { &qupv3_id_1 {
status = "okay"; status = "okay";
}; };
@ -452,3 +460,7 @@
&usb_2_dwc3 { &usb_2_dwc3 {
dr_mode = "host"; dr_mode = "host";
}; };
&venus {
status = "okay";
};

View File

@ -465,7 +465,13 @@
firmware-name = "qcom/sm8250/cdsp.mbn"; firmware-name = "qcom/sm8250/cdsp.mbn";
}; };
&gmu {
status = "okay";
};
&gpu { &gpu {
status = "okay";
zap-shader { zap-shader {
memory-region = <&gpu_mem>; memory-region = <&gpu_mem>;
firmware-name = "qcom/sm8250/a650_zap.mbn"; firmware-name = "qcom/sm8250/a650_zap.mbn";
@ -691,3 +697,7 @@
vdda-phy-supply = <&vreg_l9a_1p2>; vdda-phy-supply = <&vreg_l9a_1p2>;
vdda-pll-supply = <&vreg_l18a_0p9>; vdda-pll-supply = <&vreg_l18a_0p9>;
}; };
&venus {
status = "okay";
};

View File

@ -1810,6 +1810,8 @@
qcom,gmu = <&gmu>; qcom,gmu = <&gmu>;
status = "disabled";
zap-shader { zap-shader {
memory-region = <&gpu_mem>; memory-region = <&gpu_mem>;
}; };
@ -1883,6 +1885,8 @@
operating-points-v2 = <&gmu_opp_table>; operating-points-v2 = <&gmu_opp_table>;
status = "disabled";
gmu_opp_table: opp-table { gmu_opp_table: opp-table {
compatible = "operating-points-v2"; compatible = "operating-points-v2";
@ -2387,6 +2391,8 @@
<&videocc VIDEO_CC_MVS0C_CLK_ARES>; <&videocc VIDEO_CC_MVS0C_CLK_ARES>;
reset-names = "bus", "core"; reset-names = "bus", "core";
status = "disabled";
video-decoder { video-decoder {
compatible = "venus-decoder"; compatible = "venus-decoder";
}; };