The Linux driver supports the OPT30001 Digital Ambient Light Sensor (ALS) with High Precision Human Eye Response. The Linux driver supports communication through the I2C bus and registers to the IIO (Industrial Input/Output) class of the Linux kernel.
Linux Mainline StatusAvailable in Linux Main line: Yes
Available through git.ti.com: N/A
Supported Devices:Linux Source FilesThe files associated with this device are:
- drivers/iio/light/opt3001.c
Source Filesdrivers/iio/light/opt3001.c
Enabling Driver Support
Configure kernel with "make menuconfig" (alternatively use "make xconfig" or"make nconfig")
Menuconfig Location
Symbol: OPT3001 [=y]Type : tristatePrompt: Texas Instruments OPT3001 Light Sensor Location: -> Device Drivers -> Industrial I/O support (IIO [=y]) -> Light sensors Defined at drivers/iio/light/Kconfig:226 Depends on: IIO [=y] && I2C [=y]
Fixes and Code Enhancements
If there are fixes and or code enhancements that need to be added to thisdriver please either1. Send the patches to the relevant Linux Kernel community as listed in the maintainers file located: Hereor2. Contact your TI representative.