devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Reference voltages for ADC channels
@ 2013-07-08  6:13 Hector Palacios
       [not found] ` <51DA588A.5050609-i7dp0qKlBMg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Hector Palacios @ 2013-07-08  6:13 UTC (permalink / raw)
  To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ
  Cc: linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, Marek Vasut,
	fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org,
	Alexandre Belloni, Lars-Peter Clausen

Greetings,

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

Best regards,
--
Hector Palacios

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Reference voltages for ADC channels
       [not found] ` <51DA588A.5050609-i7dp0qKlBMg@public.gmane.org>
@ 2013-07-12 13:14   ` Hector Palacios
  0 siblings, 0 replies; 2+ messages in thread
From: Hector Palacios @ 2013-07-12 13:14 UTC (permalink / raw)
  To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ
  Cc: fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org,
	Marek Vasut, Lars-Peter Clausen,
	jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, Alexandre Belloni,
	linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Hello,

On 07/08/2013 08:13 AM, Hector Palacios wrote:
> 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.
>
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-12 13:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-08  6:13 Reference voltages for ADC channels Hector Palacios
     [not found] ` <51DA588A.5050609-i7dp0qKlBMg@public.gmane.org>
2013-07-12 13:14   ` Hector Palacios

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).