]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: Driver for SYSCON-based GPIOs
authorAlexander Shiyan <shc_work@mail.ru>
Tue, 11 Mar 2014 17:55:14 +0000 (21:55 +0400)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 18 Mar 2014 08:28:31 +0000 (09:28 +0100)
commitc365466a514a3a2dadd5d86c3ee662bd343803a6
treef587b88cc527e7902dbf07bbc5b21310cce1ef32
parent7deb6957cb066438b21e15359a142eaef9a29c3b
gpio: Driver for SYSCON-based GPIOs

SYSCON driver was designed for using memory areas (registers)
that are used in several subsystems. There are systems (CPUs)
which use bits in one register for various purposes and thus
should be handled by various kernel subsystems. This driver
allows you to use the individual SYSCON bits as GPIOs.
ARM CLPS711X SYSFLG1 input lines has been added as first user
of this driver.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/gpio/cirrus,clps711x-mctrl-gpio.txt [new file with mode: 0644]
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-syscon.c [new file with mode: 0644]