Devicetree
 help / color / mirror / Atom feed
* [PATCH v4 0/4] iio: accel: adxl372: add ADXL371 support
@ 2026-03-21 10:04 Antoniu Miclaus
  2026-03-21 10:04 ` [PATCH v4 1/4] iio: accel: adxl372: introduce chip_info structure Antoniu Miclaus
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Antoniu Miclaus @ 2026-03-21 10:04 UTC (permalink / raw)
  To: Michael Hennerich, Marcelo Schmitt, Nuno Sá, Antoniu Miclaus,
	Lars-Peter Clausen, Jonathan Cameron, David Lechner, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Petre Rodan, Jorge Marques,
	linux-iio, devicetree, linux-kernel

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 v4:
 - [Patch 1/4] Reformat info_mask_shared_by_type to use consistent
   multi-line style matching info_mask_shared_by_type_available.
 - [Patch 1/4] Drop trailing comma from ADXL372_ODR_NUM enum
   terminator.
 - [Patch 1/4] Drop redundant NULL checks for chip_info in SPI/I2C
   probe functions since match data is always provided.
 - [Patch 3/4] Use 'if (ret)' instead of 'if (ret < 0)' for
   devm_iio_trigger_register() and devm_iio_triggered_buffer_setup_ext()
   return checks in adxl372_buffer_setup().
 - [Patch 4/4] Drop trailing comma from ADXL371_ODR_NUM enum
   terminator.

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                   | 300 +++++++++++-------
 drivers/iio/accel/adxl372.h                   |  20 +-
 drivers/iio/accel/adxl372_i2c.c               |  17 +-
 drivers/iio/accel/adxl372_spi.c               |  17 +-
 7 files changed, 244 insertions(+), 136 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-03-21 11:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-21 10:04 [PATCH v4 0/4] iio: accel: adxl372: add ADXL371 support Antoniu Miclaus
2026-03-21 10:04 ` [PATCH v4 1/4] iio: accel: adxl372: introduce chip_info structure Antoniu Miclaus
2026-03-21 11:13   ` Jonathan Cameron
2026-03-21 10:04 ` [PATCH v4 2/4] dt-bindings: iio: accel: adi,adxl372: add ADXL371 compatible Antoniu Miclaus
2026-03-21 10:04 ` [PATCH v4 3/4] iio: accel: adxl372: factor out buffer and trigger setup Antoniu Miclaus
2026-03-21 11:18   ` Jonathan Cameron
2026-03-21 10:04 ` [PATCH v4 4/4] iio: accel: adxl372: add support for ADXL371 Antoniu Miclaus
2026-03-21 11:25 ` [PATCH v4 0/4] iio: accel: adxl372: add ADXL371 support Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox