iio: imu: st_lsm6dsx: add i3c basic support for LSM6DSO and LSM6DSR
authorVitor Soares <Vitor.Soares@synopsys.com>
Fri, 19 Jul 2019 13:30:55 +0000 (15:30 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 27 Jul 2019 21:55:27 +0000 (22:55 +0100)
commit2660b0080bb26506d2f12983485deb9d0cf2747c
tree8675fa0f1109370dbe5bf32640cfcc3d7307ddbd
parent62f5b7c72410bab29138a2167ac3ab227207de37
iio: imu: st_lsm6dsx: add i3c basic support for LSM6DSO and LSM6DSR

For today the st_lsm6dsx driver support LSM6DSO and LSM6DSR sensor only in
spi and i2c mode.

The LSM6DSO and LSM6DSR are also i3c capable so let's give i3c support to
them.

Signed-off-by: Vitor Soares <vitor.soares@synopsys.com>
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/st_lsm6dsx/Kconfig
drivers/iio/imu/st_lsm6dsx/Makefile
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c [new file with mode: 0644]