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 7title: Vishay VEML6075 UVA/B and VEML6040 RGBW sensors 8 9maintainers: 10 - Javier Carrasco <javier.carrasco.cruz@gmail.com> 11 12description: 13 VEML6040 datasheet at https://www.vishay.com/docs/84276/veml6040.pdf 14 15properties: 16 compatible: 17 enum: 18 - vishay,veml6040 19 - vishay,veml6075 20 21 reg: 22 maxItems: 1 23 24 vdd-supply: true 25 26required: 27 - compatible 28 - reg 29 - vdd-supply 30 31additionalProperties: false 32 33examples: 34 - | 35 i2c { 36 #address-cells = <1>; 37 #size-cells = <0>; 38 39 uv-sensor@10 { 40 compatible = "vishay,veml6075"; 41 reg = <0x10>; 42 vdd-supply = <&vdd_reg>; 43 }; 44 }; 45... 46