aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-06-27 23:15:37 -0400
committerShawn Guo <shawn.guo@linaro.org>2012-07-06 07:57:42 -0400
commitc1cb438522f2cd62fb3a261d66a549606c131c93 (patch)
tree9425508f4c8c4cf68abf529dbd164b8ba2acd296 /Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt
parent77ac32ad2b03baa7638aadda1650200287ca6f5d (diff)
bindings: update imx and mxs #gpio-cells
The of_get_named_gpio_flags can retrieve the second cell of gpio-specifier as the "flags". The imx and mxs gpio driver do not have their own .xlate callback, which means of_gpio_simple_xlate is used and it's a 1:1 mapping between gpio controller flags and Linux "enum of_gpio_flags". Update imx and mxs bindings document to make it clear. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt')
-rw-r--r--Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt
index 4363ae4b3c14..5f360e7cdd32 100644
--- a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt
+++ b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt
@@ -8,8 +8,9 @@ Required properties:
8 by low 16 pins and the second one is for high 16 pins. 8 by low 16 pins and the second one is for high 16 pins.
9- gpio-controller : Marks the device node as a gpio controller. 9- gpio-controller : Marks the device node as a gpio controller.
10- #gpio-cells : Should be two. The first cell is the pin number and 10- #gpio-cells : Should be two. The first cell is the pin number and
11 the second cell is used to specify optional parameters (currently 11 the second cell is used to specify the gpio polarity:
12 unused). 12 0 = active high
13 1 = active low
13 14
14Example: 15Example:
15 16