Reference voltages for ADC channels

Hector Palacios hector.palacios at digi.com
Fri Jul 12 23:14:25 EST 2013


Hello,

On 07/08/2013 08:13 AM, Hector Palacios wrote:
> Greetings,
>
> The other day at linux-iio-u79uwXL29TY76Z2rM5mHXA at public.gmane.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

Any opinion about the suggestion of moving ADC reference voltages into the device tree?

Thanks
-- 
Héctor Palacios


More information about the devicetree-discuss mailing list