[PATCH V3 0/6] iio: accel: bmi088: support BMI085 BMI090L

From: LI Qingwu
Date: Wed May 18 2022 - 11:04:41 EST


Modified the units after application of scale from 100*m/s^2 to m/s^2,
since the units in the ABI documents are m/s^2.
Add supports for the BMI085 accelerometer.
Add supports for the BMI090L accelerometer.
Make it possible to config scales.

Change in V3:

Use FIELD_GET for checking register range. Reorder the chip info and
dt-bindings alphabetical. Add of_id_table. Modify the logic of loading
sensor chip info. If the device was found in the table but the device
tree binding is different, the driver will carry on with the detected
chip with a warning. If no matching device was found, the driver load
the binding chip.


LI Qingwu (6):
iio: accel: bmi088: Modified the scale calculate
iio: accel: bmi088: Make it possible to config scales
iio: accel: bmi088: modified the device name
iio: accel: bmi088: Add support for bmi085 accel
iio: accel: bmi088: Add support for bmi090l accel
dt-bindings: iio: accel: Add bmi085 and bmi090l bindings

.../bindings/iio/accel/bosch,bmi088.yaml | 2 +
drivers/iio/accel/bmi088-accel-core.c | 96 +++++++++++++++----
drivers/iio/accel/bmi088-accel-spi.c | 17 +++-
drivers/iio/accel/bmi088-accel.h | 9 +-
4 files changed, 100 insertions(+), 24 deletions(-)

--
2.25.1