OSDN Git Service

drivers: iio: accel: adxl312 and adxl314 support
authorGeorge Mois <george.mois@analog.com>
Mon, 5 Sep 2022 13:20:18 +0000 (16:20 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 21 Sep 2022 17:42:53 +0000 (18:42 +0100)
commita7a1c60bc4c9159aa3a4cb3e1814145666c3a00c
treec036d1b7c9825611878dcc1ddc575d749944e49a
parentabf90541d19c17a29bf6137febe71bb2770896f3
drivers: iio: accel: adxl312 and adxl314 support

ADXL312 and ADXL314 are small, thin, low power, 3-axis accelerometers
with high resolution (13-bit) measurement up to +/-12 g and +/- 200 g
respectively.

Implement support for ADXL312 and ADXL314 by extending the ADXL313
driver.

Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ADXL312.pdf
Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ADXL314.pdf
Signed-off-by: George Mois <george.mois@analog.com>
Link: https://lore.kernel.org/r/20220905132018.364900-2-george.mois@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/adxl313.h
drivers/iio/accel/adxl313_core.c
drivers/iio/accel/adxl313_i2c.c
drivers/iio/accel/adxl313_spi.c