mbox series

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

Message ID 20230123231028.26073-1-markuss.broks@gmail.com (mailing list archive)
Headers show
Series Add a driver for AMS TCS3490 light sensor | expand

Message

Markuss Broks Jan. 23, 2023, 11:10 p.m. UTC
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