]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: light: ROHM BH1745 colour sensor
authorMudit Sharma <muditsharma.info@gmail.com>
Thu, 18 Jul 2024 22:02:06 +0000 (23:02 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 3 Aug 2024 09:13:41 +0000 (10:13 +0100)
commiteab35358aae705b779a7c8b405474d1290175196
tree31c495ccd8f6cd43c13c1c1ddefd89195d021a12
parent876af455f242c58db65f8e3227122c6ce6e6507b
iio: light: ROHM BH1745 colour sensor

Add support for BH1745, which is an I2C colour sensor with red, green,
blue and clear channels. It has a programmable active low interrupt
pin. Interrupt occurs when the signal from the selected interrupt
source channel crosses set interrupt threshold high or low level.

Interrupt source for the device can be configured by enabling the
corresponding event. Interrupt latch is always enabled when setting
up interrupt.

Add myself as the maintainer for this driver in MAINTAINERS.

Signed-off-by: Mudit Sharma <muditsharma.info@gmail.com>
Reviewed-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Reviewed-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://patch.msgid.link/20240718220208.331942-2-muditsharma.info@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
MAINTAINERS
drivers/iio/light/Kconfig
drivers/iio/light/Makefile
drivers/iio/light/bh1745.c [new file with mode: 0644]