All of lore.kernel.org
 help / color / mirror / Atom feed
* Reference voltages for ADC channels
@ 2013-07-08  6:13 ` Hector Palacios
  0 siblings, 0 replies; 4+ messages in thread
From: Hector Palacios @ 2013-07-08  6:13 UTC (permalink / raw)
  To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ
  Cc: linux-iio-u79uwXL29TY76Z2rM5mHXA, jic23-DgEjT+Ai2ygdnm+yROfE0A,
	Marek Vasut, fabio.estevam-KZfg59tc24xl57MIdRCFDg,
	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] 4+ messages in thread

* Reference voltages for ADC channels
@ 2013-07-08  6:13 ` Hector Palacios
  0 siblings, 0 replies; 4+ messages in thread
From: Hector Palacios @ 2013-07-08  6:13 UTC (permalink / raw)
  To: devicetree-discuss
  Cc: linux-iio, jic23, Marek Vasut, fabio.estevam, Alexandre Belloni,
	Lars-Peter Clausen

Greetings,

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

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

* Re: Reference voltages for ADC channels
  2013-07-08  6:13 ` Hector Palacios
@ 2013-07-12 13:14     ` Hector Palacios
  -1 siblings, 0 replies; 4+ messages in thread
From: Hector Palacios @ 2013-07-12 13:14 UTC (permalink / raw)
  To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ
  Cc: fabio.estevam-KZfg59tc24xl57MIdRCFDg, Marek Vasut,
	Lars-Peter Clausen, jic23-DgEjT+Ai2ygdnm+yROfE0A,
	Alexandre Belloni, linux-iio-u79uwXL29TY76Z2rM5mHXA

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] 4+ messages in thread

* Re: Reference voltages for ADC channels
@ 2013-07-12 13:14     ` Hector Palacios
  0 siblings, 0 replies; 4+ messages in thread
From: Hector Palacios @ 2013-07-12 13:14 UTC (permalink / raw)
  To: devicetree-discuss
  Cc: fabio.estevam, Marek Vasut, Lars-Peter Clausen, jic23,
	Alexandre Belloni, linux-iio

Hello,

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

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

Thanks
-- 
Héctor Palacios

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

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

Thread overview: 4+ 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
2013-07-08  6:13 ` Hector Palacios
     [not found] ` <51DA588A.5050609-i7dp0qKlBMg@public.gmane.org>
2013-07-12 13:14   ` Hector Palacios
2013-07-12 13:14     ` Hector Palacios

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.