mbox series

[v2,0/4] st_lsm6dsx: move {odr,fs}_table in

Message ID cover.1564427804.git.lorenzo@kernel.org (mailing list archive)
Headers show
Series st_lsm6dsx: move {odr,fs}_table in | expand

Message

Lorenzo Bianconi July 29, 2019, 7:22 p.m. UTC
Move odr and gain table in st_lsm6dsx_sensor_settings maps in order to support
devices with different odr/fs definitions. Moreover move iio channel
definitions in st_lsm6dsx_sensor_settings.
This is a preliminary series to add support for LSM9DS1 and irq wake up support.

Changes since v1:
- rebase ontop of linux-iio testing branch
- move iio channel definitions in st_lsm6dsx_sensor_settings

Lorenzo Bianconi (4):
  iio: imu: st_lsm6dsx: move odr_table in st_lsm6dsx_sensor_settings
  iio: imu: st_lsm6dsx: move fs_table in st_lsm6dsx_sensor_settings
  iio: imu: st_lsm6dsx: inline output acc/gyro output regs
  iio: imu: st_lsm6dsx: move iio chan definitions in
    st_lsm6dsx_sensor_settings

 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h      |   9 +
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 473 +++++++++++++++----
 2 files changed, 387 insertions(+), 95 deletions(-)