]> git.baikalelectronics.ru Git - kernel.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)
commit5787d6f48cb10e2eddb09d606bcdd2428e95a40a
tree8123b7aca2e7c92f863377dcdd189ac6f577a228
parenta211d37c8008b70a50061539a8b50e12c7353a82
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