Other Parts Discussed in Thread: OPT3001, OPT4001
Hi team,
I would like to enquire about the driver support for OPT4001-Q1.
Kindly let me know abt the drivers availability.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi team,
I would like to enquire about the driver support for OPT4001-Q1.
Kindly let me know abt the drivers availability.
Hi Nikhil,
We don't have a driver available for the OPT4001-Q1.
Here is driver code specifically for OPT3001: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/iio/light/opt3001.c
The code would require many changes in order to work with OPT4001 since the register maps and configuration is much different. The lux calculation is also different for the OPT4001. Please refer to the datasheet for information on how to configure the device.
Jalen