Anybody have any ideas how to use the ADC? Information seems to be minimal to non-existant, not just for the rockpi4, but for the rk3399 in general. I’ve hooked a potentiometer up to the ADC GPIO pin and can see some kind of response from
cat /sys/bus/iio/devices/iio:device0/in_voltage*
so I know there is something resembling a live driver loaded in the system. I get nothing that makes any sense though. Some of the channels change sort of linearly with the potentiometer voltage, but I can see no overall explanation for the results.
Anybody know anything here? I’m not even certain what the voltage range is, or if a device tree overlay is necessary to properly initialize the device. Thanks.