linux/drivers/iio
Martin Kepplinger d2a3e0931a iio: mma8452: support either of the available interrupt pins
This change is important in order for everyone to be easily able to use the
driver for one of the supported accelerometer chips!

Until now, the driver blindly assumed that the INT1 interrupt line is wired
on a user's board. But these devices have 2 interrupt lines and can route
their interrupt sources to one of them. Now, if "INT2" is found and matches
i2c_client->irq, INT2 will be used.

The chip's default actually is INT2, which is why probably many boards will
have it wired and can make use of this.

Of course, this also falls back to assuming INT1, so for existing users
nothing will break. The new functionality is described in the bindings doc.

Signed-off-by: Martin Kepplinger <martin.kepplinger@theobroma-systems.com>
For the binding: Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-10-25 11:02:42 +00:00
..
accel iio: mma8452: support either of the available interrupt pins 2015-10-25 11:02:42 +00:00
adc iio: adc: max1363: leave sysfs naming to the core 2015-09-30 18:20:53 +01:00
amplifiers iio: Export SPI module alias information in missing drivers 2015-08-22 19:07:09 +01:00
buffer iio: Move generic buffer implementations to sub-directory 2015-08-16 10:51:21 +01:00
chemical iio: chemical: vz89x hardware i2c workaround 2015-09-30 18:20:53 +01:00
common iio:measurement specialties core: Fix endian sparse warnings. 2015-10-12 18:21:13 +01:00
dac iio:dac:m62332: use dynamic scale 2015-10-11 15:45:17 +01:00
frequency iio: Export SPI module alias information in missing drivers 2015-08-22 19:07:09 +01:00
gyro iio: bmg160: Add SPI driver 2015-08-31 17:06:11 +01:00
humidity iio: hdc100x: correct IIO_CHAN_INFO_OFFSET value 2015-10-11 13:53:20 +01:00
imu iio: remove gpio interrupt probing from drivers that use a single interrupt 2015-10-03 12:05:51 +01:00
light iio:light:apds9960 Fix sparse endian warnings. 2015-10-12 18:21:38 +01:00
magnetometer iio: remove gpio interrupt probing from drivers that use a single interrupt 2015-10-03 12:05:51 +01:00
orientation iio: orientation: hid-sensor-rotation: Fix memory leak in probe() 2015-05-17 09:10:25 +01:00
potentiometer iio: mcp4531: Driver for Microchip digital potentiometers 2015-09-30 18:20:53 +01:00
pressure Add ms8607 meas-spec driver support 2015-10-11 10:21:21 +01:00
proximity iio: remove gpio interrupt probing from drivers that use a single interrupt 2015-10-03 12:05:51 +01:00
temperature Add tsys02d meas-spec driver support 2015-10-11 10:21:19 +01:00
trigger iio: trigger: Add a blank line after declarations 2014-12-26 12:15:36 +00:00
iio_core_trigger.h iio: fix semicolon in io_core_trigger.h 2013-08-03 18:40:32 +01:00
iio_core.h iio: Move buffer registration to the core 2014-12-12 12:28:31 +00:00
industrialio-buffer.c iio: industrialio-buffer: Fix iio_buffer_poll return value 2015-08-12 19:26:34 +01:00
industrialio-core.c iio: resistance: add IIO_RESISTANCE channel type 2015-09-23 20:23:25 +01:00
industrialio-event.c iio: event: Remove negative error code from iio_event_poll 2015-08-12 19:26:39 +01:00
industrialio-trigger.c iio: Support triggered events 2015-08-27 20:47:09 +01:00
industrialio-triggered-event.c iio: Support triggered events 2015-08-27 20:47:09 +01:00
inkern.c First round of IIO new drivers, cleanups and functionality for the 3.20 cycle take 2 2015-01-21 10:13:37 +08:00
Kconfig iio: mcp4531: Driver for Microchip digital potentiometers 2015-09-30 18:20:53 +01:00
Makefile iio: mcp4531: Driver for Microchip digital potentiometers 2015-09-30 18:20:53 +01:00