Re: [PATCH v5 4/6] iio: imu: inv_icm42607: Add support for ICM-42370-P
From: Andy Shevchenko
Date: Fri Oct 02 2026 - 09:13:24 EST
On Fri, Oct 02, 2026 at 01:54:28PM +0200, Kanak Shilledar wrote:
> Add support for the Invensense ICM-42370-P MEMS MotionTracking 3-axis
> accelerometer with built-in temperature sensor. This device is almost
> identical to the existing Invensense ICM-42607-P IMU, but lacks
> gyroscope. The device supports I2C, SPI and I3C. Implement only I2C
> support for now, and provide support for raw sensor reads via sysfs.
> There is also a built-in temperature sensor but it can not be turned off
> similar to the ICM-42607.
>
> While at it, change so dev_err_probe() is returned
> when the WHO_AM_I read fails.
...
> }, {
> .name = "icm42607p",
> .driver_data = (kernel_ulong_t)&inv_icm42607p_hw_data,
> + }, {
> + .name = "icm42370p",
> + .driver_data = (kernel_ulong_t)&inv_icm42370p_hw_data,
> },
> { }
...
> }, {
> .compatible = "invensense,icm42607p",
> .data = &inv_icm42607p_hw_data,
> + }, {
> + .compatible = "invensense,icm42370p",
> + .data = &inv_icm42370p_hw_data,
> },
> { }
Keep the ID tables ordered by name/compatible.
--
With Best Regards,
Andy Shevchenko