[U-Boot] gpio: omap_gpio: Name GPIO's by bank and index with DM_GPIO

Tom Rini trini at konsulko.com
Tue Jun 19 18:42:16 UTC 2018


On Mon, Jun 11, 2018 at 08:05:38PM -0500, Adam Ford wrote:

> There are multiple GPIO banks with up to 32 pins / bank. When
> using 'gpio status -a' to read the pins, this patch displays
> both GPIO<bank>_<index> similar to how the device trees
> display in addition to displaying  gpio_#
> 
> Signed-off-by: Adam Ford <aford173 at gmail.com>
> 
> diff --git a/drivers/gpio/omap_gpio.c b/drivers/gpio/omap_gpio.c
> index 4d54df284d..651f6994e4 100644

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180619/571d28bf/attachment.sig>


More information about the U-Boot mailing list