arm64: dts: qcom: msm8996-oneplus: Add SLPI VDD_PX
authorKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Thu, 27 Mar 2025 01:47:12 +0000 (02:47 +0100)
committerBjorn Andersson <andersson@kernel.org>
Mon, 19 May 2025 20:33:50 +0000 (15:33 -0500)
The PX line powers some hardware related to sensors. Assume the board
doesn't reinvent what MTP has established and hook up LVS2 @ 1.8V as
such.

This fixes the 'is required' type of bindings validator errors.

Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250327-topic-more_dt_bindings_fixes-v2-10-b763d958545f@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/msm8996-oneplus-common.dtsi
arch/arm64/boot/dts/qcom/msm8996-oneplus3.dts
arch/arm64/boot/dts/qcom/msm8996-oneplus3t.dts

index 3897a177f12e98b77d8d57633783ba951f3da083..63ab564655bc8babcb2090ec2bd185e0ff35f4d4 100644 (file)
                        regulator-min-microvolt = <1800000>;
                        regulator-max-microvolt = <1800000>;
                };
+
+               vreg_lvs2a: lvs2 {
+                       regulator-min-microvolt = <1800000>;
+                       regulator-max-microvolt = <1800000>;
+               };
        };
 };
 
index dfe75119b8d25fce4a6a14e0ab4f07414aadc8c5..220eeb31fdc70b89b3e237d1f6643c465bda5238 100644 (file)
@@ -41,6 +41,8 @@
 
 &slpi_pil {
        firmware-name = "qcom/msm8996/oneplus3/slpi.mbn";
+       px-supply = <&vreg_lvs2a>;
+
        status = "okay";
 };
 
index 51fce65e89f1142cff98fcdecde9744b87decdc3..f772618e80c702cb8995965dffbf5992a9f66490 100644 (file)
@@ -42,6 +42,8 @@
 
 &slpi_pil {
        firmware-name = "qcom/msm8996/oneplus3t/slpi.mbn";
+       px-supply = <&vreg_lvs2a>;
+
        status = "okay";
 };