Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: iio: light: add support for Vishay VEML6075

The Vishay VEML6075 is a 16-bit digital UVA and UVB sensor with I2C
interface.

Add bindings and an example for the Vishay VEML6075.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231110-veml6075-v3-2-6ee46775b422@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Javier Carrasco and committed by
Jonathan Cameron
249f27ac b89710bd

+39
+39
Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml
··· 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 + ...