pinconf-generic: add BIAS_BUS_HOLD pinconf
authorJames Hogan <james.hogan@imgtec.com>
Fri, 24 May 2013 16:21:12 +0000 (17:21 +0100)
committerMark Brown <broonie@linaro.org>
Fri, 4 Apr 2014 15:19:56 +0000 (16:19 +0100)
commit5a585d47f797d7e5f8a3f79842f9c50115b870c3
tree20092463b45a122d12f93664aec0029388fe6e87
parent9ae6a79ed21c686aedbcef04cf76833f33ea1d2a
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>
(cherry picked from commit a2df4269cad79635201587c5c5404f0b1cb0b05c)
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/pinctrl/pinconf-generic.c
include/linux/pinctrl/pinconf-generic.h