WSL2-Linux-Kernel/drivers/iio/pressure
Linus Walleij a9fd053b56 iio: st_sensors: support active-low interrupts
Most ST MEMS Sensors that support interrupts can also handle sending
an active low interrupt, i.e. going from high to low on data ready
(or other interrupt) and thus triggering on a falling edge to the
interrupt controller.

Set up logic to inspect the interrupt line we get for a sensor: if
it is triggering on rising edge, leave everything alone, but if it
triggers on falling edges, set up active low, and if unsupported
configurations appear: warn with errors and reconfigure the interrupt
to a rising edge, which all interrupt generating sensors support.

Create a local header for st_sensors_core.h to share functions
between the sensor core and the trigger setup code.

Cc: Giuseppe Barba <giuseppe.barba@st.com>
Cc: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-01-10 12:35:32 +00:00
..
Kconfig Add ms8607 meas-spec driver support 2015-10-11 10:21:21 +01:00
Makefile Add ms5637 meas-spec driver support 2015-10-11 10:21:20 +01:00
bmp280.c iio: pressure: bmp280: fix temp compensation 2015-04-09 12:54:10 +01:00
hid-sensor-press.c Second set of new driver, functionality and cleanups for IIO in the 4.2 cycle. 2015-05-24 11:45:21 -07:00
mpl115.c iio: Add Freescale MPL115A2 pressure / temperature sensor driver 2014-05-03 11:31:36 +01:00
mpl3115.c iio: Fix two mpl3115 issues in measurement conversion 2014-05-29 17:38:36 +01:00
ms5611.h iio: pressure: ms5611: add support for MS5607 temperature and pressure sensor 2015-07-05 14:34:00 +01:00
ms5611_core.c iio: pressure: ms5611: add support for MS5607 temperature and pressure sensor 2015-07-05 14:34:00 +01:00
ms5611_i2c.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
ms5611_spi.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
ms5637.c Add ms8607 meas-spec driver support 2015-10-11 10:21:21 +01:00
st_pressure.h iio:pressure: Removed unnecessary parameter on common_probe function 2014-10-04 11:25:38 +01:00
st_pressure_buffer.c iio:pressure: Changed pressure data variable name to press_data 2014-10-04 11:26:09 +01:00
st_pressure_core.c iio: st_sensors: support active-low interrupts 2016-01-10 12:35:32 +00:00
st_pressure_i2c.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
st_pressure_spi.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
t5403.c iio: Add t5403 barometric pressure sensor driver 2014-06-14 13:15:30 +01:00