]> git.baikalelectronics.ru Git - kernel.git/commit
iio: light: Added AMS tsl2591 driver implementation
authorJoe Sandom <joe.g.sandom@gmail.com>
Wed, 21 Apr 2021 22:13:29 +0000 (23:13 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 17 May 2021 12:49:06 +0000 (13:49 +0100)
commitdfd2a880dc103072e61f0ff7b11d6723dbdd29f5
tree31f2fab446adb20498244e53d6be146251566237
parent54c06536aa8aef798432508985800ab0ea551996
iio: light: Added AMS tsl2591 driver implementation

Driver implementation for AMS/TAOS tsl2591 ambient light sensor.

This driver supports configuration via device tree and sysfs.
Supported channels for raw infrared light intensity,
raw combined light intensity and illuminance in lux.
The driver additionally supports iio events on lower and
upper thresholds.

This is a very-high sensitivity light-to-digital converter that
transforms light intensity into a digital signal.

Datasheet: https://ams.com/tsl25911#tab/documents
Signed-off-by: Joe Sandom <joe.g.sandom@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20210421221330.17007-1-joe.g.sandom@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/Kconfig
drivers/iio/light/Makefile
drivers/iio/light/tsl2591.c [new file with mode: 0644]