iio: accel: Add driver support for ADXL313
authorLucas Stankus <lucas.p.stankus@gmail.com>
Wed, 1 Sep 2021 19:14:54 +0000 (16:14 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 14 Sep 2021 11:00:35 +0000 (12:00 +0100)
commit636d44633039348c955947cee561f372846b478b
treed2656c2803ade35e8b6440f22ae7df0e54108e22
parentaf1c6b50a2947cee3ffffb32aa8debb100c786bb
iio: accel: Add driver support for ADXL313

ADXL313 is a small, thin, low power, 3-axis accelerometer with high
resolution measurement up to +/-4g. It includes an integrated 32-level
FIFO and has activity and inactivity sensing capabilities.

Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ADXL313.pdf
Signed-off-by: Lucas Stankus <lucas.p.stankus@gmail.com>
Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/d16e2d1967e46bb2b1024b6d23bc4889da77dc6b.1630523106.git.lucas.p.stankus@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
MAINTAINERS
drivers/iio/accel/Kconfig
drivers/iio/accel/Makefile
drivers/iio/accel/adxl313.h [new file with mode: 0644]
drivers/iio/accel/adxl313_core.c [new file with mode: 0644]
drivers/iio/accel/adxl313_i2c.c [new file with mode: 0644]
drivers/iio/accel/adxl313_spi.c [new file with mode: 0644]