v3 Addressed issues raised by Jonathan: - validate trigger - Resume implementation for cases where user space doesn't issue close before putting system to suspend - probe fn: trigger path: Instead of goto use client->irq >= 0 - probe fn: Use if (data->trig_mode) to cleanup triggers - probe fn: Call kxcjk1013_acpi_gpio_probe only if the i2c irq < 0 - raw interface for SAMP_FREQ: Pre-multiply to micros - Removed separate function to adjust polarity - Add platform data interface to get interrupt polarity - Still kxcjk1013_get_acc_reg as it is called from multiple places, to keep clean - ODR change after buffer enable: The chip is set back to operation mode - Some alignment issue v1 and v2 Addressed formatting and endianess issue identified by Peter Meerwald v0 base version Srinivas Pandruvada (1): iio: accel: kxcjk1013 3-axis accelerometer driver drivers/iio/accel/Kconfig | 12 + drivers/iio/accel/Makefile | 1 + drivers/iio/accel/kxcjk-1013.c | 762 +++++++++++++++++++++++++++++++++++ include/linux/iio/accel/kxcjk_1013.h | 22 + 4 files changed, 797 insertions(+) create mode 100644 drivers/iio/accel/kxcjk-1013.c create mode 100644 include/linux/iio/accel/kxcjk_1013.h -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html