[PATCH 0/2] Add a driver for AMS TCS3490 light sensor

From: Markuss Broks
Date: Mon Jan 23 2023 - 18:11:01 EST


This light sensor can sense four channels of visible light
(red, green, blue, clear) and IR light. These features allow it to
be used for sensing the light source, or getting the environment color
temperature to adjust display gamma and backlight level.

It is used on Sony Xperia Yoshino family devices.

Tested on Sony Xperia XZ1 (poplar).

Markuss Broks (2):
dt-bindings: iio: tcs3490: Add bindings for AMS TCS3490 light sensor
iio: light: Add support for AMS TCS3490 Color Light-to-Digital
Converter

.../bindings/iio/light/ams,tcs3490.yaml | 52 ++++
MAINTAINERS | 7 +
drivers/iio/light/Kconfig | 12 +
drivers/iio/light/Makefile | 1 +
drivers/iio/light/tcs3490.c | 272 ++++++++++++++++++
5 files changed, 344 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/light/ams,tcs3490.yaml
create mode 100644 drivers/iio/light/tcs3490.c

--
2.39.0