add i2c controller support to st_lsm6dsx driver
Status from this message: Applied. This one might have been taking the one thing one
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 16 repliesApplied
- v17 patches 19 repliesSuperseded
Changes in v2 from the cover letter
- move back st_lsm6dsx_set_fifo_mode routine in fifo_lock critical section in st_lsm6dsx_flush_fifo
- improve documentation
- move st_lsm6dsx_sensor_set_enable definition in a separated patch
- move st_lsm6dsx_push_tagged_data definition in a separated patch
- use proper ts_ref for ext devices in st_lsm6dsx_push_tagged_data
- fix invalid iio_dev identification in st_lsm6dsx_push_tagged_data when ST_LSM6DSX_EXT1_TAG is read from the FIFO
- refactor st_lsm6dsx_shub_probe moving wai check in a dedicated routine
- fix abi issue in scale_available definition
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | iio: imu: st_lsm6dsx: introduce locked read/write utility routinesdrivers/ drivers/ drivers/ | +90 | 1 reply | |
| 2/9 | iio: imu: st_lsm6dsx: reload trimming parameter at bootstrapdrivers/ | +15 | 1 reply | |
| 3/9 | iio: imu: st_lsm6dsx: remove static from st_lsm6dsx_set_watermarkdrivers/ drivers/ | +2 | 1 reply | |
| 4/9 | iio: imu: st_lsm6dsx: introduce ST_LSM6DSX_ID_EXT sensor idsdrivers/ drivers/ drivers/ | +88 | 1 reply | |
| 5/9 | iio: imu: st_lsm6dsx: introduce st_lsm6dsx_sensor_set_enable routinedrivers/ drivers/ drivers/ | +15 | 1 reply | |
| 6/9 | iio: imu: st_lsm6dsx: add i2c embedded controller supportdrivers/ drivers/ drivers/ +2 more | +911 | 1 reply | |
| 7/9 | iio: imu: st_lsm6dsx: add st_lsm6dsx_push_tagged_data routinedrivers/ | +29 | 1 reply | |
| 8/9 | iio: imu: st_lsm6dsx: add hw FIFO support to i2c controllerdrivers/ drivers/ drivers/ +1 more | +125 | 1 reply | |
| 9/9 | dt-bindings: iio: imu: st_lsm6dsx: add support to i2c pullup resistorsDocumentation/ | +1 | 6 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/9] add i2c controller support to st_lsm6dsx driver
Introduce i2c controller support to st_lsm6dsx driver for lsm6dso sensor. st_lsm6dsx sensor-hub supports up to 3 concurrent slave devices. Add register map for lis2mdl magnetometer sensor.
Add hw FIFO support to st_lsm6dsx sensorhub driver.
Changes since v1:
- move back st_lsm6dsx_set_fifo_mode routine in fifo_lock critical section in st_lsm6dsx_flush_fifo
- improve documentation
- move st_lsm6dsx_sensor_set_enable definition in a separated patch
- move st_lsm6dsx_push_tagged_data definition in a separated patch
- use proper ts_ref for ext devices in st_lsm6dsx_push_tagged_data
- fix invalid iio_dev identification in st_lsm6dsx_push_tagged_data when ST_LSM6DSX_EXT1_TAG is read from the FIFO
- refactor st_lsm6dsx_shub_probe moving wai check in a dedicated routine
- fix abi issue in scale_available definition
Lorenzo Bianconi (9):
iio: imu: st_lsm6dsx: introduce locked read/write utility routines
iio: imu: st_lsm6dsx: reload trimming parameter at bootstrap
iio: imu: st_lsm6dsx: remove static from st_lsm6dsx_set_watermark
iio: imu: st_lsm6dsx: introduce ST_LSM6DSX_ID_EXT sensor ids
iio: imu: st_lsm6dsx: introduce st_lsm6dsx_sensor_set_enable routine
iio: imu: st_lsm6dsx: add i2c embedded controller support
iio: imu: st_lsm6dsx: add st_lsm6dsx_push_tagged_data routine
iio: imu: st_lsm6dsx: add hw FIFO support to i2c controller
dt-bindings: iio: imu: st_lsm6dsx: add support to i2c pullup resistors
.../bindings/iio/imu/st_lsm6dsx.txt | 1 + drivers/iio/imu/st_lsm6dsx/Makefile | 3 +- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h | 167 +++- .../iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c | 165 ++-- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 283 +++++-- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c | 777 ++++++++++++++++++ .../linux/platform_data/st_sensors_pdata.h | 2 + 7 files changed, 1263 insertions(+), 135 deletions(-) create mode 100644 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c
Signature · 1 line
2.19.1