[PATCH] board: gateworks: venice: add GPIO name lookup

Fabio Estevam festevam at gmail.com
Tue May 2 23:05:01 CEST 2023


On Tue, May 2, 2023 at 2:45 PM Tim Harvey <tharvey at gateworks.com> wrote:
>
> Add GPIO name lookup so that you can act on GPIO's by name vs controller
> id:
>
> Before:
> u-boot=> gpio input pci_wdis#
> GPIO: 'pci_wdis#' not found
> Command 'gpio' failed: Error -22
>
> After:
> u-boot=> gpio input pci_wdis#
> gpio: pin pci_wdis# (gpio 103) value is 1
>
> Signed-off-by: Tim Harvey <tharvey at gateworks.com>

Reviewed-by: Fabio Estevam <festevam at denx.de>


More information about the U-Boot mailing list