pinconf-generic: add BIAS_BUS_HOLD pinconf
authorJames Hogan <james.hogan@imgtec.com>
Fri, 24 May 2013 16:21:12 +0000 (17:21 +0100)
committer黄涛 <huangtao@rock-chips.com>
Sat, 30 Nov 2013 04:37:23 +0000 (12:37 +0800)
commit77a41c0a0da16ae8efcc385159ad6e611f09892c
tree6eeec4023ef04297c31b3bf91a68212c38a20fd8
parent2d8bcadc119f7d90c690694bfd9a0976d766db03
pinconf-generic: add BIAS_BUS_HOLD pinconf

Add a new PIN_CONFIG_BIAS_BUS_HOLD pin configuration for a bus holder
pin mode (also known as bus keeper, or repeater). This is a weak latch
which drives the last value on a tristate bus. Another device on the bus
can drive the bus high or low before going tristate to change the value
driven by the pin.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinconf-generic.c
include/linux/pinctrl/pinconf-generic.h