From: Sanchayan Maity <maitysanchayan@gmail.com>
To: jic23@kernel.org
Cc: stefan@agner.ch, shawn.guo@freescale.com, B38611@freescale.com,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
Sanchayan Maity <maitysanchayan@gmail.com>
Subject: [PATCH v3] drivers/iio/adc/vf610-adc: Add temperature sensor support
Date: Fri, 19 Sep 2014 18:28:41 +0530 [thread overview]
Message-ID: <cover.1411128738.git.maitysanchayan@gmail.com> (raw)
Vybrid ADC peripheral includes a temperature sensor
which is connected to channel number 26. This patch
adds support for the sensor. The raw value is read
and the temperature calculated in milli degree Celsius,
which is returned using IIO_CHAN_INFO_PROCESSED option.
Changes since v2:
v2 and v1 patch were with "ARM: imx:" Cleaned this.
Changes since v1:
[1] Removed info scale, index and sampling frequency
specification for temperature channel.
[2] Instead of having info->value as int for temperature
calculation, kept it at u32 and only read value during
temperature calculation
[v1] http://thread.gmane.org/gmane.linux.kernel.iio/13960/focus=13963
[v2] https://lkml.org/lkml/2014/9/18/161
Sanchayan Maity (1):
drivers/iio/adc/vf610-adc: Add temperature sensor support
drivers/iio/adc/vf610_adc.c | 28 ++++++++++++++++++++++++++--
1 file changed, 26 insertions(+), 2 deletions(-)
--
1.7.9.5
next reply other threads:[~2014-09-19 12:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-19 12:58 Sanchayan Maity [this message]
2014-09-19 12:58 ` [PATCH v3] drivers/iio/adc/vf610-adc: Add temperature sensor support Sanchayan Maity
2014-09-21 12:27 ` Jonathan Cameron
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=cover.1411128738.git.maitysanchayan@gmail.com \
--to=maitysanchayan@gmail.com \
--cc=B38611@freescale.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=shawn.guo@freescale.com \
--cc=stefan@agner.ch \
/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 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).