Add iam20380 sensor support.
- add binding doc
- Add support for the Invensense IAM20380 sensor to the MPU6050 driver. It is
similar to the IAM20680. But IAM20380 only supports gyro and WHOAMI
register data is difference
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Changes in v2:
- Add Conor Dooley's ack tag for binding doc
- use iio_chan_spec
- Add spi part
- Link to v1: https://lore.kernel.org/r/20241113-iam20380-v1-0-cae690c4674d@nxp.com
---
Han Xu (2):
dt-bindings: iio: imu: mpu6050: Add invensense,iam20380 compatible string
iio: gyro: Add support for iam20380 sensor
.../bindings/iio/imu/invensense,mpu6050.yaml | 1 +
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 25 ++++++++++++++++++++++
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 +++++
5 files changed, 39 insertions(+)
---
base-commit: 28955f4fa2823e39f1ecfb3a37a364563527afbc
change-id: 20241112-iam20380-da900d806bf4
Best regards,
---
Frank Li <Frank.Li@nxp.com>