Re: [PATCH v5 2/2] media: i2c: mira016: Add driver for Mira016
From: Sakari Ailus
Date: Thu Oct 01 2026 - 02:52:22 EST
Hi Jacopo,
On Wed, Sep 30, 2026 at 06:34:12PM +0200, Jacopo Mondi wrote:
> > Like for the above array 0xe000 register.
>
> 0xe000 is repeated multiple times because it's the register that
> selects which bank to write to (there are 2 registers banks on this
> sensor)
If you have pages, you should use regmap's page support. See e.g.
<URL:https://lore.kernel.org/linux-media/20261001061250.37734-1-sakari.ailus@xxxxxxxxxxxxxxx/T/#u>.
There are probably other such examples, too.
--
Regards,
Sakari Ailus