Re: [PATCH v2] regmap-i2c: Subtract reg size from max_write
From: Mark Brown
Date: Tue Jun 04 2024 - 07:50:46 EST
On Tue, Jun 04, 2024 at 12:15:33PM +0300, Andy Shevchenko wrote:
> The only difference AFAICS is the case 2.
> Do we need to patch regmap SPI for that?
> I think SPI just works since we don't really have devices that use
> less than 8 bits per register, and hence we never enter into such a
It's not a practical issue as far as I'm aware, I don't think anyone
actually uses weird padding like that but in principal I think so.
> case (while I2C is naturally using 7-bit addresses).
Realistically not, the 8th bit is a read/write bit.
Attachment:
signature.asc
Description: PGP signature