]> git.karo-electronics.de Git - linux-beck.git/commit
pinctrl: pxa: pxa2xx: add pin configuration support
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sat, 21 Nov 2015 18:04:51 +0000 (19:04 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 10 Dec 2015 15:12:35 +0000 (16:12 +0100)
commitaedf08b664b71ecf0b35891eb6c83e26b888342a
tree4b79d97ae546b904aa1d7025656ea4cc708d3d97
parentd530ef9b88e5162a1972050994264d66ca884f3f
pinctrl: pxa: pxa2xx: add pin configuration support

Add pin configuration for pxa2xx architectures. PXA doesn't provide any
bias, push, pull capabilities. The only capability is to set a state for
the pins when the platform enter sleep or deep sleep mode.

The state of a pin is set by :
 - whether the GPIO direction was input or output
 - if it is output, a register set programs whether the pin should be
   held to ground or VccIO

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pxa/pinctrl-pxa2xx.c