linux/drivers/iio/imu/st_lsm6dsx
Lorenzo Bianconi 6ffb55e500 iio: imu: st_lsm6dsx: introduce ST_LSM6DSX_ID_EXT sensor ids
Add ST_LSM6DSX_ID_EXT{0,1,2} sensor ids as reference for slave devices
connected to st_lsm6dsx i2c controller. Moreover introduce odr dependency
between accel and ext devices since i2c embedded controller relies on the
accelerometer sensor as bus read/write trigger so we need to enable accel
device at odr = max(accel_odr, ext_odr) in order to properly communicate
with i2c slave devices

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2018-11-16 18:32:33 +00:00
..
Kconfig iio: imu: st_lsm6dsx: add support to LSM6DSO 2018-09-02 21:30:47 +01:00
Makefile
st_lsm6dsx_buffer.c iio: imu: st_lsm6dsx: introduce ST_LSM6DSX_ID_EXT sensor ids 2018-11-16 18:32:33 +00:00
st_lsm6dsx_core.c iio: imu: st_lsm6dsx: introduce ST_LSM6DSX_ID_EXT sensor ids 2018-11-16 18:32:33 +00:00
st_lsm6dsx_i2c.c iio: imu: st_lsm6dsx: add support to LSM6DSO 2018-09-02 21:30:47 +01:00
st_lsm6dsx_spi.c iio: imu: st_lsm6dsx: add support to LSM6DSO 2018-09-02 21:30:47 +01:00
st_lsm6dsx.h iio: imu: st_lsm6dsx: introduce ST_LSM6DSX_ID_EXT sensor ids 2018-11-16 18:32:33 +00:00