* [PATCH] iio: accel: bmi088: update comments and Kconfig
@ 2023-12-14 14:27 Jun Yan
2023-12-17 14:22 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Jun Yan @ 2023-12-14 14:27 UTC (permalink / raw)
To: Jonathan.Cameron; +Cc: lars, Qing-wu.Li, linux-iio, Jun Yan
update the comments and Kconfig file with more descriptive and
accurate information about newly added device: BMI085, BMI090L.
Signed-off-by: Jun Yan <jerrysteve1101@gmail.com>
---
drivers/iio/accel/Kconfig | 7 ++++---
drivers/iio/accel/bmi088-accel-core.c | 2 ++
drivers/iio/accel/bmi088-accel-spi.c | 2 ++
3 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig
index f113dae59048..91adcac875a4 100644
--- a/drivers/iio/accel/Kconfig
+++ b/drivers/iio/accel/Kconfig
@@ -260,10 +260,11 @@ config BMI088_ACCEL
select REGMAP
select BMI088_ACCEL_SPI
help
- Say yes here to build support for the Bosch BMI088 accelerometer.
+ Say yes here to build support for the following Bosch accelerometers:
+ BMI088, BMI085, BMI090L. Note that all of these are combo module that
+ include both accelerometer and gyroscope.
- This is a combo module with both accelerometer and gyroscope. This
- driver only implements the accelerometer part, which has its own
+ This driver only implements the accelerometer part, which has its own
address and register map. BMG160 provides the gyroscope driver.
config BMI088_ACCEL_SPI
diff --git a/drivers/iio/accel/bmi088-accel-core.c b/drivers/iio/accel/bmi088-accel-core.c
index 84edcc78d796..4d989708e6c3 100644
--- a/drivers/iio/accel/bmi088-accel-core.c
+++ b/drivers/iio/accel/bmi088-accel-core.c
@@ -2,6 +2,8 @@
/*
* 3-axis accelerometer driver supporting following Bosch-Sensortec chips:
* - BMI088
+ * - BMI085
+ * - BMI090L
*
* Copyright (c) 2018-2021, Topic Embedded Products
*/
diff --git a/drivers/iio/accel/bmi088-accel-spi.c b/drivers/iio/accel/bmi088-accel-spi.c
index ee540edd8412..7b419a7b2478 100644
--- a/drivers/iio/accel/bmi088-accel-spi.c
+++ b/drivers/iio/accel/bmi088-accel-spi.c
@@ -2,6 +2,8 @@
/*
* 3-axis accelerometer driver supporting following Bosch-Sensortec chips:
* - BMI088
+ * - BMI085
+ * - BMI090L
*
* Copyright (c) 2018-2020, Topic Embedded Products
*/
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iio: accel: bmi088: update comments and Kconfig
2023-12-14 14:27 [PATCH] iio: accel: bmi088: update comments and Kconfig Jun Yan
@ 2023-12-17 14:22 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2023-12-17 14:22 UTC (permalink / raw)
To: Jun Yan; +Cc: Jonathan.Cameron, lars, Qing-wu.Li, linux-iio
On Thu, 14 Dec 2023 22:27:33 +0800
Jun Yan <jerrysteve1101@gmail.com> wrote:
> update the comments and Kconfig file with more descriptive and
> accurate information about newly added device: BMI085, BMI090L.
>
> Signed-off-by: Jun Yan <jerrysteve1101@gmail.com>
Hi Jun Yan,
Applied to the togreg branch of iio.git.
Thanks,
Jonathan
> ---
> drivers/iio/accel/Kconfig | 7 ++++---
> drivers/iio/accel/bmi088-accel-core.c | 2 ++
> drivers/iio/accel/bmi088-accel-spi.c | 2 ++
> 3 files changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig
> index f113dae59048..91adcac875a4 100644
> --- a/drivers/iio/accel/Kconfig
> +++ b/drivers/iio/accel/Kconfig
> @@ -260,10 +260,11 @@ config BMI088_ACCEL
> select REGMAP
> select BMI088_ACCEL_SPI
> help
> - Say yes here to build support for the Bosch BMI088 accelerometer.
> + Say yes here to build support for the following Bosch accelerometers:
> + BMI088, BMI085, BMI090L. Note that all of these are combo module that
> + include both accelerometer and gyroscope.
>
> - This is a combo module with both accelerometer and gyroscope. This
> - driver only implements the accelerometer part, which has its own
> + This driver only implements the accelerometer part, which has its own
> address and register map. BMG160 provides the gyroscope driver.
>
> config BMI088_ACCEL_SPI
> diff --git a/drivers/iio/accel/bmi088-accel-core.c b/drivers/iio/accel/bmi088-accel-core.c
> index 84edcc78d796..4d989708e6c3 100644
> --- a/drivers/iio/accel/bmi088-accel-core.c
> +++ b/drivers/iio/accel/bmi088-accel-core.c
> @@ -2,6 +2,8 @@
> /*
> * 3-axis accelerometer driver supporting following Bosch-Sensortec chips:
> * - BMI088
> + * - BMI085
> + * - BMI090L
> *
> * Copyright (c) 2018-2021, Topic Embedded Products
> */
> diff --git a/drivers/iio/accel/bmi088-accel-spi.c b/drivers/iio/accel/bmi088-accel-spi.c
> index ee540edd8412..7b419a7b2478 100644
> --- a/drivers/iio/accel/bmi088-accel-spi.c
> +++ b/drivers/iio/accel/bmi088-accel-spi.c
> @@ -2,6 +2,8 @@
> /*
> * 3-axis accelerometer driver supporting following Bosch-Sensortec chips:
> * - BMI088
> + * - BMI085
> + * - BMI090L
> *
> * Copyright (c) 2018-2020, Topic Embedded Products
> */
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-12-17 14:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-14 14:27 [PATCH] iio: accel: bmi088: update comments and Kconfig Jun Yan
2023-12-17 14:22 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox