xref: /freebsd/sys/contrib/device-tree/Bindings/media/i2c/dongwoon,dw9714.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
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/dongwoon,dw9714.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Dongwoon Anatech DW9714 camera voice coil lens driver
8
9maintainers:
10  - Krzysztof Kozlowski <krzk@kernel.org>
11
12description:
13  DW9174 is a 10-bit DAC with current sink capability. It is intended for
14  driving voice coil lenses in camera modules.
15
16properties:
17  compatible:
18    const: dongwoon,dw9714
19
20  reg:
21    maxItems: 1
22
23  powerdown-gpios:
24    description:
25      XSD pin for shutdown (active low)
26
27  vcc-supply:
28    description: VDD power supply
29
30required:
31  - compatible
32  - reg
33
34additionalProperties: false
35
36examples:
37  - |
38    i2c {
39        #address-cells = <1>;
40        #size-cells = <0>;
41
42        camera-lens@c {
43            compatible = "dongwoon,dw9714";
44            reg = <0x0c>;
45            vcc-supply = <&reg_csi_1v8>;
46        };
47    };
48