Reference voltages for ADC channels
Hector Palacios
hector.palacios at digi.com
Mon Jul 8 16:13:30 EST 2013
Greetings,
The other day at linux-iio at vger.kernel.org we discussed the possibility of having ADC
channels voltage references moved to the DT [1].
In Freescale's i.MX28 and i.MX23, at least, the CPU has 16 ADC channels some of which
are dedicated to measure internal stuff, like CPU temperature and voltages. Some
channels have different fixed divisors and so different reference voltages.
These reference voltages (in mV) are needed to calculate the scale to show through the
sysfs IIO interface, so that a user can easily compute the real measured voltage out
of the sampled data.
The proposed DT entry also appears at [1].
We would love to here opinions about it.
[1] http://www.spinics.net/lists/linux-iio/msg08973.html
Best regards,
--
Hector Palacios
More information about the devicetree-discuss
mailing list