Re: [PATCH v5 4/5] pinctrl: upboard: fix I2C pinmux-select set CPLD GPIO OUT not function mode
From: Thomas Richard
Date: Mon Nov 30 2026 - 12:52:03 EST
On Mon, 30 Nov 2026 19:25:37 +0800, Gary Wang <is0124@xxxxxxxxx> wrote:
> The CPLD I2C pin mode setting through pinmux-select is not correct.
> Should be set UPBOARD_PIN_MODE_FUNCTION on AANT0F04 devices.
>
> Change UPBOARD_PIN_MODE_GPIO_OUT to UPBOARD_PIN_MODE_FUNCTION for both
> i2c0_grp and i2c1_grp. Additionally, replace the check variable `mode`
> with `modes` to prevent the value of `mode` from being 0.
>
> [...]
Reviewed-by: Thomas Richard <thomas.richard@xxxxxxxxxxx>
--
Best Regards,
Thomas Richard