summaryrefslogtreecommitdiff
path: root/drivers/iio/light/Makefile
diff options
context:
space:
mode:
authorStefan Windfeldt-Prytz <stefan.windfeldt-prytz@axis.com>2023-04-26 13:57:30 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-05-13 17:56:06 +0100
commit9a9608418292bb8733805c3f3123dfe0454fadac (patch)
tree090308a34cbd515a8aa4125d512946f2ae66e07c /drivers/iio/light/Makefile
parent480abd88c04a56f1817985f6854333a5ea2d26fa (diff)
iio: light: Add support for TI OPT4001 light sensor
This driver uses the continuous mode of the chip and integration time can be configured through sysfs. The constants for calculating lux value differs between packaging so it uses different compatible string for the two versions "ti,opt4001-picostar" and "ti,opt4001-sot-5x3" since the device id is the same. Datasheet: https://www.ti.com/lit/gpn/opt4001 Signed-off-by: Stefan Windfeldt-Prytz <stefan.windfeldt-prytz@axis.com> Link: https://lore.kernel.org/r/20230323-add-opt4001-driver-v3-2-62e121dab294@axis.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/light/Makefile')
-rw-r--r--drivers/iio/light/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/light/Makefile b/drivers/iio/light/Makefile
index 985f6feaccd4..810ed6ffd9c4 100644
--- a/drivers/iio/light/Makefile
+++ b/drivers/iio/light/Makefile
@@ -37,6 +37,7 @@ obj-$(CONFIG_MAX44000) += max44000.o
obj-$(CONFIG_MAX44009) += max44009.o
obj-$(CONFIG_NOA1305) += noa1305.o
obj-$(CONFIG_OPT3001) += opt3001.o
+obj-$(CONFIG_OPT4001) += opt4001.o
obj-$(CONFIG_PA12203001) += pa12203001.o
obj-$(CONFIG_ROHM_BU27034) += rohm-bu27034.o
obj-$(CONFIG_RPR0521) += rpr0521.o