[PATCH v1 1/1] arm64: dts: imx8mn-evk: Pass GPIO_OPEN_DRAIN flag on i2c3 GPIOs
Peng Fan
peng.fan at oss.nxp.com
Sun Oct 18 18:45:10 PDT 2026
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 at variscite.com>
>>
>>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 at variscite.com>
>
>Acked-by: Peng Fan <peng.fan at nxp.com>
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 at nxp.com>
More information about the linux-arm-kernel
mailing list