summaryrefslogtreecommitdiff
path: root/drivers/iio/imu/bno055/Kconfig
diff options
context:
space:
mode:
authorAndrea Merello <andrea.merello@iit.it>2022-09-07 16:22:03 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-09-21 20:42:56 +0300
commit2eef5a9cc6439a4c8eb4c741a498e72f9335febe (patch)
treed261d26f0d7ba4e8ae58887e29d608bd607fbd55 /drivers/iio/imu/bno055/Kconfig
parent21f95c75e0b7e77370177173c67d0931d4020e78 (diff)
downloadlinux-2eef5a9cc6439a4c8eb4c741a498e72f9335febe.tar.xz
iio: imu: add BNO055 serdev driver
Add a serdev driver for communicating to a BNO055 IMU via serial bus, and enable the BNO055 core driver to work in this scenario. Signed-off-by: Andrea Merello <andrea.merello@iit.it> Link: https://lore.kernel.org/r/20220907132205.28021-13-andrea.merello@iit.it Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/imu/bno055/Kconfig')
-rw-r--r--drivers/iio/imu/bno055/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/iio/imu/bno055/Kconfig b/drivers/iio/imu/bno055/Kconfig
index 467bc0ed22f8..b51d63b49ea4 100644
--- a/drivers/iio/imu/bno055/Kconfig
+++ b/drivers/iio/imu/bno055/Kconfig
@@ -2,3 +2,13 @@
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.