xref: /linux/drivers/iio/imu/bmi270/Kconfig (revision c771600c6af14749609b49565ffb4cac2959710d)
13ea51548SAlex Lanzano# SPDX-License-Identifier: GPL-2.0
23ea51548SAlex Lanzano#
33ea51548SAlex Lanzano# BMI270 IMU driver
43ea51548SAlex Lanzano#
53ea51548SAlex Lanzano
63ea51548SAlex Lanzanoconfig BMI270
73ea51548SAlex Lanzano	tristate
83ea51548SAlex Lanzano	select IIO_BUFFER
9*eaba902dSJustin Weiss	select IIO_TRIGGERED_BUFFER
103ea51548SAlex Lanzano
113ea51548SAlex Lanzanoconfig BMI270_I2C
123ea51548SAlex Lanzano	tristate "Bosch BMI270 I2C driver"
133ea51548SAlex Lanzano	depends on I2C
143ea51548SAlex Lanzano	select BMI270
153ea51548SAlex Lanzano	select REGMAP_I2C
163ea51548SAlex Lanzano	help
173ea51548SAlex Lanzano	  Enable support for the Bosch BMI270 6-Axis IMU connected to I2C
183ea51548SAlex Lanzano	  interface.
193ea51548SAlex Lanzano
203ea51548SAlex Lanzano	  This driver can also be built as a module. If so, the module will be
213ea51548SAlex Lanzano	  called bmi270_i2c.
2292cc50a0SAlex Lanzano
2392cc50a0SAlex Lanzanoconfig BMI270_SPI
2492cc50a0SAlex Lanzano	tristate "Bosch BMI270 SPI driver"
2592cc50a0SAlex Lanzano	depends on SPI
2692cc50a0SAlex Lanzano	select BMI270
2792cc50a0SAlex Lanzano	select REGMAP_SPI
2892cc50a0SAlex Lanzano	help
2992cc50a0SAlex Lanzano	  Enable support for the Bosch BMI270 6-Axis IMU connected to SPI
3092cc50a0SAlex Lanzano	  interface.
3192cc50a0SAlex Lanzano
3292cc50a0SAlex Lanzano	  This driver can also be built as a module. If so, the module will be
3392cc50a0SAlex Lanzano	  called bmi270_spi.
34