From: Jonathan Cameron <jic23@kernel.org>
To: Harald Geyer <harald@ccbib.org>
Cc: linux-iio@vger.kernel.org
Subject: Re: [PATCH v3 1/2] iio: Add support for humidity sensors
Date: Tue, 03 Dec 2013 20:12:45 +0000 [thread overview]
Message-ID: <529E3B3D.9080204@kernel.org> (raw)
In-Reply-To: <E1Vn8dG-0001HO-AJ@stardust.g4.wien.funkfeuer.at>
On 12/01/13 15:08, Harald Geyer wrote:
> There are already humidity sensors in the hwmon subsystem,
> so we use their unit (milli percent) here as well.
>
> Signed-off-by: Harald Geyer <harald@ccbib.org>
Applied to the togreg branch of iio.git (push out as testing for the
autobuilders to run against)
> ---
>
> No changes since v2 except for
> KernelVersion: 3.14
>
> No changes since v1.
>
> Documentation/ABI/testing/sysfs-bus-iio | 13 +++++++++++++
> drivers/iio/industrialio-core.c | 1 +
> include/linux/iio/types.h | 1 +
> 3 files changed, 15 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
> index b20e829..25aebeb 100644
> --- a/Documentation/ABI/testing/sysfs-bus-iio
> +++ b/Documentation/ABI/testing/sysfs-bus-iio
> @@ -197,6 +197,19 @@ Description:
> Raw pressure measurement from channel Y. Units after
> application of scale and offset are kilopascal.
>
> +What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_raw
> +KernelVersion: 3.14
> +Contact: linux-iio@vger.kernel.org
> +Description:
> + Raw humidity measurement of air. Units after application of
> + scale and offset are milli percent.
> +
> +What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_input
> +KernelVersion: 3.14
> +Contact: linux-iio@vger.kernel.org
> +Description:
> + Scaled humidity measurement in milli percent.
> +
> What: /sys/bus/iio/devices/iio:deviceX/in_accel_offset
> What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_offset
> What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_offset
> diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c
> index 2fe88c1..acc911a 100644
> --- a/drivers/iio/industrialio-core.c
> +++ b/drivers/iio/industrialio-core.c
> @@ -69,6 +69,7 @@ static const char * const iio_chan_type_name_spec[] = {
> [IIO_ALTVOLTAGE] = "altvoltage",
> [IIO_CCT] = "cct",
> [IIO_PRESSURE] = "pressure",
> + [IIO_HUMIDITYRELATIVE] = "humidityrelative",
> };
>
> static const char * const iio_modifier_names[] = {
> diff --git a/include/linux/iio/types.h b/include/linux/iio/types.h
> index 4ac928e..084d882 100644
> --- a/include/linux/iio/types.h
> +++ b/include/linux/iio/types.h
> @@ -29,6 +29,7 @@ enum iio_chan_type {
> IIO_ALTVOLTAGE,
> IIO_CCT,
> IIO_PRESSURE,
> + IIO_HUMIDITYRELATIVE,
> };
>
> enum iio_modifier {
>
next prev parent reply other threads:[~2013-12-03 20:12 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-22 16:47 [PATCH 2/2] iio: Add new driver dht11-gpio Harald Geyer
2013-10-22 18:58 ` Peter Meerwald
2013-10-22 19:57 ` Peter Meerwald
2013-10-22 20:06 ` Harald Geyer
2013-10-22 20:20 ` Peter Meerwald
2013-10-22 21:28 ` Harald Geyer
2013-10-23 15:13 ` Lars-Peter Clausen
2013-10-25 11:47 ` [PATCH v2 " Harald Geyer
2013-11-23 11:40 ` Jonathan Cameron
2013-11-23 11:40 ` Jonathan Cameron
2013-11-23 17:44 ` Harald Geyer
2013-11-23 17:44 ` Harald Geyer
2013-11-24 18:36 ` Jonathan Cameron
2013-11-24 18:36 ` Jonathan Cameron
2013-12-01 15:04 ` [PATCH v3 2/2] iio: Add new driver dht11 Harald Geyer
2013-12-01 15:04 ` Harald Geyer
2013-12-03 20:19 ` Jonathan Cameron
2013-12-03 20:19 ` Jonathan Cameron
2013-12-01 15:08 ` [PATCH v3 1/2] iio: Add support for humidity sensors Harald Geyer
2013-12-03 20:12 ` Jonathan Cameron [this message]
2013-10-22 22:44 ` [PATCH 2/2] iio: Add new driver dht11-gpio 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=529E3B3D.9080204@kernel.org \
--to=jic23@kernel.org \
--cc=harald@ccbib.org \
--cc=linux-iio@vger.kernel.org \
/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.