Linux driver for OPT3001 and OPT3006



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 Status

Available in Linux Main line: Yes
Available through git.ti.com: N/A

Supported Devices:
  • opt3001
Linux Source Files

The files associated with this device are:

  1. drivers/iio/light/opt3001.c
Source Files



Enabling Driver Support

Configure kernel with "make menuconfig" (alternatively use "make xconfig" or
"make nconfig")

Menuconfig Location

Symbol: OPT3001 [=y]
Type  : tristate
Prompt: Texas Instruments OPT3001 Light Sensor
    -> 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 this
driver please either

1. Send the patches to the relevant Linux Kernel community as listed in the maintainers file located: Here


2.  Contact your TI representative.


Ambient light sensors
OPT3001 Digital ambient light sensor (ALS) with high-precision human-eye response OPT3006 Ultra-thin ambient light sensor (ALS)

Support & training

TI E2E™ forums with technical support from TI engineers

View all forum topics

Content is provided "as is" by TI and community contributors and does not constitute TI specifications. See terms of use.

If you have questions about quality, packaging or ordering TI products, see TI support. ​​​​​​​​