linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: robert.jarzmik@free.fr (Robert Jarzmik)
To: linux-arm-kernel@lists.infradead.org
Subject: GPIO sysfs : set a wake source
Date: Fri, 17 May 2013 05:18:33 +0200	[thread overview]
Message-ID: <87ehd6fg52.fsf@free.fr> (raw)
In-Reply-To: <51953840.9050106@wwwdotorg.org> (Stephen Warren's message of "Thu, 16 May 2013 13:49:20 -0600")

Stephen Warren <swarren@wwwdotorg.org> writes:

>>>> Instead figure out how to make the subsystems we have and the
>>>> device trees express what you want to do.
>>
>> As I said above, I don't think it's the way to go. I have *no* subsystem to
>> address.
>> Devicetree can't help in the toggle to "activate" or "deactivate" the wakeup
>> upon this GPIO, can it ?
>
> This sounds very similar to WiFi rfkill, although it's a MODEM not WiFi.
Mmmm yes, similar. But with one big difference : RFKill is control of wireless
chip "up state", while the toggle I'm speaking of will purely say if the "input
GPIO" will trigger a wake-up from S3 or not.

If RFKill interface had a toggle to say "hardware rfkill button toggle can
wake-up the kernel out of S3" then it would be very similar.

Cheers.

-- 
Robert

  reply	other threads:[~2013-05-17  3:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-09 12:59 GPIO sysfs : set a wake source Robert Jarzmik
2013-05-14  9:29 ` Linus Walleij
2013-05-14 16:08   ` Stephen Warren
2013-05-16 19:39     ` Robert Jarzmik
2013-05-16 19:49       ` Stephen Warren
2013-05-17  3:18         ` Robert Jarzmik [this message]
2013-05-17  6:24       ` Linus Walleij
2013-05-18  9:18         ` Robert Jarzmik
2013-05-20 18:25           ` Linus Walleij

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=87ehd6fg52.fsf@free.fr \
    --to=robert.jarzmik@free.fr \
    --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).