]> git.baikalelectronics.ru Git - uboot.git/commit
GPIO: omap_gpio: Fix gpio name names with device tree
authorAdam Ford <aford173@gmail.com>
Fri, 17 Aug 2018 19:37:58 +0000 (14:37 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 12 Sep 2018 01:38:15 +0000 (21:38 -0400)
commitc58fe40c5e53baacdf92fa65498176e28edee28a
treee801d809acebced3bb0326d31ebc0f8352ccebf8
parent98a35413d317fa3c0d96a3bf46a46ad8a921aeea
GPIO: omap_gpio: Fix gpio name names with device tree

The GPIO bank numbers do not appear in the device tree, so this
patch makes the gpio name based on the address
(ie gpio@49054000_31 vs gpio4_31)

adam

Signed-off-by: Adam Ford <aford173@gmail.com>
Tested-by: Derald D. Woods <woods.technical@gmail.com>
drivers/gpio/omap_gpio.c