public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] iio: accel: adxl372: add ADXL371 support
@ 2026-03-02 12:20 Antoniu Miclaus
  2026-03-02 12:20 ` [PATCH 1/3] iio: accel: adxl372: introduce chip_info structure Antoniu Miclaus
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Antoniu Miclaus @ 2026-03-02 12:20 UTC (permalink / raw)
  To: Lars-Peter Clausen, Michael Hennerich, Marcelo Schmitt,
	Nuno Sá, Antoniu Miclaus, Jonathan Cameron, David Lechner,
	Andy Shevchenko, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Petre Rodan, Jorge Marques, linux-iio, devicetree, linux-kernel

Add support for the Analog Devices ADXL371, a +-200g 3-axis MEMS
accelerometer that shares the same register map as the ADXL372 but
differs in ODR/bandwidth values (320-5120 Hz vs 400-6400 Hz) and
timer scale factors.

The first patch introduces a chip_info structure to parameterize
device-specific properties, replacing hardcoded values with per-chip
lookups. The second patch adds the ADXL371 compatible string to the
dt-binding. The third patch adds the ADXL371 chip_info and disables
FIFO support due to a silicon anomaly (er001) that causes FIFO data
misalignment on all current ADXL371 silicon.

Antoniu Miclaus (3):
  iio: accel: adxl372: introduce chip_info structure
  dt-bindings: iio: accel: adi,adxl372: add ADXL371 compatible
  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                   | 220 ++++++++++++------
 drivers/iio/accel/adxl372.h                   |  20 +-
 drivers/iio/accel/adxl372_i2c.c               |  19 +-
 drivers/iio/accel/adxl372_spi.c               |  19 +-
 7 files changed, 205 insertions(+), 99 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-03-02 20:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-02 12:20 [PATCH 0/3] iio: accel: adxl372: add ADXL371 support Antoniu Miclaus
2026-03-02 12:20 ` [PATCH 1/3] iio: accel: adxl372: introduce chip_info structure Antoniu Miclaus
2026-03-02 12:59   ` Andy Shevchenko
2026-03-02 20:28     ` Jonathan Cameron
2026-03-02 12:20 ` [PATCH 2/3] dt-bindings: iio: accel: adi,adxl372: add ADXL371 compatible Antoniu Miclaus
2026-03-02 20:10   ` Conor Dooley
2026-03-02 12:20 ` [PATCH 3/3] iio: accel: adxl372: add support for ADXL371 Antoniu Miclaus
2026-03-02 20:36   ` Jonathan Cameron

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