linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: NeilBrown <neilb@suse.de>
Cc: linux-serial@vger.kernel.org, linux-pm@vger.kernel.org,
	lkml <linux-kernel@vger.kernel.org>
Subject: Re: Question:  How to power-manage UART-attached devices.
Date: Wed, 2 May 2012 10:02:17 +0100	[thread overview]
Message-ID: <20120502090216.GD4075@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <20120502091516.20d87fc8@notabene.brown>

[-- Attachment #1: Type: text/plain, Size: 559 bytes --]

On Wed, May 02, 2012 at 09:15:16AM +1000, NeilBrown wrote:

> However it doesn't suit my need - I want something more abstracted.

> I can see there may well be a place for a simple on/off switch for some
> components, but then I would prefer to see it as

>    /sys/class/power-switch/$devicename/state

> rather than

>   /sys/devices/platform/reg-userspace-consumer.X/{name,state}

That's a simple matter of programming if someone wants to do it, can't
say it seems worth the effort personally though especially when classes
are supposed to be going away.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2012-05-02  9:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-30 22:22 Question: How to power-manage UART-attached devices NeilBrown
2012-04-30 22:33 ` Mark Brown
2012-04-30 23:35   ` NeilBrown
2012-05-01 16:33     ` Mark Brown
2012-05-01 23:15       ` NeilBrown
2012-05-02  9:02         ` Mark Brown [this message]
2012-04-30 22:51 ` H. Peter Anvin
2012-04-30 23:34   ` Alan Cox
2012-05-01  0:12     ` NeilBrown
2012-04-30 23:47   ` NeilBrown
2012-04-30 23:50     ` H. Peter Anvin
2012-05-01  0:27       ` NeilBrown

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=20120502090216.GD4075@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=neilb@suse.de \
    /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).