50fe984f37
Add an I2C driver for communicating to a BNO055 IMU via I2C bus and enable the BNO055 core driver to work in this scenario. Signed-off-by: Andrea Merello <andrea.merello@iit.it> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20220907132205.28021-14-andrea.merello@iit.it Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
26 lines
642 B
Plaintext
26 lines
642 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
config BOSCH_BNO055
|
|
tristate
|
|
|
|
config BOSCH_BNO055_SERIAL
|
|
tristate "Bosch BNO055 attached via UART"
|
|
depends on SERIAL_DEV_BUS
|
|
select BOSCH_BNO055
|
|
help
|
|
Enable this to support Bosch BNO055 IMUs attached via UART.
|
|
|
|
This driver can also be built as a module. If so, the module will be
|
|
called bno055_sl.
|
|
|
|
config BOSCH_BNO055_I2C
|
|
tristate "Bosch BNO055 attached via I2C bus"
|
|
depends on I2C
|
|
select REGMAP_I2C
|
|
select BOSCH_BNO055
|
|
help
|
|
Enable this to support Bosch BNO055 IMUs attached via I2C bus.
|
|
|
|
This driver can also be built as a module. If so, the module will be
|
|
called bno055_i2c.
|