[PATCH v3] pinctrl: meson: support gpio toggle command

Neil Armstrong neil.armstrong at linaro.org
Thu Sep 4 11:57:32 CEST 2025


Hi,

On Tue, 17 Jun 2025 01:01:17 +0800, Yang Xiwen wrote:
> meson_gpio_get() always assumes gpio is configured to input mode. This
> is incorrect and breaks `gpio toggle` command:
> 
> gpio: pin aobus-banks2 (gpio 2) value is 0
>    Warning: value of pin is still 1
> 
> Fix it by adding the logic to handle both input and output mode.
> 
> [...]

Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-amlogic (u-boot-amlogic-next)

[1/1] pinctrl: meson: support gpio toggle command
      https://source.denx.de/u-boot/custodians/u-boot-amlogic/-/commit/879cde9383621ea05f73d1103e4e0eaa8346a562

-- 
Neil



More information about the U-Boot mailing list