On Tue, Mar 31, 2015 at 5:16 AM, Sonic Zhang <sonic.adi@xxxxxxxxx> wrote: > From: Sonic Zhang <sonic.zhang@xxxxxxxxxx> > > The blackfin pinmux and gpio controller doesn't allow user to set up 1 pin > for both GPIO and peripheral function. So, add flag strict in struct pinctrl > 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 > > Signed-off-by: Sonic Zhang <sonic.zhang@xxxxxxxxxx> (...) > +++ b/include/linux/pinctrl/pinctrl.h > @@ -132,6 +132,7 @@ struct pinctrl_desc { > const struct pinctrl_ops *pctlops; > const struct pinmux_ops *pmxops; > const struct pinconf_ops *confops; > + bool strict; Also add kerneldoc for this struct. Also augment Documentation/pinctrl.txt. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html