diff options
author | Lorenzo Bianconi <lorenzo.bianconi@redhat.com> | 2018-11-11 15:15:31 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-11-16 18:32:33 +0000 |
commit | 6ffb55e5009ffdf103aa206511ea620490c0f002 (patch) | |
tree | 2c3be6d5a528d5e4ec7d5685e8372e3bac49b028 /lib | |
parent | d40464f30dc91e7882ff2ad2f2f6a148bd9c39e5 (diff) | |
download | linux-6ffb55e5009ffdf103aa206511ea620490c0f002.tar.bz2 |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions