ST_LSM6DSx driver for STM 6-axis IMU MEMS sensors

modulename: st_lsm6dsx.ko

configname: CONFIG_IIO_ST_LSM6DSX

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Inertial measurement units
└─>SPI support
└─>I3C support
└─>ST_LSM6DSx driver for STM 6-axis IMU MEMS sensors
In linux kernel since version 3.10 (release Date: 2013-06-30)  
Say yes here to build support for STMicroelectronics LSM6DSx imu
sensor. Supported devices: lsm6ds3, lsm6ds3h, lsm6dsl, lsm6dsm,
ism330dlc, lsm6dso, lsm6dsox, asm330lhh, lsm6dsr, lsm6ds3tr-c,
ism330dhcx and the accelerometer/gyroscope of lsm9ds1.

To compile this driver as a module, choose M here: the module
will be called st_lsm6dsx.

source code: