aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pinctrl
diff options
context:
space:
mode:
authorHeiko Stübner <heiko@sntech.de>2013-06-25 08:55:42 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-06-25 09:33:57 -0400
commit70637a6dcaa6e4cb707d0d50a7ea448f13438786 (patch)
tree744b8bbb08ada890c1befa1d4c483282391d9291 /include/linux/pinctrl
parentad42fc6c84795d19972e7f7dee70fe74bec4c2d8 (diff)
pinctrl: more clarifications for generic pull configs
PULL_PIN_DEFAULT is meant for hardware completely hiding any pull settings from the driver, so that it's really only possible to turn the pull on or off, but it not being possible to determine any pull settings from software. Also the binding-documentation for the pull arguments did not match the changes to the expected values. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: James Hogan <james.hogan@imgtec.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/pinctrl')
-rw-r--r--include/linux/pinctrl/pinconf-generic.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/pinctrl/pinconf-generic.h b/include/linux/pinctrl/pinconf-generic.h
index 10ad996afee4..48aa4ba7b089 100644
--- a/include/linux/pinctrl/pinconf-generic.h
+++ b/include/linux/pinctrl/pinconf-generic.h
@@ -41,7 +41,10 @@
41 * impedance to GROUND). If the argument is != 0 pull-down is enabled, 41 * impedance to GROUND). If the argument is != 0 pull-down is enabled,
42 * if it is 0, pull-down is total, i.e. the pin is connected to GROUND. 42 * if it is 0, pull-down is total, i.e. the pin is connected to GROUND.
43 * @PIN_CONFIG_BIAS_PULL_PIN_DEFAULT: the pin will be pulled up or down based 43 * @PIN_CONFIG_BIAS_PULL_PIN_DEFAULT: the pin will be pulled up or down based
44 * on embedded knowledge of the controller, like current mux function. 44 * on embedded knowledge of the controller hardware, like current mux
45 * function. The pull direction and possibly strength too will normally
46 * be decided completely inside the hardware block and not be readable
47 * from the kernel side.
45 * If the argument is != 0 pull up/down is enabled, if it is 0, the 48 * If the argument is != 0 pull up/down is enabled, if it is 0, the
46 * configuration is ignored. The proper way to disable it is to use 49 * configuration is ignored. The proper way to disable it is to use
47 * @PIN_CONFIG_BIAS_DISABLE. 50 * @PIN_CONFIG_BIAS_DISABLE.