<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/power, branch v2.6.39</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/power?h=v2.6.39</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/power?h=v2.6.39'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-03-29T12:48:19Z</updated>
<entry>
<title>drivers: Final irq namespace conversion</title>
<updated>2011-03-29T12:48:19Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2011-03-28T15:49:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=dced35aeb0367dda2636ee9ee914bda14510dcc9'/>
<id>urn:sha1:dced35aeb0367dda2636ee9ee914bda14510dcc9</id>
<content type='text'>
Scripted with coccinelle.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
<entry>
<title>Merge git://git.infradead.org/battery-2.6</title>
<updated>2011-03-26T04:00:29Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-03-26T04:00:29Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=56a9ccb7ba5ffd5f285e3a9628cb446192c8639c'/>
<id>urn:sha1:56a9ccb7ba5ffd5f285e3a9628cb446192c8639c</id>
<content type='text'>
* git://git.infradead.org/battery-2.6: (30 commits)
  bq20z75: Fix time and temp units
  bq20z75: Fix issues with present and suspend
  z2_battery: Fix count of properties
  s3c_adc_battery: Fix method names when PM not set
  z2_battery: Add MODULE_DEVICE_TABLE
  ds2782_battery: Add MODULE_DEVICE_TABLE
  bq20z75: Add MODULE_DEVICE_TABLE
  power_supply: Update power_supply_is_watt_property
  bq20z75: Add i2c retry mechanism
  bq20z75: Add optional battery detect gpio
  twl4030_charger: Make the driver atomic notifier safe
  bq27x00: Use single i2c_transfer call for property read
  bq27x00: Cleanup bq27x00_i2c_read
  bq27x00: Minor cleanups
  bq27x00: Give more specific reports on battery status
  bq27x00: Add MODULE_DEVICE_TABLE
  bq27x00: Add new properties
  bq27x00: Poll battery state
  bq27x00: Cache battery registers
  bq27x00: Add bq27000 support
  ...
</content>
</entry>
<entry>
<title>jz4740: silence warnings related to mfd_get_cell changes</title>
<updated>2011-03-23T09:42:02Z</updated>
<author>
<name>Andres Salomon</name>
<email>dilinger@queued.net</email>
</author>
<published>2011-03-01T21:35:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e9300066bbd21c4fba3c8c5475c6a21d9c97694e'/>
<id>urn:sha1:e9300066bbd21c4fba3c8c5475c6a21d9c97694e</id>
<content type='text'>
mfd_get_cell returns a const, so change the jz4740 clients to store
a const mfd cell.  This silences type mismatch warnings.

Signed-off-by: Andres Salomon &lt;dilinger@queued.net&gt;
Acked-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: mfd_cell is now implicitly available to jz4740 drivers</title>
<updated>2011-03-23T09:41:50Z</updated>
<author>
<name>Andres Salomon</name>
<email>dilinger@queued.net</email>
</author>
<published>2011-02-18T03:07:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6a54ac2149ab5b8972bb4f77bd42b43dbeabb56f'/>
<id>urn:sha1:6a54ac2149ab5b8972bb4f77bd42b43dbeabb56f</id>
<content type='text'>
No need to explicitly set the cell's platform_data/data_size.

Modify clients to use mfd_get_cell helper function instead of
accessing platform_data directly.

Signed-off-by: Andres Salomon &lt;dilinger@queued.net&gt;
Acked-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>bq20z75: Fix time and temp units</title>
<updated>2011-03-16T13:41:06Z</updated>
<author>
<name>Benson Leung</name>
<email>bleung@chromium.org</email>
</author>
<published>2011-02-28T01:41:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=909a78b320b31ca9709d7ea5f602ec1bd2015192'/>
<id>urn:sha1:909a78b320b31ca9709d7ea5f602ec1bd2015192</id>
<content type='text'>
Corrected temperature and time to empty/full conversions.
Temperature is in 0.1°C, time is in seconds.

Corrected units in comment. "Convert to µWh."

Signed-off-by: Benson Leung &lt;bleung@chromium.org&gt;
Acked-by: Rhyland Klein &lt;rklein@nvidia.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
</entry>
<entry>
<title>bq20z75: Fix issues with present and suspend</title>
<updated>2011-03-16T13:40:58Z</updated>
<author>
<name>Rhyland Klein</name>
<email>rklein@nvidia.com</email>
</author>
<published>2011-03-10T00:18:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a7d9ace4eb3a6a3c3fcb12fb05510c1893808263'/>
<id>urn:sha1:a7d9ace4eb3a6a3c3fcb12fb05510c1893808263</id>
<content type='text'>
There are a few issues found around the battery not being present. If the
battery isn't present, then a few undesirable things happen. The first was
excessive reporting of failed properties. This was fixed by instead
returning ENODATA for all properties other than PRESENT if the battery
isn't present. That way the callers can identify the difference between a
failure and the battery not being there.

The next issue was in the suspend logic. It was found that if the battery
wasn't present, then it would return a failure, preventing the system from
going into suspend. If there is no battery present, the io is expected to
fail, so in that case, we shouldn't return the failure and just
acknowledge that it was expected.

I also found that when a gpio was used, i didn't maintain the internal
is_present state properly. I added a set of that to fix that.

Lastly, the code to see io's fail and figure out that the battery isn't
present when not using a gpio had a problem. In that code, it looked for
the read to fail and if it did, then handled it. The problem is that in
function to get the property, it first writes a value and that write can
fail, causing the code to never reach the logic after the read. Fix is
to move the logic till after the write.

Signed-off-by: Rhyland Klein &lt;rklein@nvidia.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
</entry>
<entry>
<title>z2_battery: Fix count of properties</title>
<updated>2011-03-16T13:39:54Z</updated>
<author>
<name>Vasily Khoruzhick</name>
<email>anarsoul@gmail.com</email>
</author>
<published>2011-03-11T13:09:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a223246f7280422f77c15b71455fe3362d3604b4'/>
<id>urn:sha1:a223246f7280422f77c15b71455fe3362d3604b4</id>
<content type='text'>
PROP_STATUS property was not counted, as result VOLTAGE_MIN property is
missing in sysfs. Fix it.

Signed-off-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Acked-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
</entry>
<entry>
<title>s3c_adc_battery: Fix method names when PM not set</title>
<updated>2011-03-16T13:39:26Z</updated>
<author>
<name>Heiko Stuebner</name>
<email>heiko@sntech.de</email>
</author>
<published>2011-03-14T20:12:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f8d878ddbb3c08bc2f876975df674484208536ac'/>
<id>urn:sha1:f8d878ddbb3c08bc2f876975df674484208536ac</id>
<content type='text'>
s3c_adc_battery declares wrong method names when CONFIG_PM is not set.

Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Acked-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
</entry>
<entry>
<title>z2_battery: Add MODULE_DEVICE_TABLE</title>
<updated>2011-03-01T19:28:25Z</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2011-03-01T09:24:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=dcbc9169ed3ce7cd12328fec8b9eb9f7b91ce130'/>
<id>urn:sha1:dcbc9169ed3ce7cd12328fec8b9eb9f7b91ce130</id>
<content type='text'>
The device table is required to load modules based on modaliases.
After adding the MODULE_DEVICE_TABLE, below entry will be added to
modules.alias:
alias i2c:aer915 z2_battery

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
</entry>
<entry>
<title>ds2782_battery: Add MODULE_DEVICE_TABLE</title>
<updated>2011-03-01T19:28:06Z</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2011-03-01T09:23:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=84ab16f54bbde67c8c2aabc36b034c91044935cb'/>
<id>urn:sha1:84ab16f54bbde67c8c2aabc36b034c91044935cb</id>
<content type='text'>
The device table is required to load modules based on modaliases.
After adding the MODULE_DEVICE_TABLE, below entries will be added to
modules.alias:
alias i2c:ds2786 ds2782_battery
alias i2c:ds2782 ds2782_battery

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
</entry>
</feed>
