mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-29 02:59:13 +00:00

Set up a triggered buffer for the accel and angl_vel values. Signed-off-by: Justin Weiss <justin@justinweiss.com> Link: https://patch.msgid.link/20241027172029.160134-2-justin@justinweiss.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
34 lines
706 B
Plaintext
34 lines
706 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# BMI270 IMU driver
|
|
#
|
|
|
|
config BMI270
|
|
tristate
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
config BMI270_I2C
|
|
tristate "Bosch BMI270 I2C driver"
|
|
depends on I2C
|
|
select BMI270
|
|
select REGMAP_I2C
|
|
help
|
|
Enable support for the Bosch BMI270 6-Axis IMU connected to I2C
|
|
interface.
|
|
|
|
This driver can also be built as a module. If so, the module will be
|
|
called bmi270_i2c.
|
|
|
|
config BMI270_SPI
|
|
tristate "Bosch BMI270 SPI driver"
|
|
depends on SPI
|
|
select BMI270
|
|
select REGMAP_SPI
|
|
help
|
|
Enable support for the Bosch BMI270 6-Axis IMU connected to SPI
|
|
interface.
|
|
|
|
This driver can also be built as a module. If so, the module will be
|
|
called bmi270_spi.
|