Skip to content

iio:imu:mpu6050 update bindings and add mpu9250 support.

Jonathan Cameron linux-devicetree linux-iio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iio:imu:mpu6050 update i2c bindings to reflect i2c-gate and supported partsDocumentation/devicetree/bindings/iio/imu/inv_mpu6050.txt+21 -22 replies
2/2iio:imu:mpu6050 add explicit mpu9250 supportDocumentation/devicetree/bindings/iio/imu/inv_mpu6050.txt drivers/iio/imu/inv_mpu6050/inv_mpu_core.c drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c +2 more+15 -12 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRob Herring
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] iio:imu:mpu6050 update bindings and add mpu9250 support.

The bindings for this driver are somewhat lagging the current situation. I have update the existing binding for i2c parts, but not added the spi binding as yet. That can follow later.

The main purpose of this series was to add explicit support for the mpu9250, mostly to avoid the log message that the whoami value does match. It's also more inituitive to support the part explicitly than to rely on people reading the datasheet to see they actually have an mpu6500 and ak8975 in a SIP.

If no one else does the SPI binding doc in the near future I'll get to it eventually.

Jonathan

Jonathan Cameron (2):
iio:imu:mpu6050 update i2c bindings to reflect i2c-gate and supported
parts
iio:imu:mpu6050 add explicit mpu9250 support

 .../devicetree/bindings/iio/imu/inv_mpu6050.txt    | 23 ++++++++++++++++++++--
 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c         |  6 ++++++
 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c          |  5 +++++
 drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h          |  2 ++
 drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c          |  1 +
 5 files changed, 35 insertions(+), 2 deletions(-)
Signature · 1 line
2.12.0