Re: [PATCH v5 4/5] pinctrl: upboard: fix I2C pinmux-select set CPLD GPIO OUT not function mode
From: Andy Shevchenko
Date: Mon Nov 30 2026 - 12:27:58 EST
On Mon, Nov 30, 2026 at 07:25:37PM +0800, Gary Wang 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: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
--
With Best Regards,
Andy Shevchenko