[PATCH] pinctrl: aspeed: Fix GPIO mux value for ADC-capable balls
Linus Walleij
linusw at kernel.org
Mon Jun 8 01:19:24 PDT 2026
On Fri, Jun 5, 2026 at 8:38 AM Billy Tsai <billy_tsai at aspeedtech.com> wrote:
> aspeed_g7_soc1_gpio_request_enable() unconditionally writes mux
> function 0 to route the requested pin to GPIO. This is wrong for the
> ADC-capable balls W17 through AB19 (ADC0-ADC15), where function 0
> selects the ADC input and function 1 selects GPIO. Requesting one of
> those GPIOs therefore muxed the ball to ADC instead.
>
> Write mux value 1 for balls W17 through AB19 so the GPIO function is
> actually selected.
>
> Fixes: 4af4eb66aac3 ("pinctrl: aspeed: Add AST2700 SoC1 support")
> Signed-off-by: Billy Tsai <billy_tsai at aspeedtech.com>
Patch applied! Will be for v7.2 at this point.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list