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_BMI160 IMU driver
#

config CONFIG_BMI160
	tristate
	select CONFIG_IIO_BUFFER
	select CONFIG_IIO_TRIGGERED_BUFFER

config CONFIG_BMI160_I2C
	tristate "Bosch BMI160 I2C driver"
	depends on CONFIG_I2C
	select CONFIG_BMI160
	select CONFIG_REGMAP_I2C
	help
	  If you say yes here you get support for CONFIG_BMI160 IMU on CONFIG_I2C with
	  accelerometer, gyroscope and external CONFIG_BMG160 magnetometer.

	  This driver can also be built as a module. If so, the module will be
	  called bmi160_i2c.

config CONFIG_BMI160_SPI
	tristate "Bosch BMI160 SPI driver"
	depends on CONFIG_SPI
	select CONFIG_BMI160
	select CONFIG_REGMAP_SPI
	help
	  If you say yes here you get support for CONFIG_BMI160 IMU on CONFIG_SPI with
	  accelerometer, gyroscope and external CONFIG_BMG160 magnetometer.

	  This driver can also be built as a module. If so, the module will be
	  called bmi160_spi.