[PATCH V8 03/10] iio: imu: inv_icm42607: Add inv_icm42607 Core Driver

Jonathan Cameron jic23 at kernel.org
Wed May 20 11:23:30 PDT 2026


On Mon, 18 May 2026 15:05:18 -0500
Chris Morgan <macroalpha82 at gmail.com> wrote:

> From: Chris Morgan <macromorgan at hotmail.com>
> 
> 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.
> 
How are you driving the fifo capture? There isn't a trigger
and the irq isn't wired up that I can find.

I'm struggling to see how this works.
I would expect to see something like:
inv_icm42600_irq_handler()

Ah. This was previously in the wake up patch.  That bit we still need
for this driver to work.


> Signed-off-by: Chris Morgan <macromorgan at hotmail.com>
> ---

> +int inv_icm42607_core_probe(struct regmap *regmap, const struct inv_icm42607_hw *hw,
> +			    inv_icm42607_bus_setup bus_setup)
> +{
> +	struct device *dev = regmap_get_device(regmap);
> +	struct inv_icm42607_state *st;
> +	int irq;
> +	int ret;
> +
> +	irq = fwnode_irq_get_byname(dev_fwnode(dev), "INT1");
> +	if (irq < 0)
> +		return dev_err_probe(dev, irq, "Unable to get INT1 interrupt\n");
This doesn't seem to be used?

> +



More information about the Linux-rockchip mailing list