]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sdm632-fairphone-fp3: Add camera fixed regulators
authorLuca Weiss <luca@lucaweiss.eu>
Tue, 28 Oct 2025 16:40:51 +0000 (17:40 +0100)
committerBjorn Andersson <andersson@kernel.org>
Mon, 19 Jan 2026 19:24:20 +0000 (13:24 -0600)
Add the definitions for a few fixed regulators found on the Fairphone 3.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
Link: https://lore.kernel.org/r/20251028-msm8953-cci-v2-6-b5f9f7135326@lucaweiss.eu
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts

index 55a45b528bd3f1bf9b6fe7882753338b43c62271..557925a6627665614caefed65d86a42c1e55ab8d 100644 (file)
                };
        };
 
+       vreg_cam_af_2p85: regulator-cam-af-2p85 {
+               compatible = "regulator-fixed";
+               regulator-name = "cam_af_2p85";
+               regulator-min-microvolt = <2850000>;
+               regulator-max-microvolt = <2850000>;
+
+               gpio = <&tlmm 128 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+
+               vin-supply = <&vph_pwr>;
+       };
+
+       vreg_cam_io_1p8: regulator-cam-io-1p8 {
+               compatible = "regulator-fixed";
+               regulator-name = "cam_io_1p8";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+
+               gpio = <&tlmm 130 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+
+               vin-supply = <&vph_pwr>;
+       };
+
+       vreg_cam2_dig_1p2: regulator-cam2-dig-1p2 {
+               compatible = "regulator-fixed";
+               regulator-name = "cam2_dig_1p2";
+               regulator-min-microvolt = <1200000>;
+               regulator-max-microvolt = <1200000>;
+
+               gpio = <&tlmm 46 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+
+               vin-supply = <&vph_pwr>;
+       };
+
        /* Dummy regulator until PMI632 has LCDB VSP/VSN support */
        lcdb_dummy: regulator-lcdb-dummy {
                compatible = "regulator-fixed";