diff options
author | Florian Vaussard <florian.vaussard@epfl.ch> | 2012-09-05 09:46:25 +0200 |
---|---|---|
committer | Benoit Cousson <b-cousson@ti.com> | 2012-09-07 19:22:27 +0200 |
commit | f74ce8fb849e9f9c54a494cff5fc30d53ca4e963 (patch) | |
tree | 4136e8fc03d9aff1155a316c839f69f05f63d25a /Documentation/devicetree/bindings/gpio/gpio-twl4030.txt | |
parent | ARM: dts: OMAP4: Cleanup and move GIC outside of the OCP (diff) | |
download | linux-f74ce8fb849e9f9c54a494cff5fc30d53ca4e963.tar.xz linux-f74ce8fb849e9f9c54a494cff5fc30d53ca4e963.zip |
gpio/twl4030: get platform data from device tree
Adds a number of missing device tree properties for
twl4030/gpio, and update bindings:
- "ti,use-leds" -> .use_leds
- "ti,debounce" -> .debounce
- "ti,mmc-cd" -> .mmc_cd
- "ti,pullups" -> .pullups
- "ti,pulldowns" -> .pulldowns
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Vaibhav Hiremath <hvaibhav@ti.com>
[b-cousson@ti.com: Fix some checkpatch CHECK issues]
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio/gpio-twl4030.txt')
-rw-r--r-- | Documentation/devicetree/bindings/gpio/gpio-twl4030.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio-twl4030.txt b/Documentation/devicetree/bindings/gpio/gpio-twl4030.txt index 16695d9cf1e8..66788fda1db3 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-twl4030.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-twl4030.txt @@ -11,6 +11,11 @@ Required properties: - interrupt-controller: Mark the device node as an interrupt controller The first cell is the GPIO number. The second cell is not used. +- ti,use-leds : Enables LEDA and LEDB outputs if set +- ti,debounce : if n-th bit is set, debounces GPIO-n +- ti,mmc-cd : if n-th bit is set, GPIO-n controls VMMC(n+1) +- ti,pullups : if n-th bit is set, set a pullup on GPIO-n +- ti,pulldowns : if n-th bit is set, set a pulldown on GPIO-n Example: @@ -20,4 +25,5 @@ twl_gpio: gpio { gpio-controller; #interrupt-cells = <2>; interrupt-controller; + ti,use-leds; }; |