# 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:
    enum:
      - asahi-kasei,ak7345
      - 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>;
        };
    };

...
