]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: accel: add ADXL380 driver
authorAntoniu Miclaus <antoniu.miclaus@analog.com>
Mon, 8 Jul 2024 10:40:12 +0000 (13:40 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 3 Aug 2024 09:13:36 +0000 (10:13 +0100)
commitdf36de13677a0ebd3ab31dd2c603f9eafdf8de7d
treef474d6b1d6f2e08d9885079786f5b723898064ba
parentf1022193094a47cb5bdb67c326d54a8bc50a555e
iio: accel: add ADXL380 driver

The ADXL380/ADXL382 is a low noise density, low power, 3-axis
accelerometer with selectable measurement ranges. The ADXL380 supports
the +/-4 g, +/-8 g, and +/-16 g ranges, and the ADXL382 supports
+/-15 g, +/-30 g and +/-60 g ranges.
The ADXL380/ADXL382 offers industry leading noise, enabling precision
applications with minimal calibration. The low noise, and low power
ADXL380/ADXL382 enables accurate measurement in an environment with
high vibration, heart sounds and audio.

In addition to its low power consumption, the ADXL380/ADXL382 has many
features to enable true system level performance. These include a
built-in micropower temperature sensor, single / double / triple tap
detection and a state machine to prevent a false triggering. In
addition, the ADXL380/ADXL382 has provisions for external control of
the sampling time and/or an external clock.

Signed-off-by: Ramona Gradinariu <ramona.gradinariu@analog.com>
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Link: https://patch.msgid.link/20240708104114.29894-2-antoniu.miclaus@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
MAINTAINERS
drivers/iio/accel/Kconfig
drivers/iio/accel/Makefile
drivers/iio/accel/adxl380.c [new file with mode: 0644]
drivers/iio/accel/adxl380.h [new file with mode: 0644]
drivers/iio/accel/adxl380_i2c.c [new file with mode: 0644]
drivers/iio/accel/adxl380_spi.c [new file with mode: 0644]