diff mbox

Documentation: dts: tcs6507: Fix wrong statement about #gpio-cells

Message ID 1405977438-15517-1-git-send-email-marek@goldelico.com
State Accepted, archived
Commit 5995eb6d58cf2b5c18a292f611364aefb4892aa8
Headers show

Commit Message

Marek Belisko July 21, 2014, 9:17 p.m. UTC
Update comment about gpio-cells which says not correctly to be set to 0.
When we want to reference tca6507 gpio #gpio-cells must be set to 2 (it is
already correct in example).

Signed-off-by: Marek Belisko <marek@goldelico.com>
---
 Documentation/devicetree/bindings/leds/tca6507.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bryan Wu July 22, 2014, 11:41 p.m. UTC | #1
On Mon, Jul 21, 2014 at 2:17 PM, Marek Belisko <marek@goldelico.com> wrote:
> Update comment about gpio-cells which says not correctly to be set to 0.
> When we want to reference tca6507 gpio #gpio-cells must be set to 2 (it is
> already correct in example).
>

Good fix. I applied it
Thanks,
-Bryan

> Signed-off-by: Marek Belisko <marek@goldelico.com>
> ---
>  Documentation/devicetree/bindings/leds/tca6507.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/leds/tca6507.txt b/Documentation/devicetree/bindings/leds/tca6507.txt
> index d7221b8..bad9102 100644
> --- a/Documentation/devicetree/bindings/leds/tca6507.txt
> +++ b/Documentation/devicetree/bindings/leds/tca6507.txt
> @@ -8,7 +8,7 @@ Required properties:
>
>  Optional properties:
>  - gpio-controller: allows lines to be used as output-only GPIOs.
> -- #gpio-cells: if present, must be 0.
> +- #gpio-cells: if present, must not be 0.
>
>  Each led is represented as a sub-node of the ti,tca6507 device.
>
> --
> 1.9.1
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/leds/tca6507.txt b/Documentation/devicetree/bindings/leds/tca6507.txt
index d7221b8..bad9102 100644
--- a/Documentation/devicetree/bindings/leds/tca6507.txt
+++ b/Documentation/devicetree/bindings/leds/tca6507.txt
@@ -8,7 +8,7 @@  Required properties:
 
 Optional properties:
 - gpio-controller: allows lines to be used as output-only GPIOs.
-- #gpio-cells: if present, must be 0.
+- #gpio-cells: if present, must not be 0.
 
 Each led is represented as a sub-node of the ti,tca6507 device.