On Wed, 23 Mar 2022 13:15:48 +0100 michael.srba@xxxxxxxxx wrote: > From: Michael Srba <Michael.Srba@xxxxxxxxx> > > This series copies the invensense icm20608 support in the inv_mpu6050 > driver for icm20608d, which is for all intents and purposes identical, > except for the inclusion of a DMP (Digital Motion Processor), which > is deemed significant enough to change the WHOAMI value, thereby making > the driver fail if the invensense,icm20608 compatible is specified. > > Since the driver doesn't currently acknowledge that there is such thing > as a DMP core, all that is needed is to copy the icm20608 support and > change the WHOAMI value. Series applied to my local togreg branch, but I'll be rebasing that after rc1 so for now only pushed out as testing to let 0-day see if it can find anything we missed. Thanks, Jonathan > > changelog: > -v2: require specifying "invensense,icm20608" as a fallback compatible > in the binding, as suggested > -v3: fix indentation issue with the binding > > Michael Srba (2): > dt-bindings: iio: imu: mpu6050: Document invensense,icm20608d > iio: imu: inv_mpu6050: Add support for ICM-20608-D > > .../bindings/iio/imu/invensense,mpu6050.yaml | 34 +++++++++++-------- > drivers/iio/imu/inv_mpu6050/Kconfig | 4 +-- > drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 9 +++++ > drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c | 6 ++++ > drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h | 2 ++ > drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c | 5 +++ > 6 files changed, 43 insertions(+), 17 deletions(-) >