]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: Add driver for Nomadik GPIO
authorStephan Gerhold <stephan@gerhold.net>
Fri, 2 Jul 2021 15:06:18 +0000 (17:06 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 14 Jul 2021 20:47:56 +0000 (16:47 -0400)
commit1e0b4c07bf3b437471563f9921812bc38f2563d5
tree5cc0eb67eeb74baec2a0443fc6c5db263efb0043
parent05e5ba2127922fdb4c2704d9d87037dc795c9618
gpio: Add driver for Nomadik GPIO

Nomadik GPIO is a fairly simple GPIO module used in the ST-Ericsson
Ux500 SoCs (and some older Nomadik SoCs). It uses registers where
each GPIO is represented as a single bit, plus "set" and "clear"
registers that allow updating the state without having to read the
existing state.

The driver implements support for it for use together with DM_GPIO
and the existing ste-dbx5x0.dtsi device tree.

Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/nmk_gpio.c [new file with mode: 0644]