Skip to content

add the capability to disable st_lsm6dsx sensor-hub

Lorenzo Bianconi linux-devicetree linux-iio 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- rename disable-shub property in disable-sensor-hub
- improve commit log

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iio: imu: st_lsm6dsx: add dts property to disable sensor-hubdrivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c+3 -10 replies
2/2Documentation: dt: iio: st_lsm6dsx: add disable-sensor-hub propertyDocumentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml+7 -02 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMario TesiRob Herring
1/2T-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] add the capability to disable st_lsm6dsx sensor-hub

Introduce the capability to disable sensorhub through a device-tree property since since there are some configurations where users want to explicitly disable sensor-hub auto-probing at bootstrap.
A typical configuration is when the sensorhub clock/data lines are connected to a pull-up resistor since no slave sensors are connected to the i2c master. If SDO/SA0 line is connected to the same pull-up resistor, when the driver tries to probe slave devices connected on sensor-hub, it will force SDO/SA0 line to low, modifying the device i2c address.

Changes since v1:
- rename disable-shub property in disable-sensor-hub
- improve commit log

Lorenzo Bianconi (2):
iio: imu: st_lsm6dsx: add dts property to disable sensor-hub
Documentation: dt: iio: st_lsm6dsx: add disable-sensor-hub property

 Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml | 7 +++++++
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c              | 4 +++-
 2 files changed, 10 insertions(+), 1 deletion(-)
Signature · 1 line
2.31.1