Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <marek@goldelico.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>

authored by

Marek Belisko and committed by
Bryan Wu
5995eb6d 8b37e1be

+1 -1
+1 -1
Documentation/devicetree/bindings/leds/tca6507.txt
··· 8 8 9 9 Optional properties: 10 10 - gpio-controller: allows lines to be used as output-only GPIOs. 11 - - #gpio-cells: if present, must be 0. 11 + - #gpio-cells: if present, must not be 0. 12 12 13 13 Each led is represented as a sub-node of the ti,tca6507 device. 14 14