summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/media/i2c/asahi-kasei,ak7375.yaml
blob: 22a810fc72223909e11994e6c535cc1d07aabbad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/i2c/asahi-kasei,ak7375.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Asahi Kasei Microdevices AK7375 voice coil lens actuator

maintainers:
  - Tianshu Qiu <tian.shu.qiu@intel.com>

description:
  AK7375 is a voice coil motor (VCM) camera lens actuator that
  is controlled over I2C.

properties:
  compatible:
    const: asahi-kasei,ak7375

  reg:
    maxItems: 1

  vdd-supply:
    description: VDD supply

  vio-supply:
    description: I/O pull-up supply

required:
  - compatible
  - reg
  - vdd-supply
  - vio-supply

additionalProperties: false

examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        ak7375: camera-lens@c {
            compatible = "asahi-kasei,ak7375";
            reg = <0x0c>;

            vdd-supply = <&vreg_l23a_2p8>;
            vio-supply = <&vreg_lvs1a_1p8>;
        };
    };

...