mbox series

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

Message ID 20220526133359.2261928-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 26, 2022, 1:33 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 v5: 
- Fix the issue of 'undeclared function FIELD_GET'
  Reported-by: kernel test robot <lkp@intel.com>


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         | 97 +++++++++++++++----
 drivers/iio/accel/bmi088-accel-spi.c          | 17 +++-
 drivers/iio/accel/bmi088-accel.h              |  9 +-
 4 files changed, 101 insertions(+), 24 deletions(-)

Comments

Jonathan Cameron June 3, 2022, 3:51 p.m. UTC | #1
On Thu, 26 May 2022 13:33:53 +0000
LI Qingwu <Qing-wu.Li@leica-geosystems.com.cn> wrote:

> 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 v5: 
> - Fix the issue of 'undeclared function FIELD_GET'
>   Reported-by: kernel test robot <lkp@intel.com>

I've applied this series to the togreg branch of iio.git and pushed
out as testing.

Note I can rebase that tree still (and will do anyway to move to
rc1 or so once available) so we can resolve that question of
whether Datasheet is a tag or not in parallel with letting 0-day
see if it can find anything else we missed.

Thanks,

Jonathan

> 
> 
> 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         | 97 +++++++++++++++----
>  drivers/iio/accel/bmi088-accel-spi.c          | 17 +++-
>  drivers/iio/accel/bmi088-accel.h              |  9 +-
>  4 files changed, 101 insertions(+), 24 deletions(-)
>