summaryrefslogtreecommitdiffstats
path: root/Documentation/gpio/board.txt
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-01-26 22:30:39 -0200
committerJonathan Corbet <corbet@lwn.net>2015-01-28 11:14:00 -0700
commit4f7d45596e4d83a6411389be65ea67a58f493446 (patch)
treedd51f66c5ff4cd09bf0d930d3d062a7844b06eee /Documentation/gpio/board.txt
parente00bfcbf043877fb85f77daf330a01e057dfcf3b (diff)
downloadop-kernel-dev-4f7d45596e4d83a6411389be65ea67a58f493446.zip
op-kernel-dev-4f7d45596e4d83a6411389be65ea67a58f493446.tar.gz
gpio: board.txt: Fix the gpio name example
As explained in this file: "GPIOs mappings are defined in the consumer device's node, in a property named <function>-gpios" So fix the example to match the convention. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/gpio/board.txt')
-rw-r--r--Documentation/gpio/board.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/gpio/board.txt b/Documentation/gpio/board.txt
index 4452786..8b35f51 100644
--- a/Documentation/gpio/board.txt
+++ b/Documentation/gpio/board.txt
@@ -31,7 +31,7 @@ through gpiod_get(). For example:
<&gpio 16 GPIO_ACTIVE_HIGH>, /* green */
<&gpio 17 GPIO_ACTIVE_HIGH>; /* blue */
- power-gpio = <&gpio 1 GPIO_ACTIVE_LOW>;
+ power-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
This property will make GPIOs 15, 16 and 17 available to the driver under the
OpenPOWER on IntegriCloud