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/dongwoon,dw9714.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Dongwoon Anatech DW9714 camera voice coil lens driver |
| 8 | |
| 9 | maintainers: |
| 10 | - Krzysztof Kozlowski <krzk@kernel.org> |
| 11 | |
| 12 | description: |
| 13 | DW9174 is a 10-bit DAC with current sink capability. It is intended for |
| 14 | driving voice coil lenses in camera modules. |
| 15 | |
| 16 | properties: |
| 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 | |
| 30 | required: |
| 31 | - compatible |
| 32 | - reg |
| 33 | |
| 34 | additionalProperties: false |
| 35 | |
| 36 | examples: |
| 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 = <®_csi_1v8>; |
| 46 | }; |
| 47 | }; |