[PATCH 0/2] iio: imu: inv-mpu9150: fix interrupts for MPU9150

akemnade@kernel.org posted 2 patches 1 month, 1 week ago
arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts | 4 ++--
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c        | 8 ++++++++
drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h         | 2 ++
drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c     | 5 ++++-
4 files changed, 16 insertions(+), 3 deletions(-)
[PATCH 0/2] iio: imu: inv-mpu9150: fix interrupts for MPU9150
Posted by akemnade@kernel.org 1 month, 1 week ago
The Epson Moverio BT200 has MPU9150 chips. The devicetree has a simple
typo regarding the interrupt of that chip. Simply fixing it unweils
problems in the driver causing IRQ storms by calling
iio_readdev -T 0 iio:deviceX 

With the fix applied one IRQ comes per sampling when calling
iio_readdev -T 0 iio:deviceX which looks like sane behaviour.
Probably applying this series has to be split between different kernel
releases to avoid having fixed devicetree with broken driver.

Signed-off-by: Andreas Kemnade <akemnade@kernel.org>
---
Andreas Kemnade (2):
      iio: imu: inv-mpu9150: fix irq ack preventing irq storms
      ARM: dts: ti/omap: omap4-epson-embt2ws: fix typo in iio device property

 arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts | 4 ++--
 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c        | 8 ++++++++
 drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h         | 2 ++
 drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c     | 5 ++++-
 4 files changed, 16 insertions(+), 3 deletions(-)
---
base-commit: f8f9c1f4d0c7a64600e2ca312dec824a0bc2f1da
change-id: 20251231-mpu9150-0f261490d17e

Best regards,
--  
Andreas Kemnade <akemnade@kernel.org>