commit | 39b70ee05199f9bea50641df104aee4dbd913d1d | [log] [tgz] |
---|---|---|
author | Haojian Zhuang <haojian.zhuang@linaro.org> | Sun Feb 17 19:42:51 2013 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Mar 07 05:27:30 2013 +0100 |
tree | c72950eecf18b62a3bd5af13fdd8ceadfdad1ade | |
parent | 51e13c2475913d45a3ec546dee647538a9341d6a [diff] |
gpio: pl061: bind pinctrl by gpio request Add the pl061_gpio_request() to request pinctrl. Create the logic between pl061 gpio driver and pinctrl (pinctrl-single) driver. While a gpio pin is requested, it will request pinctrl driver to set that pin with gpio function mode. So pinctrl driver should append .gpio_request_enable() in pinmux_ops. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>