xref: /freebsd/sys/contrib/device-tree/Bindings/media/i2c/asahi-kasei,ak7375.yaml (revision 5b56413d04e608379c9a306373554a8e4d321bc0)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/media/i2c/asahi-kasei,ak7375.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Asahi Kasei Microdevices AK7375 voice coil lens actuator
8
9maintainers:
10  - Tianshu Qiu <tian.shu.qiu@intel.com>
11
12description:
13  AK7375 is a voice coil motor (VCM) camera lens actuator that
14  is controlled over I2C.
15
16properties:
17  compatible:
18    enum:
19      - asahi-kasei,ak7345
20      - asahi-kasei,ak7375
21
22  reg:
23    maxItems: 1
24
25  vdd-supply:
26    description: VDD supply
27
28  vio-supply:
29    description: I/O pull-up supply
30
31required:
32  - compatible
33  - reg
34  - vdd-supply
35  - vio-supply
36
37additionalProperties: false
38
39examples:
40  - |
41    i2c {
42        #address-cells = <1>;
43        #size-cells = <0>;
44
45        ak7375: camera-lens@c {
46            compatible = "asahi-kasei,ak7375";
47            reg = <0x0c>;
48
49            vdd-supply = <&vreg_l23a_2p8>;
50            vio-supply = <&vreg_lvs1a_1p8>;
51        };
52    };
53
54...
55