gpio: board.txt: Fix the gpio name example
Subsystems (2)
PATCH 1/1 gpio: board.txt: Fix the gpio name example
From: Fabio Estevam <[email protected]>
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 <[email protected]>
--- Documentation/gpio/board.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/gpio/board.txt +1 -1
@@ -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
Signature · 1 line
1.9.1
Quoted 8 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
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.
Jonathan Corbet
maintainerQuoted 6 lines · On Mon, 26 Jan 2015 22:30:39 -0200 Fabio Estevam <[email protected]> wrote:
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.
OK, I've applied this to the docs tree, thanks.
jon