arm64: dts: qcom: msm8996-xiaomi-*: Enable MSS and SLPI
authorYassine Oudjana <y.oudjana@protonmail.com>
Sun, 26 Sep 2021 19:06:45 +0000 (19:06 +0000)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 12 Apr 2022 14:21:15 +0000 (09:21 -0500)
Enable mss_pil and slpi_pil and set their firmware paths.

Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> #db820c
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210926190555.278589-6-y.oudjana@protonmail.com
arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi
arch/arm64/boot/dts/qcom/msm8996-xiaomi-gemini.dts
arch/arm64/boot/dts/qcom/msm8996-xiaomi-scorpio.dts

index d3ac943..fdb7022 100644 (file)
        vdd-gfx-supply = <&vdd_gfx>;
 };
 
+&mss_pil {
+       status = "okay";
+
+       pll-supply = <&vreg_l12a_1p8>;
+};
+
 &pcie0 {
        status = "okay";
 
        linux,code = <KEY_VOLUMEDOWN>;
 };
 
+&slpi_pil {
+       status = "okay";
+
+       px-supply = <&vreg_lvs2a_1p8>;
+};
+
 &usb3 {
        status = "okay";
        extcon = <&typec>;
index 34f82e0..22978d0 100644 (file)
        status = "okay";
 };
 
+&mss_pil {
+       firmware-name = "qcom/msm8996/gemini/mba.mbn",
+                       "qcom/msm8996/gemini/modem.mbn";
+};
+
 &q6asmdai {
        dai@0 {
                reg = <0>;
        };
 };
 
+&slpi_pil {
+       firmware-name = "qcom/msm8996/gemini/slpi.mbn";
+};
+
 &sound {
        compatible = "qcom,apq8096-sndcard";
        model = "gemini";
index 27a45dd..1e2dd67 100644 (file)
        status = "disabled";
 };
 
+&mss_pil {
+       firmware-name = "qcom/msm8996/scorpio/mba.mbn",
+                       "qcom/msm8996/scorpio/modem.mbn";
+};
+
 &q6asmdai {
        dai@0 {
                reg = <0>;
        };
 };
 
+&slpi_pil {
+       firmware-name = "qcom/msm8996/scorpio/slpi.mbn";
+};
+
 &sound {
        compatible = "qcom,apq8096-sndcard";
        model = "scorpio";