st-mems-android-linux-drivers-iio icon indicating copy to clipboard operation
st-mems-android-linux-drivers-iio copied to clipboard

Support for sensor hub on LSM6DSM

Open ericnelsonaz opened this issue 2 years ago • 1 comments

I have a device with an LSM6DSM communicating with my host over SPI and would like to connect an LPS22HH on the downstream I2C pins.

Does this driver support that? I'm not seeing how to configure things to support a downstream device.

ericnelsonaz avatar Mar 09 '23 17:03 ericnelsonaz

Hi ericnelsonaz,

sorry for my late answer, the lsm6dsm driver support the LPS22HH connected on its master I2C interface. You can enable support for this feature via the kernel menuconfig: Device Drivers -> Industrial I/O support -> STM MEMS Device Drivers -> Inertial measurement units -> STMicroelectronics LSM6DSM/LSM6DSL sensor -> I2C master controller -> LPS22HH

mariotesi avatar Feb 22 '24 17:02 mariotesi