Re: [PATCH v1 1/1] arm64: dts: imx8mn-evk: Pass GPIO_OPEN_DRAIN flag on i2c3 GPIOs
From: Peng Fan
Date: Sun Oct 18 2026 - 21:41:09 EST
On Thu, Oct 15, 2026 at 09:33:13PM +0800, Peng Fan wrote:
>On Thu, Oct 15, 2026 at 10:11:49AM +0200, Stefano Radaelli wrote:
>>From: Stefano Radaelli <stefano.r@xxxxxxxxxxxxx>
>>
>>scl-gpios and sda-gpios need GPIO_OPEN_DRAIN flag, otherwise the
>>following run-time warning is seen:
>>
>>gpio-146 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file
>>
>>Signed-off-by: Stefano Radaelli <stefano.r@xxxxxxxxxxxxx>
>
>Acked-by: Peng Fan <peng.fan@xxxxxxx>
After reading the gpiolib and i2c-core-base code, it is ok to just
set the flag for scl/sda-gpios. It is not a must update PAD
with ODE for Linux.
Reviewed-by: Peng Fan <peng.fan@xxxxxxx>