Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 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 | |
| 7 | title: Asahi Kasei Microdevices AK7375 voice coil lens actuator |
| 8 | |
| 9 | maintainers: |
| 10 | - Tianshu Qiu <tian.shu.qiu@intel.com> |
| 11 | |
| 12 | description: |
| 13 | AK7375 is a voice coil motor (VCM) camera lens actuator that |
| 14 | is controlled over I2C. |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | const: asahi-kasei,ak7375 |
| 19 | |
| 20 | reg: |
| 21 | maxItems: 1 |
| 22 | |
| 23 | vdd-supply: |
| 24 | description: VDD supply |
| 25 | |
| 26 | vio-supply: |
| 27 | description: I/O pull-up supply |
| 28 | |
| 29 | required: |
| 30 | - compatible |
| 31 | - reg |
| 32 | - vdd-supply |
| 33 | - vio-supply |
| 34 | |
| 35 | additionalProperties: false |
| 36 | |
| 37 | examples: |
| 38 | - | |
| 39 | i2c { |
| 40 | #address-cells = <1>; |
| 41 | #size-cells = <0>; |
| 42 | |
| 43 | ak7375: camera-lens@c { |
| 44 | compatible = "asahi-kasei,ak7375"; |
| 45 | reg = <0x0c>; |
| 46 | |
| 47 | vdd-supply = <&vreg_l23a_2p8>; |
| 48 | vio-supply = <&vreg_lvs1a_1p8>; |
| 49 | }; |
| 50 | }; |
| 51 | |
| 52 | ... |