<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/power, branch v2.6.30.6</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/power?h=v2.6.30.6</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/power?h=v2.6.30.6'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2009-04-09T00:45:02Z</updated>
<entry>
<title>Merge git://git.infradead.org/battery-2.6</title>
<updated>2009-04-09T00:45:02Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2009-04-09T00:45:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d8312204768861d77ec868265b2c1a36a1bf078f'/>
<id>urn:sha1:d8312204768861d77ec868265b2c1a36a1bf078f</id>
<content type='text'>
* git://git.infradead.org/battery-2.6:
  pda_power: Add optional OTG transceiver and voltage regulator support
  pcf50633_charger: Remove unused mbc_set_status function
  pcf50633_charger: Enable periodic charging restart
</content>
</entry>
<entry>
<title>Merge branch 'linus' into release</title>
<updated>2009-04-05T06:14:15Z</updated>
<author>
<name>Len Brown</name>
<email>len.brown@intel.com</email>
</author>
<published>2009-04-05T06:14:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=478c6a43fcbc6c11609f8cee7c7b57223907754f'/>
<id>urn:sha1:478c6a43fcbc6c11609f8cee7c7b57223907754f</id>
<content type='text'>
Conflicts:
	arch/x86/kernel/cpu/cpufreq/longhaul.c

Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>trivial: Fix misspelling of "Celsius".</title>
<updated>2009-03-30T13:22:03Z</updated>
<author>
<name>Adam Buchbinder</name>
<email>adam.buchbinder@gmail.com</email>
</author>
<published>2009-03-13T16:15:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b731d7b6a7b4c2ca4b5e9384cb5197e4e8204651'/>
<id>urn:sha1:b731d7b6a7b4c2ca4b5e9384cb5197e4e8204651</id>
<content type='text'>
A few comments say "Celcius"; this fixes them. No code changes.

Signed-off-by: Adam Buchbinder &lt;adam.buchbinder@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>ACPI: battery: add power_{now,avg} properties to power_class</title>
<updated>2009-03-28T02:23:52Z</updated>
<author>
<name>Alexey Starikovskiy</name>
<email>astarikovskiy@suse.de</email>
</author>
<published>2009-03-28T02:23:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7faa144a518c456e2057918f030f50100144ccc6'/>
<id>urn:sha1:7faa144a518c456e2057918f030f50100144ccc6</id>
<content type='text'>
ACPI has smart batteries, which work in units of energy and measure
rate of (dis)charge as power, thus it is not appropriate to export it
as a current_now. Current_now will still be exported to allow
for userland applications to match.

Signed-off-by: Alexey Starikovskiy &lt;astarikovskiy@suse.de&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ds2760_battery.c: fix division by zero</title>
<updated>2009-03-12T23:20:23Z</updated>
<author>
<name>Daniel Mack</name>
<email>daniel@caiaq.de</email>
</author>
<published>2009-03-12T21:31:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a4e3f91b98d86ae0b5c816fe45190bb29ac32f71'/>
<id>urn:sha1:a4e3f91b98d86ae0b5c816fe45190bb29ac32f71</id>
<content type='text'>
The 'battery remaining capacity' calculation in
drivers/power/ds2760_battery.c lacks a parameter check to a division
operation which causes the kernel to oops on my board.

[   21.233750] Division by zero in kernel.
[   21.237646] [&lt;c002955c&gt;] (__div0+0x0/0x20) from [&lt;c012561c&gt;] (Ldiv0+0x8/0x10)
[   21.244816] [&lt;c01bef34&gt;] (ds2760_battery_read_status+0x0/0x2a4) from [&lt;c01bf3a4&gt;] (ds2760_battery_get_property+0x30/0xdc)
[   21.255803]  r8:c03a22c0 r7:c7886100 r6:00000009 r5:c782fe7c r4:c7886084
[   21.262518] [&lt;c01bf374&gt;] (ds2760_battery_get_property+0x0/0xdc) from [&lt;c01bde98&gt;] (power_supply_show_property+0x48/0x114)
[   21.273480]  r6:c7996000 r5:00000009 r4:00000000
[   21.278111] [&lt;c01bde50&gt;] (power_supply_show_property+0x0/0x114) from [&lt;c01be158&gt;] (power_supply_uevent+0x188/0x280)
[   21.288537]  r8:00000001 r7:c7886100 r6:c7996000 r5:000000b4 r4:00000000
[   21.295222] [&lt;c01bdfd0&gt;] (power_supply_uevent+0x0/0x280) from [&lt;c015c664&gt;] (dev_uevent+0xd4/0x10c)
[   21.304199] [&lt;c015c590&gt;] (dev_uevent+0x0/0x10c) from [&lt;c0128440&gt;] (kobject_uevent_env+0x180/0x390)
[   21.313170]  r5:00000000 r4:c78860ac
[   21.316725] [&lt;c01282c0&gt;] (kobject_uevent_env+0x0/0x390) from [&lt;c0128664&gt;] (kobject_uevent+0x14/0x18)
[   21.325850] [&lt;c0128650&gt;] (kobject_uevent+0x0/0x18) from [&lt;c01bdc34&gt;] (power_supply_changed_work+0x5c/0x70)
[   21.335506] [&lt;c01bdbd8&gt;] (power_supply_changed_work+0x0/0x70) from [&lt;c004d290&gt;] (run_workqueue+0xbc/0x144)
[   21.345167]  r4:c7812040
[   21.347716] [&lt;c004d1d4&gt;] (run_workqueue+0x0/0x144) from [&lt;c004d94c&gt;] (worker_thread+0xa8/0xbc)
[   21.356296]  r7:c7812040 r6:c7820b00 r5:c782ffa4 r4:c7812048
[   21.361957] [&lt;c004d8a4&gt;] (worker_thread+0x0/0xbc) from [&lt;c0051008&gt;] (kthread+0x5c/0x94)
[   21.369971]  r7:00000000 r6:c004d8a4 r5:c7812040 r4:c782e000
[   21.375612] [&lt;c0050fac&gt;] (kthread+0x0/0x94) from [&lt;c00403d0&gt;] (do_exit+0x0/0x688)

Signed-off-by: Daniel Mack &lt;daniel@caiaq.de&gt;
Cc: Szabolcs Gyurko &lt;szabolcs.gyurko@tlt.hu&gt;
Acked-by: Matt Reimer &lt;mreimer@vpop.net&gt;
Acked-by: Anton Vorontsov &lt;cbou@mail.ru&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>pda_power: Add optional OTG transceiver and voltage regulator support</title>
<updated>2009-02-02T17:15:47Z</updated>
<author>
<name>Philipp Zabel</name>
<email>philipp.zabel@gmail.com</email>
</author>
<published>2009-01-18T16:40:27Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5bf2b994bfe11bfe86231050897b2d881ca544d9'/>
<id>urn:sha1:5bf2b994bfe11bfe86231050897b2d881ca544d9</id>
<content type='text'>
This patch allows machines to use an OTG transceiver driver instead of
supplying a custom is_usb_online callback to check USB power.
Also, in the case that the OTG transceiver handles charger control when
connected to USB, a regulator named "ac_draw" can be supplied instead of
the custom set_charge callback to control the charger when connected to
AC.

The check for (transceiver-&gt;state == OTG_STATE_B_PERIPHERAL) in
otg_is_usb_online is probably too simple, I'm just using this with a
peripheral only device and gpio_vbus + bq24022. I'm not sure which other
OTG states can supply power.

Signed-off-by: Philipp Zabel &lt;philipp.zabel@gmail.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
</entry>
<entry>
<title>pcf50633_charger: Remove unused mbc_set_status function</title>
<updated>2009-02-02T16:58:45Z</updated>
<author>
<name>Balaji Rao</name>
<email>balajirrao@openmoko.org</email>
</author>
<published>2009-01-27T13:52:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=cc52a29e6245acd9032fcfa0ffcab4cc612de986'/>
<id>urn:sha1:cc52a29e6245acd9032fcfa0ffcab4cc612de986</id>
<content type='text'>
The 'pcf50633_mbc_set_status' function is unused, so remove it.

Signed-off-by: Balaji Rao &lt;balajirrao@openmoko.org&gt;
Cc: Andy Green &lt;andy@openmoko.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
</entry>
<entry>
<title>pcf50633_charger: Enable periodic charging restart</title>
<updated>2009-02-02T16:54:27Z</updated>
<author>
<name>Balaji Rao</name>
<email>balajirrao@openmoko.org</email>
</author>
<published>2009-01-27T13:53:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9705ecc5c1f8f34f756164a711b4cc61110c0283'/>
<id>urn:sha1:9705ecc5c1f8f34f756164a711b4cc61110c0283</id>
<content type='text'>
The battery charger state machine switches into charging mode when
the battery voltage falls below 96% of a battery float voltage. But
the voltage drop in Li-ion batteries is marginal(1~2 %) till about
80% of its capacity - which means, after a BATFULL, charging won't
be restarted until 80%.

This work_struct function restarts charging at regular intervals to
make sure the battery doesn't discharge too much.

Signed-off-by: Balaji Rao &lt;balajirrao@openmoko.org&gt;
Cc: Andy Green &lt;andy@openmoko.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
</entry>
<entry>
<title>pcf50633_charger: Fix typo</title>
<updated>2009-02-02T16:53:02Z</updated>
<author>
<name>Balaji Rao</name>
<email>balajirrao@openmoko.org</email>
</author>
<published>2009-01-27T13:52:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ccc9c8b91c2631da2cab46a6fcd9c3106dcb9abb'/>
<id>urn:sha1:ccc9c8b91c2631da2cab46a6fcd9c3106dcb9abb</id>
<content type='text'>
container_of(psy, struct pcf50633_mbc, usb); should be
container_of(psy, struct pcf50633_mbc, adapter);

Signed-off-by: Balaji Rao &lt;balajirrao@openmoko.org&gt;
Cc: Andy Green &lt;andy@openmoko.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
</entry>
<entry>
<title>power_supply: pda_power: Don't request shared IRQs w/ IRQF_DISABLED</title>
<updated>2009-01-25T23:09:26Z</updated>
<author>
<name>Philipp Zabel</name>
<email>philipp.zabel@gmail.com</email>
</author>
<published>2009-01-18T13:46:21Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=74194cc71074c8bc17690a5d826093fb6f6e9928'/>
<id>urn:sha1:74194cc71074c8bc17690a5d826093fb6f6e9928</id>
<content type='text'>
IRQF_DISABLED is not guaranteed for shared IRQs. I think power_changed_isr
doesn't need it anyway, as it only fires a timer.
This patch enables IRQF_SAMPLE_RANDOM instead.

Signed-off-by: Philipp Zabel &lt;philipp.zabel@gmail.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
</entry>
</feed>
