linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] input: added driver support for the t5400 pressure sensor.
@ 2012-11-20 21:02 Stefan Nilsson
  2012-11-20 21:02 ` [PATCH 1/1] " Stefan Nilsson
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Nilsson @ 2012-11-20 21:02 UTC (permalink / raw)
  To: linux-input
  Cc: dmitry.torokhov, rob.herring, arnd, matthias.schmidt,
	armin.schober, eric.andersson

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-11-21  7:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-20 21:02 [PATCH 0/1] input: added driver support for the t5400 pressure sensor Stefan Nilsson
2012-11-20 21:02 ` [PATCH 1/1] " Stefan Nilsson
2012-11-20 21:21   ` Arnd Bergmann
2012-11-21  7:06   ` Dmitry Torokhov

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).