Documentation: minor correction of gpio dts example
Subsystems (2)
PATCH 1/1 Documentation: minor correction of gpio dts example
From: Per Hallsmark <[email protected]>
As the example brings up two ranges of 10 pins each, the count should be 10 in both range definitions.
Signed-off-by Per Hallsmark <[email protected]>
--- Documentation/devicetree/bindings/gpio/gpio.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/gpio/gpio.txt +1 -1
@@ -252,7 +252,7 @@ Example 1: compatible = "fsl,qe-pario-bank-e", "fsl,qe-pario-bank"; reg = <0x1460 0x18>; gpio-controller; - gpio-ranges = <&pinctrl1 0 20 10>, <&pinctrl2 10 50 20>; + gpio-ranges = <&pinctrl1 0 20 10>, <&pinctrl2 10 50 10>; }; Here, a single GPIO controller has GPIOs 0..9 routed to pin controller
Signature · 1 line
2.5.0
Quoted 15 lines · On Thu, Jan 28, 2016 at 12:38 AM, <[email protected]> wrote:
From: Per Hallsmark <[email protected]>
As the example brings up two ranges of 10 pins each, the count should be 10 in both range definitions.
Signed-off-by Per Hallsmark <[email protected]>--- Documentation/devicetree/bindings/gpio/gpio.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/devicetree/bindings/gpio/gpio.txt +0
-0
Documentation/devicetree/bindings/gpio/gpio.txt Example 1: · line 255
Quoted 5 lines
Documentation/devicetree/bindings/gpio/gpio.txt +1
-1@@ -252,7 +252,7 @@ Example 1: compatible = "fsl,qe-pario-bank-e", "fsl,qe-pario-bank"; reg = <0x1460 0x18>; gpio-controller; - gpio-ranges = <&pinctrl1 0 20 10>, <&pinctrl2 10 50 20>; + gpio-ranges = <&pinctrl1 0 20 10>, <&pinctrl2 10 50 10>;
Looks correct wrt. the description that follows, thanks!
Reviewed-by Alexandre Courbot <[email protected]>
One nit: please make sure to run scripts/get_maintainer.pl on your patch and email the maintainers of the subsystem you are submitting to directly. It usually makes your email more visible in their inboxes than if you send to the mailing-list only.