linux-uconsole/include/linux/pinctrl
Sonic Zhang fa76a3db70 pinctrl: allow exlusive GPIO/mux pin allocation
Disallow simultaneous use of the the GPIO and peripheral mux
functions by setting a flag "strict" in struct pinctrl_desc.

The blackfin pinmux and gpio controller doesn't allow user to
set up a pin for both GPIO and peripheral function. So, add flag
strict in struct pinctrl_desc to check both gpio_owner and
mux_owner before approving the pin request.

v2-changes:
- if strict flag is set, check gpio_owner and mux_onwer in if and
  else clause

v3-changes:
- add kerneldoc for this struct
- augment Documentation/pinctrl.txt

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2015-05-06 14:45:19 +02:00
..
consumer.h Revert "pinctrl: consumer: use correct retval for placeholder functions" 2015-03-05 10:08:14 +01:00
devinfo.h drivers: pinctrl sleep and idle states in the core 2013-06-16 11:56:52 +02:00
machine.h UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers 2012-10-02 18:01:25 +01:00
pinconf-generic.h pinctrl: pinconf-generic: loose DT dependence 2015-01-14 14:21:38 +01:00
pinconf.h pinctrl: Pass all configs to driver on pin_config_set() 2013-08-28 13:34:41 +02:00
pinctrl-state.h pinctrl: clarify idle vs sleep states 2012-10-01 08:04:52 +02:00
pinctrl.h pinctrl: allow exlusive GPIO/mux pin allocation 2015-05-06 14:45:19 +02:00
pinmux.h pinctrl: clean up after enable refactoring 2014-09-04 10:05:07 +02:00