Thread (4 messages) 4 messages, 3 authors, 2012-11-21
STALE5062d

[PATCH 0/1] input: added driver support for the t5400 pressure sensor.

From: Stefan Nilsson <hidden>
Date: 2012-11-20 21:02:39

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help