From: fainelli@broadcom.com (Florian Fainelli)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 2/4] dt-bindings: brcmstb-gpio: document properties for wakeup
Date: Mon, 13 Jul 2015 10:35:57 -0700 [thread overview]
Message-ID: <55A3F6FD.1070006@broadcom.com> (raw)
In-Reply-To: <CACRpkdY5YH7MwGxA_UFg1bzwojT6XouBErBm86PtL_8RCSej0Q@mail.gmail.com>
On 13/07/15 05:29, Linus Walleij wrote:
> On Thu, Jun 18, 2015 at 3:00 AM, Gregory Fong <gregory.0xf0@gmail.com> wrote:
>
>> 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>
>> ---
>> v3: Update per Brian's suggestions described in above message.
>
> I'm very uncertain regarding these interrupts-extended etc.
Gregory's additions to the binding are correct and comply with how the
'interrupts-extended' property is meant to be used. FYI, this is
required because most wake-up capable HW on brcmstb chips have N
interrupts feeding to a GIC, but their wake-up interrupt(s) feed to an
always-on interrupt controller. With the 'interrupts' +
'interrupt-parent' property, you can "cross" multiple interrupt domains.
The precedence and rules for interpreting the "legacy" interrupts
property vs. interrupts-extended is documented in the tree.
>
> Can someone who understands that ACK this?
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
>
> E.g. Grant Likely, Bj?rn Helgaas, Rob Herring.
>
> Yours,
> Linus Walleij
>
--
Florian
next prev parent reply other threads:[~2015-07-13 17:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-18 1:00 [PATCH v3 0/4] GPIO support for BRCMSTB Gregory Fong
2015-06-18 1:00 ` [PATCH v3 1/4] gpio: brcmstb: fix null ptr dereference in driver remove Gregory Fong
2015-07-13 12:24 ` Linus Walleij
2015-06-18 1:00 ` [PATCH v3 2/4] dt-bindings: brcmstb-gpio: document properties for wakeup Gregory Fong
2015-07-13 12:29 ` Linus Walleij
2015-07-13 17:35 ` Florian Fainelli [this message]
2015-06-18 1:00 ` [PATCH v3 3/4] gpio: brcmstb: Add interrupt and wakeup source support Gregory Fong
2015-07-13 12:58 ` Linus Walleij
2015-07-14 2:29 ` Gregory Fong
2015-06-18 1:00 ` [PATCH v3 4/4] gpio: brcmstb: support wakeup from S5 cold boot Gregory Fong
2015-07-13 13:03 ` Linus Walleij
2015-07-14 2:31 ` Gregory Fong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55A3F6FD.1070006@broadcom.com \
--to=fainelli@broadcom.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).