mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 06:39:05 +00:00

The Bosch BMI323 is a 6-axis low-power IMU that provide measurements for acceleration, angular rate, and temperature. This sensor includes motion-triggered interrupt features, such as a step counter, tap detection, and activity/inactivity interrupt capabilities. The driver supports various functionalities, including data ready, FIFO data handling, and events such as tap detection, step counting, and activity interrupts. Signed-off-by: Jagath Jog J <jagathjog1996@gmail.com> Link: https://lore.kernel.org/r/20231013034808.8948-3-jagathjog1996@gmail.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
|
|
#
|
|
# BMI323 IMU driver
|
|
#
|
|
|
|
config BMI323
|
|
tristate
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
config BMI323_I2C
|
|
tristate "Bosch BMI323 I2C driver"
|
|
depends on I2C
|
|
select BMI323
|
|
select REGMAP_I2C
|
|
help
|
|
Enable support for the Bosch BMI323 6-Axis IMU connected to I2C
|
|
interface.
|
|
|
|
This driver can also be built as a module. If so, the module will be
|
|
called bmi323_i2c.
|
|
|
|
config BMI323_SPI
|
|
tristate "Bosch BMI323 SPI driver"
|
|
depends on SPI
|
|
select BMI323
|
|
select REGMAP_SPI
|
|
help
|
|
Enable support for the Bosch BMI323 6-Axis IMU connected to SPI
|
|
interface.
|
|
|
|
This driver can also be built as a module. If so, the module will be
|
|
called bmi323_spi.
|