[PATCH v3 0/4] iio: accel: adxl372: add ADXL371 support

Antoniu Miclaus posted 4 patches 3 weeks, 3 days ago
There is a newer version of this series
.../bindings/iio/accel/adi,adxl372.yaml       |   9 +-
MAINTAINERS                                   |   5 +-
drivers/iio/accel/Kconfig                     |  12 +-
drivers/iio/accel/adxl372.c                   | 295 +++++++++++-------
drivers/iio/accel/adxl372.h                   |  20 +-
drivers/iio/accel/adxl372_i2c.c               |  19 +-
drivers/iio/accel/adxl372_spi.c               |  19 +-
7 files changed, 245 insertions(+), 134 deletions(-)
[PATCH v3 0/4] iio: accel: adxl372: add ADXL371 support
Posted by Antoniu Miclaus 3 weeks, 3 days ago
Add support for the Analog Devices ADXL371 3-axis, +-200g MEMS
accelerometer to the existing ADXL372 IIO driver. The ADXL371 shares
the same register map as the ADXL372 but differs in ODR/bandwidth
values, timer scale factors, and has a known silicon anomaly (er001)
that prevents reliable FIFO operation.

Changes in v3:
 - [Patch 1/4] Use designated initializers for adxl372_bw_freq_tbl[]
   for consistency with other frequency tables.
 - [Patch 4/4] Add ADXL371_ODR_NUM to adxl371_odr enum and use it to
   size the ADXL371 frequency tables.

Antoniu Miclaus (4):
  iio: accel: adxl372: introduce chip_info structure
  dt-bindings: iio: accel: adi,adxl372: add ADXL371 compatible
  iio: accel: adxl372: factor out buffer and trigger setup
  iio: accel: adxl372: add support for ADXL371

 .../bindings/iio/accel/adi,adxl372.yaml       |   9 +-
 MAINTAINERS                                   |   5 +-
 drivers/iio/accel/Kconfig                     |  12 +-
 drivers/iio/accel/adxl372.c                   | 295 +++++++++++-------
 drivers/iio/accel/adxl372.h                   |  20 +-
 drivers/iio/accel/adxl372_i2c.c               |  19 +-
 drivers/iio/accel/adxl372_spi.c               |  19 +-
 7 files changed, 245 insertions(+), 134 deletions(-)

-- 
2.43.0