Skip to content

Add driver for Domintech DMARD06 accelerometer

Aleksei Mamlin linux-devicetree linux-iio lkml 2 versions – Applied

Status from this message: Applied to the togreg branch of iio.git

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesApplied
  2. v10 of 2 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- 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

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2devicetree: bindings: Add vendor prefix for Domintech Co., Ltd.Documentation/devicetree/bindings/vendor-prefixes.txt+1 -01 reply
2/2iio: accel: Add support for Domintech DMARD06 accelerometerDocumentation/devicetree/bindings/iio/accel/dmard06.txt drivers/iio/accel/Kconfig drivers/iio/accel/Makefile +1 more+272 -02 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRob Herring
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Add driver for Domintech DMARD06 accelerometer

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
Signature · 6 lines
2.7.3

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html