]> git.karo-electronics.de Git - linux-beck.git/commit
pinctrl: add pinconf-generic defines for output
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 4 Jan 2013 16:57:40 +0000 (17:57 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Jan 2013 20:49:20 +0000 (21:49 +0100)
commit483f33f63c1cb3c6becb465bac7b75d7ff5e3b8f
tree91bbe9cb07b0125597fb341122aa163d37ffc370
parent8d99b32d7b9fb542c5efb00a8ec3b96e77be86fd
pinctrl: add pinconf-generic defines for output

This adds a definition of a generic output configuration
for a certain pin when using the generic pin configuration
library. Whereas driving pins low/high is usually a GPIO
business, you may want to set up pins into a default state
using hogs, and never touch them again. This helps out
with that scenario.

Based on a patch from Patrice Chotard.

Signed-off-by: Patrice Chotard <patrice.chotard@stericsson.com>
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