arm64: dts: imx8mq-librem5: describe the voice coil motor for focus control
authorMartin Kepplinger <martin.kepplinger@puri.sm>
Fri, 2 Sep 2022 08:42:11 +0000 (10:42 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sat, 17 Sep 2022 08:34:26 +0000 (16:34 +0800)
Describe the focus motor that will be used for the rear camera - even
though the rear camera sensor driver is not yet in the mainline. The
focus motor is a separate device and can be controlled already.

Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi

index 9eec8a7eecfc880b11d9c7e00a13ba9785802de2..0626e4194d9582e902d876875916111b985fa800 100644 (file)
        pinctrl-0 = <&pinctrl_i2c4>;
        status = "okay";
 
+       vcm@c {
+               compatible = "dongwoon,dw9714";
+               reg = <0x0c>;
+               vcc-supply = <&reg_csi_1v8>;
+       };
+
        bat: fuel-gauge@36 {
                compatible = "maxim,max17055";
                reg = <0x36>;