mbox series

[0/6] introduce i2c master controller support for LSM6DSM

Message ID cover.1576341963.git.lorenzo@kernel.org (mailing list archive)
Headers show
Series introduce i2c master controller support for LSM6DSM | expand

Message

Lorenzo Bianconi Dec. 14, 2019, 4:52 p.m. UTC
Enabled i2c master controller support for LSM6DSM devices.
Enable ext_sensor0 for lsm6dsm (currently just one external sensor
is supported). This series has been tested using LIS2MDL as slave device
connected to the i2c controller of the LSM6DSM

Lorenzo Bianconi (6):
  iio: imu: st_lsm6dsx: export max num of slave devices in
    st_lsm6dsx_shub_settings
  iio: imu: st_lsm6dsx: check if master_enable is located in primary
    page
  iio: imu: st_lsm6dsx: check if pull_up is located in primary page
  iio: imu: st_lsm6dsx: check if shub_output reg is located in primary
    page
  iio: imu: st_lsm6dsx: rename st_lsm6dsx_shub_read_reg in
    st_lsm6dsx_shub_read_output
  iio: imu: st_lsm6dsx: enable sensor-hub support for lsm6dsm

 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h       | 23 +++++-
 .../iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c    | 27 +++++--
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c  | 74 ++++++++++++++++--
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c  | 76 ++++++++++++-------
 4 files changed, 157 insertions(+), 43 deletions(-)