lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <6B0731AA-E7C9-4AE9-800A-90E9A0B88E26@marvell.com>
Date:	Mon, 29 Aug 2011 10:03:47 -0700
From:	Philip Rakity <prakity@...vell.com>
To:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC:	"cbou@...l.ru" <cbou@...l.ru>,
	David Woodhouse <dwmw2@...radead.org>,
	Anton Vorontsov <cbouatmailru@...il.com>,
	"adharmap@...eaurora.org" <adharmap@...eaurora.org>,
	Mark Brown <broonie@...nsource.wolfsonmicro.com>
Subject: [PATCH 0/3] New Properties for Battery Management


This patch set adds two new properties for power.

POWER_SUPPLY_PROP_CHARGE_TO_USE

and

POWER_SUPPLY_PROP_VOLTAGE_TO_USE

Batteries (drivers) that can supply this information implement these new properties.

In some cases (dumb batteries) the information may not be available directly from the battery
but is available via platform specific code that has the rules for charge/voltage specified.
In the later case the battery driver will request the information from the platform specific code.
For our system, we calculate this information based on the current voltage/charge and temperature.

The supplied_to field specifies the devices that are supplied power..   In our case we have an 
AC/DC adapter that supplies DC  to a intersil isl9519q charger which supplies charge to the
battery.  The battery is managed by a max17042.  The intersil charger asks the max17042
what charge and voltage to use.  (For each driver in the supplied_to list get the properties 
charge and voltage to use).

  This information is calculated by
the max17042 driver and returned to the intersil charger which adjusts its charging accordingly.


PATCH 1/3]  power: add two properties: charge_to_use and  voltage_to_use
> Implements the new properties

[PATCH 2/3] power: support intersil isl9519q charger driver
> intersil driver with support for these properties

[PATCH 3/3]  power: max17042:  allow battery to return charge/voltage  to use
>added support to return these properties


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ