Re: [PATCH v4 14/19] iio: accel: bma220: add i2c module
From: Jonathan Cameron
Date: Sun Oct 12 2025 - 11:17:59 EST
On Sun, 05 Oct 2025 16:12:23 +0300
Petre Rodan <petre.rodan@xxxxxxxxxxxxxxx> wrote:
> Add the bma220_i2c module.
>
> Note that this kernel module transparently shifts all register addresses
> 1 bit to the left, so all functions will operate based on the SPI memory
> map.
>
> Signed-off-by: Petre Rodan <petre.rodan@xxxxxxxxxxxxxxx>
Applied. Note that it was only when I reached here I realized I failed
to add the bma220.h when hand applying things earlier. Anyhow I went
back and fixed that up, but there a few little differences in ordering.
I took the view it was close enough that I didn't go back and do it a 3rd time.
Nothing affects eventual state, just position of the temporary struct spi_device;
forwards declaration I think.
Anyhow, after that this applied cleanly so all good
Thanks,
Jonathan