mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 11:21:33 +00:00
a2d8be6823
16-bit pressure and temperature sensor the chip can do I2C and SPI, only the I2C interface is supported by the driver at the moment datasheet: http://www.epcos.com/inf/57/ds/T5400.pdf application note: http://www.epcos.com/blob/993154/download/1/t5403-applicationnote.pdf an out-of-tree driver targetting the input subsystem is at https://github.com/unixphere/t5400, it was rejected here: http://comments.gmane.org/gmane.linux.kernel.input/28107 v2: (thanks Hartmut Knaack) * fix MODE_HIGH, equals 2 * check INT_TIME mask in write_raw() Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Cc: Stefan Nilsson <stefan.nilsson@unixphere.com> Reviewed-by: Hartmut Knaack <knaack.h@gmx.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
84 lines
2.3 KiB
Plaintext
84 lines
2.3 KiB
Plaintext
#
|
|
# Pressure drivers
|
|
#
|
|
# When adding new entries keep the list in alphabetical order
|
|
|
|
menu "Pressure sensors"
|
|
|
|
config HID_SENSOR_PRESS
|
|
depends on HID_SENSOR_HUB
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
select HID_SENSOR_IIO_COMMON
|
|
select HID_SENSOR_IIO_TRIGGER
|
|
tristate "HID PRESS"
|
|
help
|
|
Say yes here to build support for the HID SENSOR
|
|
Pressure driver
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called hid-sensor-press.
|
|
|
|
config MPL115
|
|
tristate "Freescale MPL115A2 pressure sensor driver"
|
|
depends on I2C
|
|
help
|
|
Say yes here to build support for the Freescale MPL115A2
|
|
pressure sensor connected via I2C.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called mpl115.
|
|
|
|
config MPL3115
|
|
tristate "Freescale MPL3115A2 pressure sensor driver"
|
|
depends on I2C
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
help
|
|
Say yes here to build support for the Freescale MPL3115A2
|
|
pressure sensor / altimeter.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called mpl3115.
|
|
|
|
config IIO_ST_PRESS
|
|
tristate "STMicroelectronics pressure sensor Driver"
|
|
depends on (I2C || SPI_MASTER) && SYSFS
|
|
select IIO_ST_SENSORS_CORE
|
|
select IIO_ST_PRESS_I2C if (I2C)
|
|
select IIO_ST_PRESS_SPI if (SPI_MASTER)
|
|
select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
|
|
help
|
|
Say yes here to build support for STMicroelectronics pressure
|
|
sensors: LPS001WP, LPS25H, LPS331AP.
|
|
|
|
This driver can also be built as a module. If so, these modules
|
|
will be created:
|
|
- st_pressure (core functions for the driver [it is mandatory]);
|
|
- st_pressure_i2c (necessary for the I2C devices [optional*]);
|
|
- st_pressure_spi (necessary for the SPI devices [optional*]);
|
|
|
|
(*) one of these is necessary to do something.
|
|
|
|
config IIO_ST_PRESS_I2C
|
|
tristate
|
|
depends on IIO_ST_PRESS
|
|
depends on IIO_ST_SENSORS_I2C
|
|
|
|
config IIO_ST_PRESS_SPI
|
|
tristate
|
|
depends on IIO_ST_PRESS
|
|
depends on IIO_ST_SENSORS_SPI
|
|
|
|
config T5403
|
|
tristate "EPCOS T5403 digital barometric pressure sensor driver"
|
|
depends on I2C
|
|
help
|
|
Say yes here to build support for the EPCOS T5403 pressure sensor
|
|
connected via I2C.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called t5403.
|
|
|
|
endmenu
|