Add paths for Qualcomm firmware, including:
ipa, modem, bluetooth, venus, gpu

Enable adsp and cdsp nodes since their firmware is present

GPU and bluetooth are confirmed working, others may need more
testing/fixes

But regardless they will need the firmware paths specified here
and firmware added upstream before they will work, so might as well
get started on it now.

Signed-off-by: Paul Sajna <sajatt...@postmarketos.org>
---
 arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 10 ++++++++++
 arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts  | 16 ++++++++++++----
 2 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi 
b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
index 
ea4de09b549d1d436897ea6059d27556041a6b68..44a76e047c8faf71959ebf9a5b278e1f66000087
 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
@@ -173,6 +173,10 @@ &adsp_pas {
        status = "okay";
 };
 
+&cdsp_pas {
+       status = "okay";
+};
+
 &apps_rsc {
        regulators-0 {
                compatible = "qcom,pm8998-rpmh-regulators";
@@ -479,6 +483,8 @@ zap-shader {
 
 &ipa {
        qcom,gsi-loader = "modem";
+       memory-region = <&ipa_fw_mem>;
+
        status = "okay";
 };
 
@@ -668,3 +674,7 @@ bluetooth {
 &uart9 {
        status = "okay";
 };
+
+&venus {
+       status = "okay";
+};
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts 
b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
index 
8077a9fb0dc28237fc6ac0b70c8ef45a0d72876d..7d05698f1225d951804752b6fc062c1b4f583516
 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
@@ -48,19 +48,23 @@ battery: battery {
 };
 
 &adsp_pas {
-       firmware-name = "qcom/sdm845/judyln/adsp.mbn";
+       firmware-name = "qcom/sdm845/LG/judyln/adsp.mbn";
 };
 
 &cdsp_pas {
-       firmware-name = "qcom/sdm845/judyln/cdsp.mbn";
+       firmware-name = "qcom/sdm845/LG/judyln/cdsp.mbn";
 };
 
 &gpu {
        zap-shader {
-               firmware-name = "qcom/sdm845/judyln/a630_zap.mbn";
+               firmware-name = "qcom/sdm845/LG/judyln/a630_zap.mbn";
        };
 };
 
+&ipa {
+       firmware-name = "qcom/sdm845/LG/judyln/ipa_fws.mbn";
+};
+
 &mdss {
        status = "okay";
 };
@@ -101,7 +105,7 @@ &mdss_dsi0_out {
 };
 
 &mss_pil {
-       firmware-name = "qcom/sdm845/judyln/mba.mbn", 
"qcom/sdm845/judyln/modem.mbn";
+       firmware-name = "qcom/sdm845/LG/judyln/mba.mbn", 
"qcom/sdm845/LG/judyln/modem.mbn";
 };
 
 &pmi8998_charger {
@@ -156,3 +160,7 @@ bluetooth {
                firmware-name = "judyln/crnv21.bin";
        };
 };
+
+&venus {
+       firmware-name = "qcom/sdm845/LG/judyln/venus.mbn";
+};

-- 
2.51.0


Reply via email to