[PATCH v4 0/6] Add support for KMX61 sensor

Daniel Baluta
2014-12-03T13:33:28Z

This patchset implements support for Kionix KMX61 6-axis accelerometer /
magnetometer sensor.

In order to simplify things we now use two separate IIO devices for accel/
magn, as suggested by Lars and Jonathan here:

http://marc.info/?l=linux-iio&m=141700672107973&w=2

Patch 1/6, 2/6, 3/6 are already applied for an older version in this commit:
d7d787d291 (iio: imu: Add support for Kionix KMX61 sensor)

Jonathan please remove them, when you'll apply this patchset.

Changes since v3:
* refactored code to have one IIO device per sensor
* fixed most of the comments from Hartmut reported on v3:
* http://marc.info/?l=linux-kernel&m=141687633527812&w=2
* added support for PM events, data ready/any motion triggers

Daniel Baluta (6):
iio: imu: Add support for Kionix KMX61 sensor
iio: imu: kmx61: Add acpi support
iio: imu: kmx61: Add PM runtime support
iio: imu: kmx61: Add PM sleep support
iio: imu: kmx61: Add support for data ready triggers
iio: imu: kmx61: Add support for any motion trigger

drivers/iio/imu/Kconfig | 11 +
drivers/iio/imu/Makefile | 2 +
drivers/iio/imu/kmx61.c | 1601 ++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 1614 insertions(+)
create mode 100644 drivers/iio/imu/kmx61.c

--
1.9.1