Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [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/iio/light/vishay,veml6075.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Vishay VEML6075 UVA and UVB sensor |
| 8 | |
| 9 | maintainers: |
| 10 | - Javier Carrasco <javier.carrasco.cruz@gmail.com> |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
| 14 | const: vishay,veml6075 |
| 15 | |
| 16 | reg: |
| 17 | maxItems: 1 |
| 18 | |
| 19 | vdd-supply: true |
| 20 | |
| 21 | required: |
| 22 | - compatible |
| 23 | - reg |
| 24 | |
| 25 | additionalProperties: false |
| 26 | |
| 27 | examples: |
| 28 | - | |
| 29 | i2c { |
| 30 | #address-cells = <1>; |
| 31 | #size-cells = <0>; |
| 32 | |
| 33 | uv-sensor@10 { |
| 34 | compatible = "vishay,veml6075"; |
| 35 | reg = <0x10>; |
| 36 | vdd-supply = <&vdd_reg>; |
| 37 | }; |
| 38 | }; |
| 39 | ... |