Linux device drivers for STMicroelectronics MEMS motion and environmental sensors, based on the Linux Input device system, are available in source code in the STMicroelectronics public GitHub repository.
The repository contains the Linux kernel (v3.10, v3.4) with STMicroelectronics MEMS sensor support; the sensor drivers are located under the directory drivers/input/misc/st 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 Input framework
SPI and I²C interfaces supported
Available in the STMicroelectronics public GitHub repository