From: Marek Belisko Date: Mon, 21 Jul 2014 21:17:18 +0000 (-0700) Subject: Documentation: dts: tcs6507: Fix wrong statement about #gpio-cells X-Git-Tag: firefly_0821_release~176^2~3451^2~2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5995eb6d58cf2b5c18a292f611364aefb4892aa8;p=firefly-linux-kernel-4.4.55.git Documentation: dts: tcs6507: Fix wrong statement about #gpio-cells 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 Signed-off-by: Bryan Wu --- diff --git a/Documentation/devicetree/bindings/leds/tca6507.txt b/Documentation/devicetree/bindings/leds/tca6507.txt index d7221b84987c..bad9102796f3 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.