iio: light: add VEML6075 UVA and UVB light sensor driver
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Mon, 27 Nov 2023 17:34:30 +0000 (18:34 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 4 Dec 2023 13:57:25 +0000 (13:57 +0000)
commit3b82f43238aecd73464aeacc9c73407079511533
treeec3bc5fb092254f6cf2adc0da944030e6295f249
parent249f27ac71f428e5028a20d764e66c663f8e8a52
iio: light: add VEML6075 UVA and UVB light sensor driver

The Vishay VEMl6075 is a low power, 16-bit resolution UVA and UVB
light sensor with I2C interface and noise compensation (visible and
infrarred).

Every UV channel generates an output signal measured in counts per
integration period, where the integration time is configurable.

This driver adds support for both UV channels and the ultraviolet
index (UVI) inferred from them according to the device application note
with open-air (no teflon) coefficients.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://lore.kernel.org/r/20231110-veml6075-v3-3-6ee46775b422@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
MAINTAINERS
drivers/iio/light/Kconfig
drivers/iio/light/Makefile
drivers/iio/light/veml6075.c [new file with mode: 0644]