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 d3ac943a00fb2b0e4941b879106881b491f2183d..fdb70227c0fa7b0ce3a4ed2c56394142da26f18c 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 34f82e06ef538c9f022649d01e474c3134091177..22978d06f85bfbf2c698874287c52116c97f51ee 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 27a45ddbb5bd242faa9946be14a6462e8b1cdfbf..1e2dd6763ad15efc34cee1ca915a503fdf9b26c4 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";