linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Anton Vorontsov <cbouatmailru@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Richard Hughes <hughsient@gmail.com>,
	Daniel Nicoletti <dantti12@gmail.com>,
	linux-input@vger.kernel.org, Jiri Kosina <jkosina@suse.cz>,
	Jeremy Fitzhardinge <jeremy@goop.org>
Subject: [PATCH RFC V2 0/4] Add "scope" to power supplies
Date: Fri,  9 Dec 2011 14:43:15 -0800	[thread overview]
Message-ID: <cover.1323454016.git.jeremy@goop.org> (raw)

This series adds a "scope" attribute to power supplies, to indicate
whether it powers the whole system ("System") or just some subset of
the devices ("Device").  This allows upowerd to distinguish between
system-wide power supplies and self-powered devices such as cordless
mice.

This series also adds a "powers" link to power supplies, so that if
they're scope=Device, they can specifically indicate which device
tree they power.

Updates since last post:
 - Add more complete documentation to scope and "powers" links
 - Remove unnecessary scopes on System power supplies
 - Make HID battery supplies Device, and add "powers" pointers
   for them.

This can also be pulled from:
	git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git power-supply-scope

Jeremy Fitzhardinge (4):
  power_supply: add SCOPE attribute to power supplies
  power_supply: allow a power supply to explicitly point to powered
    device
  power_supply: add scope properties to some self-powered HID devices
  power_supply: add "powers" links to self-powered HID devices

 drivers/hid/hid-wacom.c            |   16 ++++++++++++++--
 drivers/hid/hid-wiimote.c          |   10 +++++++++-
 drivers/power/power_supply_core.c  |    7 +++++++
 drivers/power/power_supply_sysfs.c |    6 ++++++
 include/linux/power_supply.h       |    8 ++++++++
 5 files changed, 44 insertions(+), 3 deletions(-)

-- 
1.7.7.3


             reply	other threads:[~2011-12-09 22:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-09 22:43 Jeremy Fitzhardinge [this message]
2011-12-09 22:43 ` [PATCH RFC V2 1/4] power_supply: add SCOPE attribute to power supplies Jeremy Fitzhardinge
2011-12-09 22:43 ` [PATCH RFC V2 2/4] power_supply: allow a power supply to explicitly point to powered device Jeremy Fitzhardinge
2011-12-09 22:43 ` [PATCH RFC V2 3/4] power_supply: add scope properties to some self-powered HID devices Jeremy Fitzhardinge
2011-12-09 22:43 ` [PATCH RFC V2 4/4] power_supply: add "powers" links to " Jeremy Fitzhardinge
2011-12-12  8:42 ` [PATCH RFC V2 0/4] Add "scope" to power supplies Jiri Kosina
2011-12-19  6:26 ` Jeremy Fitzhardinge
2011-12-19 10:25   ` Jiri Kosina
2012-01-03 14:57     ` Jiri Kosina
2012-01-04  5:11 ` Anton Vorontsov
2012-01-04 12:48   ` Jiri Kosina
2012-01-04 12:57     ` Anton Vorontsov
2012-01-04 13:00   ` Jeremy Fitzhardinge

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=cover.1323454016.git.jeremy@goop.org \
    --to=jeremy@goop.org \
    --cc=cbouatmailru@gmail.com \
    --cc=dantti12@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=hughsient@gmail.com \
    --cc=jkosina@suse.cz \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.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).