<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/include/linux/power_supply.h, branch v3.2-rc5</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>power_supply: Update power_supply_is_watt_property</title>
<updated>2011-03-01T19:27:26+00:00</updated>
<author>
<name>Rhyland Klein</name>
<email>rklein@nvidia.com</email>
</author>
<published>2011-03-01T00:55:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=35c9d267665230cf44445be616d491d3763a5cd3'/>
<id>35c9d267665230cf44445be616d491d3763a5cd3</id>
<content type='text'>
Update the power_supply_is_watt_property function to include POWER_NOW.

Signed-off-by: Rhyland Klein &lt;rklein@nvidia.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update the power_supply_is_watt_property function to include POWER_NOW.

Signed-off-by: Rhyland Klein &lt;rklein@nvidia.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>power_supply: Add new LED trigger charging-blink-solid-full</title>
<updated>2011-01-31T13:31:51+00:00</updated>
<author>
<name>Vasily Khoruzhick</name>
<email>anarsoul@gmail.com</email>
</author>
<published>2011-01-07T16:28:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6501f728c56f831626d52b236023e556bca37f51'/>
<id>6501f728c56f831626d52b236023e556bca37f51</id>
<content type='text'>
Add new trigger to power_supply LEDs. It will blink when battery is
charging, and stay solid when battery is charged. It's usefull to
indicate battery state when there's only one LED available.

Signed-off-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add new trigger to power_supply LEDs. It will blink when battery is
charging, and stay solid when battery is charged. It's usefull to
indicate battery state when there's only one LED available.

Signed-off-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bq20z75: Add support for charge properties</title>
<updated>2011-01-31T13:18:33+00:00</updated>
<author>
<name>Rhyland Klein</name>
<email>rklein@nvidia.com</email>
</author>
<published>2011-01-25T19:10:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=51d07566045787b99219d809639c8724506fc78a'/>
<id>51d07566045787b99219d809639c8724506fc78a</id>
<content type='text'>
Adding support for charge properties for gas gauge.

Also ensuring that battery mode is correct now for energy as well as
charge properties by setting it on the fly.

I also added 2 functions to power_supply.h to help identify the units for
specific properties more easily by power supplies.

Signed-off-by: Rhyland Klein &lt;rklein@nvidia.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adding support for charge properties for gas gauge.

Also ensuring that battery mode is correct now for energy as well as
charge properties by setting it on the fly.

I also added 2 functions to power_supply.h to help identify the units for
specific properties more easily by power supplies.

Signed-off-by: Rhyland Klein &lt;rklein@nvidia.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>power_supply: Introduce maximum current property</title>
<updated>2010-10-06T13:37:22+00:00</updated>
<author>
<name>Heikki Krogerus</name>
<email>ext-heikki.krogerus@nokia.com</email>
</author>
<published>2010-10-04T07:51:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=fe3f6d097a042cff54bc1dc06f21ef528affe8ca'/>
<id>fe3f6d097a042cff54bc1dc06f21ef528affe8ca</id>
<content type='text'>
USB only gives the maximum current allowed to draw.

Signed-off-by: Heikki Krogerus &lt;ext-heikki.krogerus@nokia.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
USB only gives the maximum current allowed to draw.

Signed-off-by: Heikki Krogerus &lt;ext-heikki.krogerus@nokia.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>power_supply: Add types for USB chargers</title>
<updated>2010-10-06T13:37:09+00:00</updated>
<author>
<name>Heikki Krogerus</name>
<email>ext-heikki.krogerus@nokia.com</email>
</author>
<published>2010-10-04T07:51:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=85efc8a18cedf70e55acd0c825e2d9d2f3b19999'/>
<id>85efc8a18cedf70e55acd0c825e2d9d2f3b19999</id>
<content type='text'>
This adds power supply types for USB chargers defined in
Battery Charging Specification 1.1.

Signed-off-by: Heikki Krogerus &lt;ext-heikki.krogerus@nokia.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds power supply types for USB chargers defined in
Battery Charging Specification 1.1.

Signed-off-by: Heikki Krogerus &lt;ext-heikki.krogerus@nokia.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>power_supply: Add support for writeable properties</title>
<updated>2010-05-19T08:14:42+00:00</updated>
<author>
<name>Daniel Mack</name>
<email>daniel@caiaq.de</email>
</author>
<published>2010-05-18T19:49:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0011d2d4a5f7bb5666dcfb9f9b3dbdb084ab98f1'/>
<id>0011d2d4a5f7bb5666dcfb9f9b3dbdb084ab98f1</id>
<content type='text'>
This patch adds support for writeable power supply properties and
exposes them as writeable to sysfs.

A power supply implementation must implement two new function calls in
order to use that feature:

  int set_property(struct power_supply *psy,
                   enum power_supply_property psp,
                   const union power_supply_propval *val);

  int property_is_writeable(struct power_supply *psy,
                            enum power_supply_property psp);

Signed-off-by: Daniel Mack &lt;daniel@caiaq.de&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Alexey Starikovskiy &lt;astarikovskiy@suse.de&gt;
Cc: Len Brown &lt;len.brown@intel.com&gt;
Cc: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Cc: Matt Reimer &lt;mreimer@vpop.net&gt;
Cc: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;
Cc: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds support for writeable power supply properties and
exposes them as writeable to sysfs.

A power supply implementation must implement two new function calls in
order to use that feature:

  int set_property(struct power_supply *psy,
                   enum power_supply_property psp,
                   const union power_supply_propval *val);

  int property_is_writeable(struct power_supply *psy,
                            enum power_supply_property psp);

Signed-off-by: Daniel Mack &lt;daniel@caiaq.de&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Alexey Starikovskiy &lt;astarikovskiy@suse.de&gt;
Cc: Len Brown &lt;len.brown@intel.com&gt;
Cc: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Cc: Matt Reimer &lt;mreimer@vpop.net&gt;
Cc: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;
Cc: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>power_supply: Use attribute groups</title>
<updated>2010-05-19T08:14:28+00:00</updated>
<author>
<name>Anton Vorontsov</name>
<email>cbouatmailru@gmail.com</email>
</author>
<published>2010-05-18T19:49:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5f487cd34f4337f9bc27ca19da72a39d1b0a0ab4'/>
<id>5f487cd34f4337f9bc27ca19da72a39d1b0a0ab4</id>
<content type='text'>
This fixes a race between power supply device and initial
attributes creation, plus makes it possible to implement
writable properties.

[Daniel Mack - removed superflous return statement
 and dropped .mode attribute from POWER_SUPPLY_ATTR]

Suggested-by: Greg KH &lt;gregkh@suse.de&gt;
Suggested-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
Tested-by: Daniel Mack &lt;daniel@caiaq.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a race between power supply device and initial
attributes creation, plus makes it possible to implement
writable properties.

[Daniel Mack - removed superflous return statement
 and dropped .mode attribute from POWER_SUPPLY_ATTR]

Suggested-by: Greg KH &lt;gregkh@suse.de&gt;
Suggested-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
Tested-by: Daniel Mack &lt;daniel@caiaq.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>POWER: Add support for cycle_count</title>
<updated>2010-01-15T21:59:21+00:00</updated>
<author>
<name>Alexey Starikovskiy</name>
<email>astarikovskiy@suse.de</email>
</author>
<published>2009-10-15T10:31:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c955fe8e0bdd7be7a6bc2d49245d570a816f7cc5'/>
<id>c955fe8e0bdd7be7a6bc2d49245d570a816f7cc5</id>
<content type='text'>
Signed-off-by: Alexey Starikovskiy &lt;astarikovskiy@suse.de&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alexey Starikovskiy &lt;astarikovskiy@suse.de&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>power_supply: get_by_name and set_charged functionality</title>
<updated>2009-07-30T13:49:15+00:00</updated>
<author>
<name>Daniel Mack</name>
<email>daniel@caiaq.de</email>
</author>
<published>2009-07-23T18:35:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e5f5ccb646bc6009572b5c23201b5e81638ff150'/>
<id>e5f5ccb646bc6009572b5c23201b5e81638ff150</id>
<content type='text'>
This adds a function that indicates that a battery is fully charged.
It also includes functions to get a power_supply device from the class
of registered devices by name reference. These can be used to find a
specific battery to call power_supply_set_battery_charged() on.

Some battery drivers might need this information to calibrate
themselves.

Signed-off-by: Daniel Mack &lt;daniel@caiaq.de&gt;
Cc: Ian Molton &lt;spyro@f2s.com&gt;
Cc: Anton Vorontsov &lt;cbou@mail.ru&gt;
Cc: Matt Reimer &lt;mreimer@vpop.net&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a function that indicates that a battery is fully charged.
It also includes functions to get a power_supply device from the class
of registered devices by name reference. These can be used to find a
specific battery to call power_supply_set_battery_charged() on.

Some battery drivers might need this information to calibrate
themselves.

Signed-off-by: Daniel Mack &lt;daniel@caiaq.de&gt;
Cc: Ian Molton &lt;spyro@f2s.com&gt;
Cc: Anton Vorontsov &lt;cbou@mail.ru&gt;
Cc: Matt Reimer &lt;mreimer@vpop.net&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>power_supply: Add a charge_type property, and use it for olpc driver</title>
<updated>2009-07-02T14:14:37+00:00</updated>
<author>
<name>Andres Salomon</name>
<email>dilinger@collabora.co.uk</email>
</author>
<published>2009-07-02T13:45:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ee8076ed3e1cdd0cd1e61318386932669c90b92f'/>
<id>ee8076ed3e1cdd0cd1e61318386932669c90b92f</id>
<content type='text'>
This adds a new sysfs file called 'charge_type' which displays the
type of charging (unknown, n/a, trickle charge, or fast charging).

This allows things like battery diagnostics to determine what the
battery/EC is doing without resorting to changing the 'status' sysfs
output.

Signed-off-by: Andres Salomon &lt;dilinger@collabora.co.uk&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a new sysfs file called 'charge_type' which displays the
type of charging (unknown, n/a, trickle charge, or fast charging).

This allows things like battery diagnostics to determine what the
battery/EC is doing without resorting to changing the 'status' sysfs
output.

Signed-off-by: Andres Salomon &lt;dilinger@collabora.co.uk&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
