]> 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)
commitc8439d685a37566d7761a6c8d0d3ef6735e305dd
tree1a9d5aa180c8f50e1e21d0eba401910c6bee92cb
parent2c62252b6fc9a03acba3a0c55028d1788bbb4956
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]