Tool/software: Linux
Hi Team,
Device Config :
device : NXP i.MX 7Dual SABRE Smart Device (imx7dsabresd)
Kernal Version : 4.14.98-imx_4.14.98_2.0.0_ga+g5d6cbea
I have been using the OPT3001 sensor for ALS, it is not giving any lux value on cat in_illuminance_input command on "root@imx7dsabresd:/sys/bus/iio/devices/iio:device2#", but it gives cat: in_illuminance_input: Connection timed out. I have configured the menuconfig for opt3001 driver and already make changes on dts file as shown below. I am using the gpio 2 pin 18 as interrupt.
opt3001@44 {
compatible = "ti,opt3001";
reg = <0x44>;
interrupt-parent = <&gpio2>;
interrupts = <18 IRQ_TYPE_EDGE_FALLING>;
};