]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: lemans-ride-common: Fix up WCN power grid
authorKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Wed, 25 Feb 2026 12:23:30 +0000 (13:23 +0100)
committerBjorn Andersson <andersson@kernel.org>
Mon, 27 Apr 2026 19:15:20 +0000 (14:15 -0500)
Make the dt checker happy by filling out the required properties in
line with the schematics.

Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260225-topic-wcn6855_pmu_dtbdings-v3-10-576ec5c4e631@oss.qualcomm.com
[bjorn: Remove reference to dropped 12V supply]
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/lemans-ride-common.dtsi

index 31bd00546d55f4e37f6dd8db58f0adc36336d873..679e045a6d49bb78885edac68b8396d47c5819c9 100644 (file)
                regulator-max-microvolt = <3000000>;
        };
 
+       vreg_3p3: vreg-3p3-regulator {
+               compatible = "regulator-fixed";
+               regulator-name = "VREG_3P3";
+
+               regulator-always-on;
+               regulator-boot-on;
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+       };
+
        vreg_conn_1p8: vreg_conn_1p8 {
                compatible = "regulator-fixed";
                regulator-name = "vreg_conn_1p8";
                gpio = <&pmm8654au_1_gpios 6 GPIO_ACTIVE_HIGH>;
        };
 
+       /*
+        * TODO: These two regulators are actually part of the removable M.2
+        * card and not the mainboard. Need to describe this differently.
+        * Functionally it works correctly, because all we need to do is to
+        * turn on the actual 3.3V supply above.
+        */
+       vreg_wcn_0p95: vreg-wcn-0p95-regulator {
+               compatible = "regulator-fixed";
+
+               regulator-name = "VREG_WCN_0P95";
+               regulator-min-microvolt = <950000>;
+               regulator-max-microvolt = <950000>;
+
+               vin-supply = <&vreg_3p3>;
+       };
+
        wcn6855-pmu {
                compatible = "qcom,wcn6855-pmu";
 
                vddio-supply = <&vreg_conn_pa>;
                vddaon-supply = <&vreg_l2c>;
                vddpmu-supply = <&vreg_conn_1p8>;
+               vddpmumx-supply = <&vreg_wcn_0p95>;
+               vddpmucx-supply = <&vreg_wcn_0p95>;
                vddrfa0p95-supply = <&vreg_l2c>;
                vddrfa1p3-supply = <&vreg_l6e>;
                vddrfa1p9-supply = <&vreg_s5a>;
                vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
                vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
                vddrfa1p7-supply = <&vreg_pmu_rfa_1p7>;
+               vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
+               vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
        };
 };