iio: light: ROHM BU27008 color sensor
authorMatti Vaittinen <mazziesaccount@gmail.com>
Mon, 8 May 2023 10:39:29 +0000 (13:39 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 23 May 2023 20:20:17 +0000 (21:20 +0100)
commit41ff93d14f784695b5019bc1451dfd4eb2b30d9d
tree1b58945405da66327d85bf5c7e6388f2f39a6da6
parent2a4deb8488077016f1221c29b85ba4e168a5ba66
iio: light: ROHM BU27008 color sensor

The ROHM BU27008 is a sensor with 5 photodiodes (red, green, blue, clear
and IR) with four configurable channels. Red and green being always
available and two out of the rest three (blue, clear, IR) can be
selected to be simultaneously measured. Typical application is adjusting
LCD backlight of TVs, mobile phones and tablet PCs.

Add initial support for the ROHM BU27008 color sensor.
 - raw_read() of RGB and clear channels
 - triggered buffer w/ DRDY interrtupt

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://lore.kernel.org/r/2594162f0e44148cffb1fb05f1d6edfde6bd11bc.1683541225.git.mazziesaccount@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/Kconfig
drivers/iio/light/Makefile
drivers/iio/light/rohm-bu27008.c [new file with mode: 0644]