Skip to content

Commit 9e834e7

Browse files
z3ntuandersson
authored andcommitted
arm64: dts: qcom: sdm632-fairphone-fp3: Add camera fixed regulators
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>
1 parent 842c0aa commit 9e834e7

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,42 @@
3636
};
3737
};
3838

39+
vreg_cam_af_2p85: regulator-cam-af-2p85 {
40+
compatible = "regulator-fixed";
41+
regulator-name = "cam_af_2p85";
42+
regulator-min-microvolt = <2850000>;
43+
regulator-max-microvolt = <2850000>;
44+
45+
gpio = <&tlmm 128 GPIO_ACTIVE_HIGH>;
46+
enable-active-high;
47+
48+
vin-supply = <&vph_pwr>;
49+
};
50+
51+
vreg_cam_io_1p8: regulator-cam-io-1p8 {
52+
compatible = "regulator-fixed";
53+
regulator-name = "cam_io_1p8";
54+
regulator-min-microvolt = <1800000>;
55+
regulator-max-microvolt = <1800000>;
56+
57+
gpio = <&tlmm 130 GPIO_ACTIVE_HIGH>;
58+
enable-active-high;
59+
60+
vin-supply = <&vph_pwr>;
61+
};
62+
63+
vreg_cam2_dig_1p2: regulator-cam2-dig-1p2 {
64+
compatible = "regulator-fixed";
65+
regulator-name = "cam2_dig_1p2";
66+
regulator-min-microvolt = <1200000>;
67+
regulator-max-microvolt = <1200000>;
68+
69+
gpio = <&tlmm 46 GPIO_ACTIVE_HIGH>;
70+
enable-active-high;
71+
72+
vin-supply = <&vph_pwr>;
73+
};
74+
3975
/* Dummy regulator until PMI632 has LCDB VSP/VSN support */
4076
lcdb_dummy: regulator-lcdb-dummy {
4177
compatible = "regulator-fixed";

0 commit comments

Comments
 (0)