lkml.org 
[lkml]   [2012]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFC V2 0/4] Add "scope" to power supplies
On Fri, Dec 09, 2011 at 02:43:15PM -0800, Jeremy Fitzhardinge wrote:
> 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(-)

Pulled into battery-2.6.git, thank you!

--
Anton Vorontsov
Email: cbouatmailru@gmail.com


\
 
 \ /
  Last update: 2012-01-04 06:15    [W:0.072 / U:0.468 seconds]
©2003-2014 Jasper Spaans. Advertise on this site