[PATCH v3] i2c: imx: add I2C_M_REV_DIR_ADDR and I2C_M_NOSTART

Andi Shyti andi.shyti at kernel.org
Fri Oct 23 09:32:38 PDT 2026


Hi Vincent,

On Fri, Oct 23, 2026 at 04:20:19PM +0200, Vincent Jardin wrote:
> The Realtek RTL8366SE SMI read frame per:
> 
>   S Addr Rd [A] reg[7:0] [A] reg[15:8] [A] [data[7:0]] A [data[15:8]] NA P
> 
> Linux support it using I2C_M_REV_DIR_ADDR on a write message
> that inverts the transmitted R/W bit, and I2C_M_NOSTART on the following
> read message that continues the frame without re-addressing.
> 
> This NXP i2c-imx is missing such support, so on an LX2160A the Realtek switch
> could not be used.
> 
> Acked-by: Carlos Song <carlos.song at nxp.com>
> Reviewed-by: Frank Li <Frank.Li at nxp.com>
> Signed-off-by: Vincent Jardin <vjardin at free.fr>

pushed to i2c/i2c.

Thanks,
Andi



More information about the linux-arm-kernel mailing list