[PATCH V13 3/9] iio: imu: inv_icm42607: Add inv_icm42607 Core Driver
Andy Shevchenko
andriy.shevchenko at intel.com
Tue Jun 16 01:53:35 PDT 2026
On Mon, Jun 15, 2026 at 12:25:46PM -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.
...
> +#ifndef INV_ICM42607_H_
> +#define INV_ICM42607_H_
> +
> +#include <linux/bits.h>
> +#include <linux/iio/iio.h>
> +#include <linux/mutex.h>
> +#include <linux/regmap.h>
> +#include <linux/regulator/consumer.h>
> +#include <linux/time.h>
> +#include <linux/types.h>
+ asm/byteorder.h // cpu_to_le16()
...
> +#include <linux/bitfield.h>
> +#include <linux/dev_printk.h>
> +#include <linux/err.h>
> +#include <linux/i2c.h>
> +#include <linux/mod_devicetable.h>
> +#include <linux/module.h>
> +#include <linux/regmap.h>
> +
> +
Single blank line is enough.
> +#include "inv_icm42607.h"
--
With Best Regards,
Andy Shevchenko
More information about the Linux-rockchip
mailing list