]> git.baikalelectronics.ru Git - uboot.git/commit
board: gateworks: venice: add GPIO name lookup
authorTim Harvey <tharvey@gateworks.com>
Tue, 2 May 2023 17:44:44 +0000 (10:44 -0700)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Jul 2023 12:40:03 +0000 (14:40 +0200)
commitf8e0d328e7599b935aa7fbf63f8b50dd27f25a41
tree16a2d750c55b6b1491fc7c0cce2aa1acba29268d
parentcc301b8263fe5894440e9bb53db872692ac05ff2
board: gateworks: venice: add GPIO name lookup

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@gateworks.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
configs/imx8mm_venice_defconfig
configs/imx8mn_venice_defconfig
configs/imx8mp_venice_defconfig