Analog Inputs Colibri iMX6

Hi, I would like to use ADC0 and ADC2 as analog inputs. In the old BSP (2.6 or 2.7) I used /sys/bus/iio/devices to read the analog inputs. In the new BSP or new kernel I cannot find analog inputs in devices folder.
In the kernel Device Drivers->Voltage and Current Regulator Support->Fixed voltage regulator is activated.
Could you please help?


The path to the iio files representing the analog inputs has not been changed by the update from the 4.1 to the 4.9 kernel.

Can you read this community question?

I guess you do have voltages on the analog inputs before you power up the module and thus the STMPE811 is not found during boot. What is the output of ‘dmesg | grep stmpe’?


Hi Max, you’re right. I had to put the pin to GND.
Regards Davide

Perfect that it works. Thanks for the feedback.