linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] iio:imu:mpu6050 update bindings and add mpu9250 support.
@ 2017-03-26 11:10 Jonathan Cameron
  2017-03-26 11:10 ` [PATCH 1/2] iio:imu:mpu6050 update i2c bindings to reflect i2c-gate and supported parts Jonathan Cameron
  2017-03-26 11:11 ` [PATCH 2/2] iio:imu:mpu6050 add explicit mpu9250 support Jonathan Cameron
  0 siblings, 2 replies; 7+ messages in thread
From: Jonathan Cameron @ 2017-03-26 11:10 UTC (permalink / raw)
  To: linux-iio, devicetree; +Cc: Mark.Rutland, robh+dt, Jonathan Cameron

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(-)

-- 
2.12.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-04-02  9:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-26 11:10 [PATCH 0/2] iio:imu:mpu6050 update bindings and add mpu9250 support Jonathan Cameron
2017-03-26 11:10 ` [PATCH 1/2] iio:imu:mpu6050 update i2c bindings to reflect i2c-gate and supported parts Jonathan Cameron
2017-03-30 23:02   ` Rob Herring
2017-04-02  9:09     ` Jonathan Cameron
2017-03-26 11:11 ` [PATCH 2/2] iio:imu:mpu6050 add explicit mpu9250 support Jonathan Cameron
2017-03-30 23:18   ` Rob Herring
2017-04-02  9:12     ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).