Linux device drivers for STMicroelectronics MEMS motion and environmental sensors, based on the Linux Industrial (IIO) device system, are available in source code in the STMicroelectronics public GitHub repository.
The repository contains the Linux kernel (v3.10, v3.14, v3.18, v4.4, v4.9, v4.14, v4.19) with STMicroelectronics MEMS sensor support. The sensor drivers are located under the directory drivers/iio and organized by sensor type. The sensor drivers support SPI and I²C interfaces.
Integration details are available in the README section of the GitHub repository.
Linux device drivers for Industrial I/O (IIO) framework
SPI and I²C interfaces supported
Available in the STMicroelectronics public GitHub repository