gpio: brcmstb: support gpio-line-names property
authorDoug Berger <opendmb@gmail.com>
Mon, 9 Mar 2020 19:02:01 +0000 (12:02 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 25 Mar 2020 23:02:03 +0000 (00:02 +0100)
commit5eefcaed501dd9e3933dbff58720244bd75ed90f
tree20dc2a6f01aa74c93cbb0c067facd7972aa87efb
parent30a464a8dfee552e058c8f071a02a91baa79a9ff
gpio: brcmstb: support gpio-line-names property

The default handling of the gpio-line-names property by the
gpiolib-of implementation does not work with the multiple
gpiochip banks per device structure used by the gpio-brcmstb
driver.

This commit adds driver level support for the device tree
property so that GPIO lines can be assigned friendly names.

Signed-off-by: Doug Berger <opendmb@gmail.com>
Link: https://lore.kernel.org/r/1583780521-45702-1-git-send-email-opendmb@gmail.com
Acked-by: Gregory Fong <gregory.0xf0@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-brcmstb.c