]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: msm8939-asus-z00t: add regulators for ambient light and proximity...
authorErikas Bitovtas <xerikasxx@gmail.com>
Sun, 29 Mar 2026 23:37:57 +0000 (02:37 +0300)
committerBjorn Andersson <andersson@kernel.org>
Mon, 30 Mar 2026 13:26:41 +0000 (08:26 -0500)
VCNL4000 includes support for regulators. Add regulators listed in the
downstream device tree so they can be powered in during initialization.
VLED supply is missing downstream, so it will be powered on by a dummy.

Signed-off-by: Erikas Bitovtas <xerikasxx@gmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260330-z00t-cm36686-regulators-v1-1-03e23b03bd70@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/msm8939-asus-z00t.dts

index 1a340fa92755fb52f3d1bc0cae0ba8a76c0de937..90e9662427201e391fb36e162109600a39082cb0 100644 (file)
                interrupts-extended = <&tlmm 113 IRQ_TYPE_EDGE_FALLING>;
                proximity-near-level = <30>;
 
+               vdd-supply = <&pm8916_l8>;
+               vio-supply = <&pm8916_l6>;
+
                pinctrl-0 = <&light_int_default>;
                pinctrl-names = "default";
        };