How to Read SAR ADC Values on AML-S905X-CC

There are 2 SAR ADC inputs reading up to 1.8V on the 2J8 header behind the HDMI port.
The SAR ADC values can be found in the following files:

cat /sys/bus/iio/devices/iio:device0/in_voltage0_raw
cat /sys/bus/iio/devices/iio:device0/in_voltage2_raw

They can be used for keypads, temperature sensing, and more but make sure to not exceed 1.8V.

man, Libre Computer is so cool. i love how you guys are building up the documentation. it is very impressive!

We are just documenting standard Linux interfaces. These methods have existed for years but the popular fruit Pi libraries promote other non-standard interfaces.