]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sm7225-fairphone-fp4: Add camera fixed regulators
authorLuca Weiss <luca.weiss@fairphone.com>
Wed, 10 Dec 2025 01:05:29 +0000 (10:05 +0900)
committerBjorn Andersson <andersson@kernel.org>
Sat, 3 Jan 2026 18:17:30 +0000 (12:17 -0600)
Add multiple fixed regulators that are found on the phone, which provide
power to the cameras.

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Bryan O'Donoghue <bod@kernel.org>
Link: https://lore.kernel.org/r/20251210-fp4-cam-prep-v1-3-0eacbff271ec@fairphone.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts

index c2f856a56b2b215a2612a8d4107512754e440cd5..0cfb24e3941da1fc33ea25529a450773d2f28a04 100644 (file)
                        };
                };
        };
+
+       vreg_32m_cam_dvdd_1p05: regulator-32m-cam-dvdd-1p05 {
+               compatible = "regulator-fixed";
+               regulator-name = "32M_CAM_DVDD_1P05";
+               regulator-min-microvolt = <1050000>;
+               regulator-max-microvolt = <1050000>;
+               gpio = <&pm6150l_gpios 2 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+               vin-supply = <&vreg_s8e>;
+       };
+
+       vreg_48m_ois_avdd0_1p8: regulator-48m-ois-avdd0-1p8 {
+               compatible = "regulator-fixed";
+               regulator-name = "48M_OIS_AVDD0_1P8";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               gpio = <&pm6150l_gpios 4 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+               vin-supply = <&vreg_bob>;
+       };
+
+       vreg_48m_uw_avdd0_1p8: regulator-48m-uw-avdd0-1p8 {
+               compatible = "regulator-fixed";
+               regulator-name = "48M_UW_AVDD0_1P8";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               gpio = <&pm6150l_gpios 3 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+               vin-supply = <&vreg_bob>;
+       };
+
+       vreg_ois_2p8: regulator-ois-2p8 {
+               compatible = "regulator-fixed";
+               regulator-name = "OIS_2P8";
+               regulator-min-microvolt = <2800000>;
+               regulator-max-microvolt = <2800000>;
+               gpio = <&tlmm 72 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+               vin-supply = <&vreg_bob>;
+       };
 };
 
 &adsp {