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 | # Copyright (C) 2018, 2021 Intel Corporation |
| 3 | %YAML 1.2 |
| 4 | --- |
| 5 | $id: http://devicetree.org/schemas/media/i2c/dongwoon,dw9807-vcm.yaml# |
| 6 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 7 | |
| 8 | title: Dongwoon Anatech DW9807 voice coil lens driver |
| 9 | |
| 10 | maintainers: |
| 11 | - Sakari Ailus <sakari.ailus@linux.intel.com> |
| 12 | |
| 13 | description: | |
| 14 | DW9807 is a 10-bit DAC with current sink capability. It is intended for |
| 15 | controlling voice coil lenses. |
| 16 | |
| 17 | properties: |
| 18 | compatible: |
| 19 | const: dongwoon,dw9807-vcm |
| 20 | |
| 21 | reg: |
| 22 | maxItems: 1 |
| 23 | |
| 24 | required: |
| 25 | - compatible |
| 26 | - reg |
| 27 | |
| 28 | additionalProperties: false |
| 29 | |
| 30 | examples: |
| 31 | - | |
| 32 | i2c { |
| 33 | #address-cells = <1>; |
| 34 | #size-cells = <0>; |
| 35 | |
| 36 | lens@e { |
| 37 | compatible = "dongwoon,dw9807-vcm"; |
| 38 | reg = <0x0e>; |
| 39 | }; |
| 40 | }; |
| 41 | ... |