[PATCH v16 04/10] iio: imu: inv_icm42607: Add inv_icm42607 Core Driver

Andy Shevchenko andriy.shevchenko at intel.com
Tue Jul 14 03:56:57 PDT 2026


On Mon, Jul 13, 2026 at 04:58:34PM -0500, Chris Morgan wrote:

> Add the core component of a new inv_icm42607 driver. This includes
> a few setup functions and the full register definition in the
> header file, as well as the bits necessary to compile and probe the
> device when used on an i2c bus.

Reviewed-by: Andy Shevchenko <andriy.shevchenko at intel.com>

...

> +++ b/drivers/iio/imu/inv_icm42607/inv_icm42607_core.c

> +#include <linux/bitfield.h>
> +#include <linux/delay.h>
> +#include <linux/device.h>

> +#include <linux/device/devres.h>

When device.h is included, this one is not needed. Yeah, device.h is a mess,
but here we are now.

> +#include <linux/err.h>
> +#include <linux/iio/iio.h>
> +#include <linux/module.h>
> +#include <linux/mutex.h>
> +#include <linux/regmap.h>
> +#include <linux/regulator/consumer.h>
> +#include <linux/time.h>
> +#include <linux/types.h>

-- 
With Best Regards,
Andy Shevchenko





More information about the Linux-rockchip mailing list