summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt
diff options
context:
space:
mode:
authorVijay Kumar <vijaykumar@zilogic.com>2016-09-05 11:50:40 +0530
committerRobert Jarzmik <robert.jarzmik@free.fr>2016-11-18 17:09:43 +0100
commit1e0ced0948687fd1f20954ef57ac01ec4a8d8449 (patch)
tree8931b5c19e11ac0d72ddb285f7bf173f35f9bec8 /Documentation/devicetree/bindings/gpio/mrvl-gpio.txt
parent209f4d7a3d50ae6e162e6d61765d722bb26a686b (diff)
ARM: dts: pxa: fix no. of gpio cells in the pxa gpio binding documentation
Fix the no. of gpio cells in pxa gpio binding documentation. The no. of gpio cells for the pxa gpio is actually 2. But is incorrectly specified as 1, in the binding documentation. From the driver code, the second cell specifies the standard flags as described in gpio.txt. Signed-off-by: Vijay Kumar B. <vijaykumar@zilogic.com> [fixed subject line] Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio/mrvl-gpio.txt')
-rw-r--r--Documentation/devicetree/bindings/gpio/mrvl-gpio.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt b/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt
index c3d016532d8e..30fd2201b3d4 100644
--- a/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt
+++ b/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt
@@ -17,7 +17,9 @@ Required properties:
- #interrupt-cells: Specifies the number of cells needed to encode an
interrupt source.
- gpio-controller : Marks the device node as a gpio controller.
-- #gpio-cells : Should be one. It is the pin number.
+- #gpio-cells : Should be two. The first cell is the pin number and
+ the second cell is used to specify flags. See gpio.txt for possible
+ values.
Example for a MMP platform:
@@ -27,7 +29,7 @@ Example for a MMP platform:
interrupts = <49>;
interrupt-names = "gpio_mux";
gpio-controller;
- #gpio-cells = <1>;
+ #gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <1>;
};