]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: light: opt3001: add support for TI's opt3002 light sensor
authorEmil Gedenryd <emil.gedenryd@axis.com>
Thu, 3 Oct 2024 12:22:17 +0000 (14:22 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 28 Oct 2024 20:04:10 +0000 (20:04 +0000)
commitfc6fa04ef390bea81eb53f3e3bb9fcd6f80acbe6
tree2be45490092b68f34aa70692bf9cea7958454dfd
parent0d7fd2d6aa410371ce66ac4fc4b03ca91233bff4
iio: light: opt3001: add support for TI's opt3002 light sensor

TI's opt3002 light sensor shares most properties with the opt3001
model, with the exception of supporting a wider spectrum range.

Add support for TI's opt3002 by extending the TI opt3001 driver.

Datasheet: https://www.ti.com/product/OPT3002
Signed-off-by: Emil Gedenryd <emil.gedenryd@axis.com>
Link: https://patch.msgid.link/20241003-add_opt3002-v4-2-c550dc4591b4@axis.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/Kconfig
drivers/iio/light/opt3001.c