]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1f0d5a1bbfed11ff8921ac7a233eb500345960f4
tree20dc2a6f01aa74c93cbb0c067facd7972aa87efb
parent53950a28bbaa4b01e29e1afd1c662e17e32f5cc6
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