From: Stefan Nilsson <stefan.nilsson@unixphere.com>
To: linux-input@vger.kernel.org
Cc: dmitry.torokhov@gmail.com, rob.herring@calxeda.com,
arnd@arndb.de, matthias.schmidt@epcos.com,
armin.schober@epcos.com, eric.andersson@unixphere.com
Subject: [PATCH 0/1] input: added driver support for the t5400 pressure sensor.
Date: Tue, 20 Nov 2012 22:02:33 +0100 [thread overview]
Message-ID: <1353445355-2517-1-git-send-email-stefan.nilsson@unixphere.com> (raw)
Hi,
This patch is based upon the mainline branch and it enables driver support
for the T5400 digital barometric pressure sensor provided by TDK/EPCOS. This
chip is a low-power, low-noise (<1m altitude resolution) pressure
sensor with support for both I2C- and SPI-interface.
The driver is implemented as a input-poll device with a fixed poll rate at 50 ms
where the raw data is transformed to pressure and temperature values
upon poll execution. Since the chip supports measurement-ready-irq two separate
background threads are implemented for the raw data handling, one threaded
interrupt utilizing the meas-ready irq and another thread utilizing the shared
worker queue.
Stefan Nilsson (1):
input: added driver support for the t5400 pressure sensor.
.../devicetree/bindings/input/misc/t5400.txt | 17 +
drivers/input/misc/Kconfig | 23 +
drivers/input/misc/Makefile | 2 +
drivers/input/misc/t5400-core.c | 607 ++++++++++++++++++++
drivers/input/misc/t5400-i2c.c | 130 +++++
drivers/input/misc/t5400-spi.c | 128 ++++
include/linux/t5400.h | 69 +++
7 files changed, 976 insertions(+), 0 deletions(-)
create mode 100644 Documentation/devicetree/bindings/input/misc/t5400.txt
create mode 100644 drivers/input/misc/t5400-core.c
create mode 100644 drivers/input/misc/t5400-i2c.c
create mode 100644 drivers/input/misc/t5400-spi.c
create mode 100644 include/linux/t5400.h
--
1.7.7.2
next reply other threads:[~2012-11-20 21:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-20 21:02 Stefan Nilsson [this message]
2012-11-20 21:02 ` [PATCH 1/1] input: added driver support for the t5400 pressure sensor Stefan Nilsson
2012-11-20 21:21 ` Arnd Bergmann
2012-11-21 7:06 ` Dmitry Torokhov
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=1353445355-2517-1-git-send-email-stefan.nilsson@unixphere.com \
--to=stefan.nilsson@unixphere.com \
--cc=armin.schober@epcos.com \
--cc=arnd@arndb.de \
--cc=dmitry.torokhov@gmail.com \
--cc=eric.andersson@unixphere.com \
--cc=linux-input@vger.kernel.org \
--cc=matthias.schmidt@epcos.com \
--cc=rob.herring@calxeda.com \
/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).