This patch adds basic read_raw support for the DMARD09 3-axis accelerometer which can be found in a q8 A33 Allwinner tablet. [0] The driver is based on the Android driver which can be found on Github. [1] Unfortunately there is no datatsheet of the DMARD09 available online. [0] http://linux-sunxi.org/TZX-723Qa4 [1] https://github.com/JujuXIII/android_kernel_acer_v370_KK/tree/master/mediatek/custom/common/kernel/accelerometer/dmard09 Changes in v3: - Use get_unaligned_le16 to get the axis data from the uffer. Replicate the Android driver which also removes the 3 lower bits and sign extend the resulting data. Jelle van der Waa (1): iio: accel: add support for the Domintech DMARD09 3-axis accelerometer .../devicetree/bindings/i2c/trivial-devices.txt | 1 + .../devicetree/bindings/vendor-prefixes.txt | 1 + drivers/iio/accel/Kconfig | 10 ++ drivers/iio/accel/Makefile | 1 + drivers/iio/accel/dmard09.c | 157 +++++++++++++++++++++ 5 files changed, 170 insertions(+) create mode 100644 drivers/iio/accel/dmard09.c -- 2.9.0 -- 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