[PATCH v2 1/3] i3c: master: Add inline i3c_readl_fifo() and i3c_writel_fifo()

Wolfram Sang wsa+renesas at sang-engineering.com
Mon Jun 23 12:53:44 PDT 2025


On Sun, Jun 22, 2025 at 11:18:58AM +0200, Jorge Marques wrote:
> The i3c abstraction excepts u8 buffers, but some controllers have a bus
> width of 32-bits and don't support flagging valid bytes, so it is
> required to read/write long words and to use memcpy on the remainder of
> the number of bytes by 32-bits to not write/read outside the buffer
> bounds.
> 
> Signed-off-by: Jorge Marques <jorge.marques at analog.com>

Despite Frank's valid comments, I tested this code with the Renesas
driver and it worked so far. Thanks!

Tested-by: Wolfram Sang <wsa+renesas at sang-engineering.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-i3c/attachments/20250623/08f77965/attachment-0001.sig>


More information about the linux-i3c mailing list