Re: [PATCH v3] i2c: imx: add I2C_M_REV_DIR_ADDR and I2C_M_NOSTART
From: Andi Shyti
Date: Fri Oct 23 2026 - 12:33:49 EST
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@xxxxxxx>
> Reviewed-by: Frank Li <Frank.Li@xxxxxxx>
> Signed-off-by: Vincent Jardin <vjardin@xxxxxxx>
pushed to i2c/i2c.
Thanks,
Andi