linux/drivers/pinctrl/aspeed
Billy Tsai be3ee6e671 pinctrl: aspeed: Fix GPIO mux value for ADC-capable balls
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: 4af4eb66aa ("pinctrl: aspeed: Add AST2700 SoC1 support")
Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
2026-06-08 10:18:52 +02:00
..
Kconfig pinctrl: aspeed: Add AST2700 SoC1 support 2026-05-25 10:04:32 +02:00
Makefile pinctrl: aspeed: Add AST2700 SoC1 support 2026-05-25 10:04:32 +02:00
pinctrl-aspeed-g4.c pinctrl: aspeed: Cleanup header includes 2026-01-19 01:11:46 +01:00
pinctrl-aspeed-g5.c pinctrl: aspeed: Cleanup header includes 2026-01-19 01:11:46 +01:00
pinctrl-aspeed-g6.c pinctrl: aspeed: Cleanup header includes 2026-01-19 01:11:46 +01:00
pinctrl-aspeed-g7-soc1.c pinctrl: aspeed: Fix GPIO mux value for ADC-capable balls 2026-06-08 10:18:52 +02:00
pinctrl-aspeed-g7-soc0.c pinctrl: aspeed: Add AST2700 SoC0 support 2026-05-11 22:03:24 +02:00
pinctrl-aspeed.c pinctrl: aspeed: Constify static 'pinctrl_desc' 2025-06-18 13:26:36 +02:00
pinctrl-aspeed.h pinctrl: aspeed: Constify static 'pinctrl_desc' 2025-06-18 13:26:36 +02:00
pinmux-aspeed.c pinctrl: aspeed: placate kernel-doc warnings 2021-08-10 15:29:44 +02:00
pinmux-aspeed.h pinctrl: aspeed: Fix typo in comment 2022-06-28 14:30:11 +02:00