diff options
| author | Barry Song <Baohua.Song@csr.com> | 2012-12-14 04:15:59 -0500 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2012-12-25 19:59:53 -0500 |
| commit | fc2b04e7fbd119f4bf41b6821d2f8ce4bf9ae417 (patch) | |
| tree | d95f74f2dc4f380f74edb724cae68b9b5304831d /Documentation | |
| parent | 408f181e0d4210ef7c77e825289d31fac530291c (diff) | |
pinctrl: sirf: enable GPIO pullup/down configuration from dts
commit 7bec207427c2efb794 remove sirfsoc_gpio_set_pull function,
this patches takes the feature back by adding sirf,pullups and
sirf,pulldowns prop in dts, and the driver will set the GPIO
pull according to the dts.
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/devicetree/bindings/pinctrl/pinctrl-sirf.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-sirf.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-sirf.txt index a2896df702a..c596a6ad328 100644 --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-sirf.txt +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-sirf.txt | |||
| @@ -6,6 +6,9 @@ Required properties: | |||
| 6 | - interrupts : Interrupts used by every GPIO group | 6 | - interrupts : Interrupts used by every GPIO group |
| 7 | - gpio-controller : Indicates this device is a GPIO controller | 7 | - gpio-controller : Indicates this device is a GPIO controller |
| 8 | - interrupt-controller : Marks the device node as an interrupt controller | 8 | - interrupt-controller : Marks the device node as an interrupt controller |
| 9 | Optional properties: | ||
| 10 | - sirf,pullups : if n-th bit of m-th bank is set, set a pullup on GPIO-n of bank m | ||
| 11 | - sirf,pulldowns : if n-th bit of m-th bank is set, set a pulldown on GPIO-n of bank m | ||
| 9 | 12 | ||
| 10 | Please refer to pinctrl-bindings.txt in this directory for details of the common | 13 | Please refer to pinctrl-bindings.txt in this directory for details of the common |
| 11 | pinctrl bindings used by client devices. | 14 | pinctrl bindings used by client devices. |
