All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hector Palacios <hector.palacios@digi.com>
To: <devicetree-discuss@lists.ozlabs.org>
Cc: "fabio.estevam@freescale.com" <fabio.estevam@freescale.com>,
	Marek Vasut <marex@denx.de>, Lars-Peter Clausen <lars@metafoo.de>,
	"jic23@kernel.org" <jic23@kernel.org>,
	Alexandre Belloni <alexandre.belloni@free-electrons.com>,
	"linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>
Subject: Re: Reference voltages for ADC channels
Date: Fri, 12 Jul 2013 15:14:25 +0200	[thread overview]
Message-ID: <51E00131.7080909@digi.com> (raw)
In-Reply-To: <51DA588A.5050609@digi.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: Hector Palacios <hector.palacios-i7dp0qKlBMg@public.gmane.org>
To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
Cc: "fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org"
	<fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>,
	Marek Vasut <marex-ynQEQJNshbs@public.gmane.org>,
	Lars-Peter Clausen <lars-Qo5EllUWu/uELgA04lAiVw@public.gmane.org>,
	"jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org"
	<jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Alexandre Belloni
	<alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
	"linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: Reference voltages for ADC channels
Date: Fri, 12 Jul 2013 15:14:25 +0200	[thread overview]
Message-ID: <51E00131.7080909@digi.com> (raw)
In-Reply-To: <51DA588A.5050609-i7dp0qKlBMg@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

  reply	other threads:[~2013-07-12 13:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-08  6:13 Reference voltages for ADC channels Hector Palacios
2013-07-08  6:13 ` Hector Palacios
2013-07-12 13:14 ` Hector Palacios [this message]
2013-07-12 13:14   ` Hector Palacios

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51E00131.7080909@digi.com \
    --to=hector.palacios@digi.com \
    --cc=alexandre.belloni@free-electrons.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=fabio.estevam@freescale.com \
    --cc=jic23@kernel.org \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=marex@denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.