linux/Documentation/devicetree/bindings/iio
Linus Walleij 0e6f6871a1 iio: st_sensors: support open drain mode
Some types of ST Sensors can be connected to the same IRQ line
as other peripherals using open drain. Add a device tree binding
and a sensor data property to flip the right bit in the interrupt
control register to enable open drain mode on the INT line.

If the line is set to be open drain, also tag on IRQF_SHARED
to the IRQ flags when requesting the interrupt, as the whole
point of using open drain interrupt lines is to share them with
more than one peripheral (wire-or).

Cc: devicetree@vger.kernel.org
Cc: Giuseppe Barba <giuseppe.barba@st.com>
Cc: Denis Ciocca <denis.ciocca@st.com>
Acked-by: Rob Herring <rob@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-04-19 19:58:13 +01:00
..
accel iio: mma8452: add support for FXLS8471Q 2016-03-12 10:49:52 +00:00
adc iio: mxs-lradc: Move binding document out of staging as well 2016-04-10 14:26:25 +01:00
chemical iio: chemical: add Atlas pH-SM sensor support 2016-01-30 16:27:17 +00:00
dac iio: dac: Add support for the AD5592R/AD5593R ADCs/DACs 2016-04-10 14:29:06 +01:00
frequency iio: frequency: adf4350: Add support for dt bindings 2013-06-09 19:15:43 +01:00
health Documentation: afe4403: Add DT bindings for the AFE4403 heart monitor 2016-02-06 18:58:01 +00:00
humidity iio: Add new driver dht11 2013-12-03 20:22:30 +00:00
imu imu: inv_mpu6050: adds device tree bindings 2015-05-10 20:31:48 +01:00
light iio: light: opt3001: Add device tree binding documentation 2016-02-01 19:53:12 +00:00
magnetometer iio:magnetometer:ak8975: power regulator support 2016-03-05 15:25:58 +00:00
potentiometer iio: potentiometer: add driver for Maxim Integrated DS1803 2016-04-10 12:34:09 +01:00
pressure iio:pressure:ms5611: complete DT support 2016-03-05 14:41:00 +00:00
proximity iio:as3935: Add DT binding docs for AS3935 driver 2014-03-15 14:57:29 +00:00
temperature iio: mlx90614: Add power management 2015-04-09 15:09:16 +01:00
iio-bindings.txt ARM: dts: Change iio_hwmon nodes to use hypen in node names 2016-03-05 06:25:34 -08:00
sensorhub.txt iio: sensorhub: Add sensorhub bindings 2015-01-29 18:49:08 +00:00
st-sensors.txt iio: st_sensors: support open drain mode 2016-04-19 19:58:13 +01:00