Skip to contentSkip to conversation

Reference voltages for ADC channels

DISCUSSION Hector Palacios 1 participant 2 messages Jul 8, 2013 – Jul 12, 2013 1 message not in the archive IIO

lore
Share & tools
lore
#0 lore raw

Greetings,

The other day at [email protected] 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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hello,

Quoted 12 lines · Hector Palacios

Greetings,

The other day at linux-iio-u79uwXL29TY76Z2rM5mHXA-XMD5yJDbdMReXY1tMh2IBg@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.

Quoted 4 lines

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

Signature · 1 line
Héctor Palacios