From: Jonathan Cameron <jic23@kernel.org>
To: Alexandre Relange <alexandre@relange.org>
Cc: Jonathan Cameron <jic23@cam.ac.uk>, linux-iio@vger.kernel.org
Subject: Re: [PATCH 2/5] iio: mechanical: new category of sensors
Date: Sun, 07 Jul 2013 16:29:46 +0100 [thread overview]
Message-ID: <51D9896A.5080701@kernel.org> (raw)
In-Reply-To: <1370962336-20739-2-git-send-email-alexandre@relange.org>
On 06/11/2013 03:52 PM, Alexandre Relange wrote:
> adds the category of mechanical sensors (switches,...)
>
> Signed-off-by: Alexandre Relange <alexandre@relange.org>
Support like this should be introduced with the first driver, i.e.
in the same patch in my view.
The outstanding issue not answered yet for these is how a mechanical
switch is different from a general purpose input?
> ---
> drivers/iio/Kconfig | 1 +
> drivers/iio/Makefile | 1 +
> drivers/iio/mechanical/Kconfig | 6 ++++++
> drivers/iio/mechanical/Makefile | 3 +++
> 4 files changed, 11 insertions(+)
> create mode 100644 drivers/iio/mechanical/Kconfig
> create mode 100644 drivers/iio/mechanical/Makefile
>
> diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig
> index b2f963b..dbed2f1 100644
> --- a/drivers/iio/Kconfig
> +++ b/drivers/iio/Kconfig
> @@ -70,5 +70,6 @@ source "drivers/iio/gyro/Kconfig"
> source "drivers/iio/imu/Kconfig"
> source "drivers/iio/light/Kconfig"
> source "drivers/iio/magnetometer/Kconfig"
> +source "drivers/iio/mechanical/Kconfig"
>
> endif # IIO
> diff --git a/drivers/iio/Makefile b/drivers/iio/Makefile
> index a0e8cdd..78ec75b 100644
> --- a/drivers/iio/Makefile
> +++ b/drivers/iio/Makefile
> @@ -21,3 +21,4 @@ obj-y += frequency/
> obj-y += imu/
> obj-y += light/
> obj-y += magnetometer/
> +obj-y += mechanical/
> diff --git a/drivers/iio/mechanical/Kconfig b/drivers/iio/mechanical/Kconfig
> new file mode 100644
> index 0000000..b536fa2
> --- /dev/null
> +++ b/drivers/iio/mechanical/Kconfig
> @@ -0,0 +1,6 @@
> +#
> +# Mechanical sensors
> +#
> +menu "Mechanical sensors"
> +
> +endmenu
> diff --git a/drivers/iio/mechanical/Makefile b/drivers/iio/mechanical/Makefile
> new file mode 100644
> index 0000000..716098f
> --- /dev/null
> +++ b/drivers/iio/mechanical/Makefile
> @@ -0,0 +1,3 @@
> +#
> +# Makefile for IIO Mechanical sensors
> +#
>
next prev parent reply other threads:[~2013-07-07 15:29 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-11 14:52 [PATCH 1/5] iio: ABI doc: update scan_elements sysfs paths Alexandre Relange
2013-06-11 14:52 ` [PATCH 2/5] iio: mechanical: new category of sensors Alexandre Relange
2013-07-07 15:29 ` Jonathan Cameron [this message]
2013-07-08 15:01 ` Alexandre Relange
2013-07-09 18:05 ` Jonathan Cameron
2013-06-11 14:52 ` [PATCH 3/5] iio: new type of channel: STATE Alexandre Relange
2013-06-11 14:52 ` [PATCH 4/5] iio: mechanical: new HID sensor boolean switch Alexandre Relange
2013-06-11 17:13 ` Lars-Peter Clausen
2013-06-11 20:18 ` Jonathan Cameron
2013-07-07 15:36 ` Jonathan Cameron
2013-07-08 15:17 ` Alexandre Relange
2013-07-09 18:06 ` Jonathan Cameron
2013-07-12 19:34 ` Alexander Holler
2013-06-11 14:52 ` [PATCH 5/5] iio: mechanical: switch sensor: add ID table Alexandre Relange
2013-06-11 17:07 ` [PATCH 1/5] iio: ABI doc: update scan_elements sysfs paths Lars-Peter Clausen
2013-06-11 20:10 ` 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=51D9896A.5080701@kernel.org \
--to=jic23@kernel.org \
--cc=alexandre@relange.org \
--cc=jic23@cam.ac.uk \
--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.