Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0-only

config CONFIG_IIO_ST_LSM6DSX
	tristate "ST_LSM6DSx driver for STM 6-axis IMU MEMS sensors"
	depends on (CONFIG_I2C || CONFIG_SPI || CONFIG_I3C)
	select CONFIG_IIO_BUFFER
	select CONFIG_IIO_KFIFO_BUF
	select CONFIG_IIO_ST_LSM6DSX_I2C if (CONFIG_I2C)
	select CONFIG_IIO_ST_LSM6DSX_SPI if (CONFIG_SPI_MASTER)
	select CONFIG_IIO_ST_LSM6DSX_I3C if (CONFIG_I3C)
	help
	  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 CONFIG_M here: the module
	  will be called st_lsm6dsx.

config CONFIG_IIO_ST_LSM6DSX_I2C
	tristate
	depends on CONFIG_IIO_ST_LSM6DSX
	select CONFIG_REGMAP_I2C

config CONFIG_IIO_ST_LSM6DSX_SPI
	tristate
	depends on CONFIG_IIO_ST_LSM6DSX
	select CONFIG_REGMAP_SPI

config CONFIG_IIO_ST_LSM6DSX_I3C
	tristate
	depends on CONFIG_IIO_ST_LSM6DSX
	select CONFIG_REGMAP_I3C