]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pinctrl: add pinconf-generic define for a pin-default pull
authorHeiko Stübner <heiko@sntech.de>
Thu, 6 Jun 2013 14:44:25 +0000 (16:44 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 16 Jun 2013 09:56:51 +0000 (11:56 +0200)
commit7970cb770dffa23cb20a36f46602e688e075f5d9
tree4a375606b2664a493719a636d06b1ca13dc4328e
parent78bafc66180d42f972b443b0b573a1b6ff9aa522
pinctrl: add pinconf-generic define for a pin-default pull

There exist controllers that don't support to set the pull to up or down
separately but instead automatically set the pull direction based on
embedded knowledge inside the controller, for example depending on the
selected mux function of the pin.

Therefore this patch adds another config option to use this default
pull-state for a pin where it is not possible to know or decide if the
pin will be pulled up or down.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinconf-generic.c
include/linux/pinctrl/pinconf-generic.h