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(-) -- 2.21.0