From 18dbb33e482124a9109475be905e7125effd213e Mon Sep 17 00:00:00 2001 From: Vincent Knecht Date: Mon, 2 Oct 2023 22:21:51 +0200 Subject: [PATCH] arm64: dts: qcom: msm8916-alcatel-idol347: add ak7345 lens support Add support for ak7345 lens VCM, paired with imx214 camera sensor. TODO: not all idol347 variants use this sensor and VCM... Signed-off-by: Vincent Knecht --- .../boot/dts/qcom/msm8916-alcatel-idol347.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts b/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts index 70ecd97c7052ed..5b0246a9b089b6 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts +++ b/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts @@ -341,6 +341,14 @@ }; &cci_i2c0 { + actuator: lens@c { + compatible="asahi-kasei,ak7345"; + reg = <0x0c>; + + vdd-supply = <&pm8916_l10>; + vio-supply = <&pm8916_l6>; + }; + camera@1a { compatible = "sony,imx214"; reg = <0x1a>; @@ -354,6 +362,8 @@ pinctrl-0 = <&camera_rear_default>; pinctrl-names = "default"; + lens-focus = <&actuator>; + port { imx214_ep: endpoint { data-lanes = <1 2 3 4>; @@ -417,6 +427,13 @@ qcom,hphl-jack-type-normally-open; }; +&pm8916_rpm_regulators { + pm8916_l10: l10 { + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + }; +}; + &pm8916_pwm { status = "okay"; pinctrl-names = "default";