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

From: LI Qingwu
Date: Tue May 10 2022 - 10:53:52 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 V2:

Use the correct bits only for `reg` to make sure it is in the correct range.
Remove the unused 'name' parameter.
Modified the compatible string for bmi088 and bmi090l in and binding document.
Reorder the commits.


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 | 64 ++++++++++++++++---
drivers/iio/accel/bmi088-accel-spi.c | 6 +-
drivers/iio/accel/bmi088-accel.h | 2 +-
4 files changed, 61 insertions(+), 13 deletions(-)

--
2.25.1