]> asedeno.scripts.mit.edu Git - linux.git/commit
iio: accel: adxl345: add sampling frequency support
authorAkinobu Mita <akinobu.mita@gmail.com>
Mon, 9 Jul 2018 15:10:08 +0000 (00:10 +0900)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 15 Jul 2018 08:19:06 +0000 (09:19 +0100)
commit382fa5812583b6c3a4d02a5830b70ec7ee2f07a3
tree8123b7aca2e7c92f863377dcdd189ac6f577a228
parent794ac821cc44e4d148df36eb330a7e9729c06a82
iio: accel: adxl345: add sampling frequency support

The ADXL345 provides selectable output data rate.  This adds the iio
channel information for the sampling frequency with that feature.

Cc: Eva Rachel Retuya <eraretuya@gmail.com>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/adxl345_core.c