iio: gyro: add core driver for fxas21002c
authorRui Miguel Silva <rui.silva@linaro.org>
Fri, 12 Apr 2019 16:48:57 +0000 (17:48 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 22 Apr 2019 10:34:09 +0000 (11:34 +0100)
commita0701b6263aebdcb3f0b88add547f81e74da032b
treec418288a02f5786a2850669ed28c36791b5abba7
parent955e007729542aa019044b4b3ae71a83c879eede
iio: gyro: add core driver for fxas21002c

Add core support for the NXP fxas21002c Tri-axis gyroscope,
using the iio subsystem. It supports PM operations, axis reading,
temperature, scale factor of the axis, high pass and low pass
filtering, and sampling frequency selection.

It will have extras modules to support the communication over i2c and
spi.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/gyro/Kconfig
drivers/iio/gyro/Makefile
drivers/iio/gyro/fxas21002c.h [new file with mode: 0644]
drivers/iio/gyro/fxas21002c_core.c [new file with mode: 0644]