On 10/10/16 22:41, Rob Herring wrote: > On Sat, Oct 08, 2016 at 02:34:24PM +0200, Hans de Goede wrote: >> Add a driver for the Domintech ARD10 3-axis Accelerometer, based on the >> android driver found here: https://github.com/domintech/dmard10 >> >> Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx> >> --- >> Changes in v2: >> -prefix all defines with DMARD10_ and uppercase them all >> -Cleanup typography of some comments >> -Use defines for offsets in databuffer >> -Use i2c_smbus_write_byte_data() where applicable >> -Reduce unnecessarily large buffer size in dmard10_shutdown() >> -Use __le16 buffer in dmard10_read_raw() >> Changes in v3: >> -Express unit in m/s^2 instead of in "G" >> --- >> .../devicetree/bindings/i2c/trivial-devices.txt | 1 + > > Acked-by: Rob Herring <robh@xxxxxxxxxx> Added. > >> drivers/iio/accel/Kconfig | 10 + >> drivers/iio/accel/Makefile | 1 + >> drivers/iio/accel/dmard10.c | 266 +++++++++++++++++++++ >> 4 files changed, 278 insertions(+) >> create mode 100644 drivers/iio/accel/dmard10.c -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html