]> git.itanic.dy.fi Git - linux-stable/commit
gpio: mt7621: support gpio-line-names property
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Wed, 28 Jul 2021 04:12:52 +0000 (06:12 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 29 Jul 2021 17:41:32 +0000 (19:41 +0200)
commit0fb903914914a10b04dc8e5e5b09c8dca452ca91
tree91af0d0c7c06a25fd377353c8d53c9a93b16c1ad
parent4e804c39f1be4498d80f379e5b7bc6d4f80f813c
gpio: mt7621: support gpio-line-names property

This driver uses multiple gpiochip banks per device. To support
'gpio-line-names' along the banks 'offset' for each bank must be
set explicitly.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-mt7621.c