Skip to content

Commit

Permalink
arm64: dts: qcom: msm8916-alcatel-idol347: add ak7345 lens support
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
vknecht committed Oct 2, 2023
1 parent aa8ab37 commit 18dbb33
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand All @@ -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>;
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 18dbb33

Please sign in to comment.