[PATCH v2 0/2] Add driver for Domintech DMARD06 accelerometer
From: Aleksei Mamlin
Date: Mon Jul 25 2016 - 11:21:37 EST
This patch series adds driver for Domintech DMARD05, DMARD06 and DMARD07
accelerometers and vendor prefix for Domintech Co., Ltd.
Changes since v1:
- Add Rob's Acked-by to vendor-prefix bindings
- Remove dmard06_i2c_read function, use i2c_smbus_read_byte_data instead
- Remove dmard06_read_chip_id function, check chip id directly on probe
- Use sign_extend32 in dmard06_read_raw function
- Replace error variable with ret
- Remove unnecessary messages
- Fix typo in documentation bindings
- Add support for DMARD05 and DMARD07 chips
- Add PM ops
Aleksei Mamlin (2):
devicetree: bindings: Add vendor prefix for Domintech Co., Ltd.
iio: accel: Add support for Domintech DMARD06 accelerometer
.../devicetree/bindings/iio/accel/dmard06.txt | 19 ++
.../devicetree/bindings/vendor-prefixes.txt | 1 +
drivers/iio/accel/Kconfig | 11 +
drivers/iio/accel/Makefile | 1 +
drivers/iio/accel/dmard06.c | 241 +++++++++++++++++++++
5 files changed, 273 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/accel/dmard06.txt
create mode 100644 drivers/iio/accel/dmard06.c
--
2.7.3