mbox series

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

Message ID 20220510141753.3878390-1-Qing-wu.Li@leica-geosystems.com.cn (mailing list archive)
Headers show
Series iio: accel: bmi088: support BMI085 BMI090L | expand

Message

LI Qingwu May 10, 2022, 2:17 p.m. UTC
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(-)