]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: imx_lpi2c: Support read transfers longer than 256 bytes
authorFedor Ross <fedor.ross@ifm.com>
Wed, 7 Aug 2024 14:08:01 +0000 (16:08 +0200)
committerHeiko Schocher <hs@denx.de>
Fri, 9 Aug 2024 12:46:49 +0000 (14:46 +0200)
commitec07bcc8eafb8d201d15facc969fe96600660095
treefce2966169eeb60926d46e7f9cb743d3d1251aa6
parent34c6731abe4fa5efadbb7519a050d2fcbdba3cab
i2c: imx_lpi2c: Support read transfers longer than 256 bytes

The TXFIFO register of LPI2C only has one byte length, and if the length
of the data that needs to be read exceeds 256 bytes, it needs to be
written to TXFIFO multiple times.

Signed-off-by: Fedor Ross <fedor.ross@ifm.com>
drivers/i2c/imx_lpi2c.c