[PATCH 4/7] arm64: dts: qcom: msm8996: Disable ADSP by default

From: Konrad Dybcio
Date: Tue May 25 2021 - 16:03:40 EST


Disable the ADSP by default to reduce boot times when
no firmware is supplied. Enable it on boards that did not
previously disable it.

Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 4 ++++
arch/arm64/boot/dts/qcom/apq8096-ifc6640.dts | 4 ++++
arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 ++
3 files changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
index d2a5fb0c8df1..5deffdaeca01 100644
--- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
@@ -133,6 +133,10 @@ wlan_en: wlan-en-1-8v {
};
};

+&adsp_pil {
+ status = "okay";
+};
+
&blsp1_i2c3 {
/* On Low speed expansion */
label = "LS-I2C0";
diff --git a/arch/arm64/boot/dts/qcom/apq8096-ifc6640.dts b/arch/arm64/boot/dts/qcom/apq8096-ifc6640.dts
index 8c7a27e972b7..1c7355014250 100644
--- a/arch/arm64/boot/dts/qcom/apq8096-ifc6640.dts
+++ b/arch/arm64/boot/dts/qcom/apq8096-ifc6640.dts
@@ -81,6 +81,10 @@ vph_pwr: vph-pwr-regulator {
};
};

+&adsp_pil {
+ status = "okay";
+};
+
&blsp2_uart2 {
status = "okay";
pinctrl-names = "default", "sleep";
diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
index 08a6e2b5a54b..2327101c255d 100644
--- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
@@ -2676,6 +2676,8 @@ adsp_pil: remoteproc@9300000 {
qcom,smem-states = <&smp2p_adsp_out 0>;
qcom,smem-state-names = "stop";

+ status = "disabled";
+
smd-edge {
interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;

--
2.31.1