2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 06:04:14 +08:00
linux-next/drivers/iio/pressure
Peter Meerwald cc26ad455f iio: Add Freescale MPL3115A2 pressure / temperature sensor driver
I2C-controlled MEMS sensor with 20-bit pressure measurement (pascal) and
12-bit temperature measurement

driver only exposes basic functionality, see TODO remarks
datasheet: http://cache.freescale.com/files/sensors/doc/data_sheet/MPL3115A2.pdf

v2:
* store 20-bit value in 32-bit buffer element (instead of 24-bit)
* zero buffer to prevent kernel data leak to userspace
* fix mutex unlock in trigger handler (thanks Andi Shyti)

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Reviewed-by: Andi Shyti <andi@etezian.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2013-11-24 21:07:13 +00:00
..
Kconfig iio: Add Freescale MPL3115A2 pressure / temperature sensor driver 2013-11-24 21:07:13 +00:00
Makefile iio: Add Freescale MPL3115A2 pressure / temperature sensor driver 2013-11-24 21:07:13 +00:00
mpl3115.c iio: Add Freescale MPL3115A2 pressure / temperature sensor driver 2013-11-24 21:07:13 +00:00
st_pressure_buffer.c iio:st_pressure: Remove redundant call to iio_sw_buffer_preenable(). 2013-10-16 19:13:56 +01:00
st_pressure_core.c iio: pressure-core: st: Provide support for the Vdd_IO power supply 2013-09-23 20:17:58 +01:00
st_pressure_i2c.c iio: pressure: st: Add support for new LPS001WP pressure sensor 2013-09-21 19:24:05 +01:00
st_pressure_spi.c iio:pressure: Adds LPS001WP support also on spi interface and Kconfig fix 2013-10-23 17:55:14 +01:00
st_pressure.h iio: pressure: st: Add support for new LPS001WP pressure sensor 2013-09-21 19:24:05 +01:00