OSDN Git Service

dt-bindings: brcmstb-gpio: document properties for wakeup
authorGregory Fong <gregory.0xf0@gmail.com>
Thu, 18 Jun 2015 01:00:41 +0000 (18:00 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Jul 2015 22:11:02 +0000 (00:11 +0200)
commit7c50181b69ce65b0a7db6936aca26f86b70e4436
treecf00dce4bb318ce30029bf7ec746cfe94e592220
parentd32651f68785bd8d73b24481b62e428ca30a2546
dt-bindings: brcmstb-gpio: document properties for wakeup

Some brcmstb GPIO controllers can be used to wake from suspend, so use
the de facto standard property 'wakeup-source' to mark the nodes of
controllers with that capability.

Also document interrupts-extended, which will be used for wakeup
handling because the interrupt parent for the wake IRQ is different
from the regular IRQ.

While we're at it, a few more fixes: We don't actually use the
"interrupt-names" property, so remove it from the listed optional
properties and from the examples.  And since we're modifying the
examples, also follow Brian's suggestions to:
- change #gpio-cells, #interrupt-cells, and brcm,gpio-bank-widths from
  hex to dec
- use phandles

Reviewed-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Gregory Fong <gregory.0xf0@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.txt