]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: Add support for the Xylon LogiCVC GPIOs
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Tue, 3 Dec 2019 14:12:43 +0000 (15:12 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 13 Dec 2019 08:50:29 +0000 (09:50 +0100)
commit280ab0fc1b5d3cefa3b158f1832c0e46d842cb19
tree1a9d5aa180c8f50e1e21d0eba401910c6bee92cb
parentb42cf167f45d81bca39691f05aa061003ebdedff
gpio: Add support for the Xylon LogiCVC GPIOs

The LogiCVC display hardware block comes with GPIO capabilities
that must be exposed separately from the main driver (as GPIOs) for
use with regulators and panels. A syscon is used to share the same
regmap across the two drivers.

Add a minimalistic GPIO driver to drive these GPIOs, using a syscon
regmap when available.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Link: https://lore.kernel.org/r/20191203141243.251058-5-paul.kocialkowski@bootlin.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-logicvc.c [new file with mode: 0644]