VAR-SOM-MX7 ADC

From Variscite Wiki
VAR-SOM-MX7 - ADC

ADC2 has 4 channels connected to pins 2, 4, 6, 8 on the J10 connector.
It is limited to 1.8V (this is a limitation of the iMX7 SoC).
To read their values:

# cd /sys/bus/iio/devices/iio:device1
# cat in_voltage[0-3]_raw