From: Daniel Mack <daniel-rDUAYElUppE@public.gmane.org>
To: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 1/3] Added empty directories for hardware sensors
Date: Sat, 28 Feb 2009 13:40:48 +0100 [thread overview]
Message-ID: <20090228124048.GB18336@buzzloop.caiaq.de> (raw)
In-Reply-To: <1235654648-3450-1-git-send-email-daniel-rDUAYElUppE@public.gmane.org>
On Thu, Feb 26, 2009 at 02:24:06PM +0100, Daniel Mack wrote:
> This adds empty directories and the neccessary entries to Makefiles and
> Kconfigs in order to provide a place for hardware sensors which are not
> meant to be based in drivers/hwmon.
>
> Signed-off-by: Daniel Mack <daniel-rDUAYElUppE@public.gmane.org>
> ---
> How about this approach? Take it as RFC ...
Any oppinion on this, anyone? I'm currently writing a driver for an
accelerometer and will have the same uncertainty of where to put it in
the end.
Daniel
>
> arch/arm/Kconfig | 2 ++
> drivers/Kconfig | 2 ++
> drivers/Makefile | 1 +
> drivers/sensors/Kconfig | 20 ++++++++++++++++++++
> drivers/sensors/Makefile | 4 ++++
> 5 files changed, 29 insertions(+), 0 deletions(-)
> create mode 100644 drivers/sensors/Kconfig
> create mode 100644 drivers/sensors/Makefile
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index dbfdf87..91a6c55 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1283,6 +1283,8 @@ source "drivers/power/Kconfig"
>
> source "drivers/hwmon/Kconfig"
>
> +source "drivers/sensors/Kconfig"
> +
> source "drivers/thermal/Kconfig"
>
> source "drivers/watchdog/Kconfig"
> diff --git a/drivers/Kconfig b/drivers/Kconfig
> index 00cf955..57a9578 100644
> --- a/drivers/Kconfig
> +++ b/drivers/Kconfig
> @@ -60,6 +60,8 @@ source "drivers/power/Kconfig"
>
> source "drivers/hwmon/Kconfig"
>
> +source "drivers/sensors/Kconfig"
> +
> source "drivers/thermal/Kconfig"
>
> source "drivers/watchdog/Kconfig"
> diff --git a/drivers/Makefile b/drivers/Makefile
> index c1bf417..207a0d5 100644
> --- a/drivers/Makefile
> +++ b/drivers/Makefile
> @@ -74,6 +74,7 @@ obj-y += i2c/
> obj-$(CONFIG_W1) += w1/
> obj-$(CONFIG_POWER_SUPPLY) += power/
> obj-$(CONFIG_HWMON) += hwmon/
> +obj-$(CONFIG_SENSORS) += sensors/
> obj-$(CONFIG_THERMAL) += thermal/
> obj-$(CONFIG_WATCHDOG) += watchdog/
> obj-$(CONFIG_PHONE) += telephony/
> diff --git a/drivers/sensors/Kconfig b/drivers/sensors/Kconfig
> new file mode 100644
> index 0000000..bc85c90
> --- /dev/null
> +++ b/drivers/sensors/Kconfig
> @@ -0,0 +1,20 @@
> +#
> +# Sensor drivers
> +#
> +
> +menuconfig SENSORS
> + tristate "Sensor drivers"
> + depends on HAS_IOMEM
> + default n
> + help
> + Sensor drivers are for special purpose devices that can monitor
> + ambient light, motion, temperature and the like.
> +
> + Check file:Documentation/sensors to see which devices are
> + currently supported.
> +
> +
> +if SENSORS
> +
> +endif # SENSORS
> +
> diff --git a/drivers/sensors/Makefile b/drivers/sensors/Makefile
> new file mode 100644
> index 0000000..4c629c2
> --- /dev/null
> +++ b/drivers/sensors/Makefile
> @@ -0,0 +1,4 @@
> +#
> +# Makefile for sensor chip drivers.
> +#
> +
> --
> 1.6.1.3
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-02-28 12:40 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-25 20:10 [PATCH] Added driver for ISL29003 ambient light sensor Daniel Mack
[not found] ` <1235592618-10880-1-git-send-email-daniel-rDUAYElUppE@public.gmane.org>
2009-02-25 20:19 ` Daniel Mack
2009-02-25 20:21 ` Jean Delvare
[not found] ` <20090225212119.67402391-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-02-25 23:40 ` Daniel Mack
[not found] ` <20090225234004.GA19039-ahpEBR4enfnCULTFXS99ULNAH6kLmebB@public.gmane.org>
2009-02-26 8:50 ` Jean Delvare
2009-02-25 23:57 ` Daniel Mack
[not found] ` <1235606248-13004-1-git-send-email-daniel-rDUAYElUppE@public.gmane.org>
2009-02-26 8:48 ` Jean Delvare
[not found] ` <20090226094857.50d0710d-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-02-26 9:06 ` Daniel Mack
[not found] ` <20090226090651.GA20531-ahpEBR4enfnCULTFXS99ULNAH6kLmebB@public.gmane.org>
2009-02-26 9:42 ` Jean Delvare
[not found] ` <20090226104204.21dd9616-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-02-26 9:57 ` Daniel Mack
[not found] ` <20090226095718.GA24575-ahpEBR4enfnCULTFXS99ULNAH6kLmebB@public.gmane.org>
2009-02-26 13:24 ` [PATCH 1/3] Added empty directories for hardware sensors Daniel Mack
[not found] ` <1235654648-3450-1-git-send-email-daniel-rDUAYElUppE@public.gmane.org>
2009-02-26 13:24 ` [PATCH 2/3] Added driver for ISL29003 ambient light sensor Daniel Mack
[not found] ` <1235654648-3450-2-git-send-email-daniel-rDUAYElUppE@public.gmane.org>
2009-02-26 13:24 ` [PATCH 3/3] move tsl2550.c to drivers/sensors Daniel Mack
2009-02-28 12:40 ` Daniel Mack [this message]
[not found] ` <20090228124048.GB18336-ahpEBR4enfnCULTFXS99ULNAH6kLmebB@public.gmane.org>
2009-03-02 5:22 ` [PATCH 1/3] Added empty directories for hardware sensors Trilok Soni
[not found] ` <5d5443650903012122p795d51cdr18c1a79c606cd496-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-02 10:12 ` Daniel Mack
2009-03-06 16:00 ` [PATCH] Added driver for ISL29003 ambient light sensor Daniel Mack
[not found] ` <20090306160042.GA17800-ahpEBR4enfnCULTFXS99ULNAH6kLmebB@public.gmane.org>
2009-03-06 17:24 ` Jean Delvare
[not found] ` <20090306182432.338b0244-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-03-06 18:09 ` Jonathan Cameron
[not found] ` <49B166E2.5060909-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org>
2009-03-06 18:54 ` Daniel Mack
2009-03-06 18:14 ` Daniel Mack
[not found] ` <20090306181409.GA20135-ahpEBR4enfnCULTFXS99ULNAH6kLmebB@public.gmane.org>
2009-03-07 10:54 ` Jean Delvare
[not found] ` <20090307115449.32f0ab26-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-03-07 12:06 ` Daniel Mack
[not found] ` <20090307120631.GA25276-ahpEBR4enfnCULTFXS99ULNAH6kLmebB@public.gmane.org>
2009-03-07 12:08 ` Jean Delvare
[not found] ` <20090307130818.367bcaad-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-03-09 21:09 ` Daniel Mack
[not found] ` <20090309210901.GC31367-ahpEBR4enfnCULTFXS99ULNAH6kLmebB@public.gmane.org>
2009-03-10 8:56 ` Jean Delvare
[not found] ` <20090310095655.3850f0d5-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-03-10 9:00 ` Daniel Mack
[not found] ` <20090310090007.GB3263-ahpEBR4enfnCULTFXS99ULNAH6kLmebB@public.gmane.org>
2009-03-10 10:10 ` Jean Delvare
[not found] ` <20090310111014.523df33e-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-03-10 10:25 ` Daniel Mack
[not found] ` <20090310102534.GC9564-ahpEBR4enfnCULTFXS99ULNAH6kLmebB@public.gmane.org>
2009-03-10 10:40 ` Jean Delvare
[not found] ` <20090310114011.012d3fcc-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-03-10 11:01 ` Trilok Soni
[not found] ` <5d5443650903100401j35f13459kcc03adb7dc7e9297-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-10 12:11 ` Jonathan Cameron
2009-03-10 13:11 ` Jonathan Cameron
[not found] ` <49B666F9.50209-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org>
2009-03-10 15:15 ` Daniel Mack
2009-03-10 15:15 ` Daniel Mack
[not found] ` <20090310151542.GE9564-ahpEBR4enfnCULTFXS99ULNAH6kLmebB@public.gmane.org>
2009-03-10 17:49 ` Jonathan Cameron
2009-03-10 17:49 ` Jonathan Cameron
[not found] ` <49B6A843.3090902-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org>
2009-03-11 0:31 ` Daniel Mack
2009-03-11 0:31 ` Daniel Mack
[not found] ` <20090311003155.GB21160-ahpEBR4enfnCULTFXS99ULNAH6kLmebB@public.gmane.org>
2009-03-11 4:28 ` Andrew Morton
2009-03-11 4:28 ` Andrew Morton
[not found] ` <20090310212826.7d8b3d4e.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2009-03-11 8:32 ` Daniel Mack
2009-03-11 8:32 ` Daniel Mack
[not found] ` <20090311083252.GB25824-ahpEBR4enfnCULTFXS99ULNAH6kLmebB@public.gmane.org>
2009-03-11 16:32 ` Andrew Morton
2009-03-11 16:32 ` Andrew Morton
[not found] ` <20090311093234.7e8e5416.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2009-03-11 16:43 ` Daniel Mack
2009-03-11 16:43 ` Daniel Mack
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=20090228124048.GB18336@buzzloop.caiaq.de \
--to=daniel-rduayeluppe@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.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.