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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux