]> git.baikalelectronics.ru Git - kernel.git/commit
pinconf-generic: add BIAS_BUS_HOLD pinconf
authorJames Hogan <james.hogan@imgtec.com>
Fri, 24 May 2013 16:21:12 +0000 (17:21 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 16 Jun 2013 09:56:50 +0000 (11:56 +0200)
commit824091748d0dcae7b86673b894a944d9a010f533
treede7f7f4147fb891561970c30aaf054f9ba070043
parent50137ba9849e76b32c77299460f3067c8cd93e11
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