<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/power, branch v4.9</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.9</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.9'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-10-07T01:21:15Z</updated>
<entry>
<title>Merge tag 'for-v4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply</title>
<updated>2016-10-07T01:21:15Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2016-10-07T01:21:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=021723e6c5a5e7b50eb68f9812418406de9860b2'/>
<id>urn:sha1:021723e6c5a5e7b50eb68f9812418406de9860b2</id>
<content type='text'>
Pull power supply and reset updates from Sebastian Reichel:
 - move power supply drivers to drivers/power/supply
 - unify location of power supply DT documentation
 - tps65217-charger: IRQ support
 - act8945a-charger: misc. cleanups &amp; improvements
 - sbs-battery cleanup
 - fix users of deprecated create_singlethread_workqueue()
 - misc fixes.

* tag 'for-v4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (46 commits)
  power: supply: bq27xxx_battery: allow kernel poll_interval parameter runtime update
  power: supply: sbs-battery: Cleanup removal of chip-&gt;pdata
  power: reset: st: Remove obsolete platforms from dt doc
  power: reset: st-poweroff: Remove obsolete platforms.
  power: reset: zx-reboot: Unmap region obtained by of_iomap
  power: reset: xgene-reboot: Unmap region obtained by of_iomap
  power: supply: ab8500: cleanup with list_first_entry_or_null()
  power: reset: add in missing white space in error message text
  sbs-battery: make writes to ManufacturerAccess optional
  power: bq24257: Fix use of uninitialized pointer bq-&gt;charger
  power: supply: sbs-battery: simplify DT parsing
  power: supply: bq24735-charger: Request status GPIO with initial input setup
  power: supply: sbs-battery: Use gpio_desc and sleeping calls for battery detect
  power: supply: act8945a_charger: Add max current property
  power: supply: act8945a_charger: Add capacity level property
  doc: bindings: power: act8945a-charger: Update properties.
  power: supply: act8945a_charger: Fix the power supply type
  power: supply: act8945a_charger: Add status change update support
  power: supply: act8945a_charger: Improve state handling
  power: supply: act8945a_charger: Remove "battery_temperature"
  ...
</content>
</entry>
<entry>
<title>power: supply: bq27xxx_battery: allow kernel poll_interval parameter runtime update</title>
<updated>2016-09-21T00:08:04Z</updated>
<author>
<name>Matt Ranostay</name>
<email>mranostay@gmail.com</email>
</author>
<published>2016-09-20T03:43:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1d72706f0485b58e151b5a7584c4c65d66670587'/>
<id>urn:sha1:1d72706f0485b58e151b5a7584c4c65d66670587</id>
<content type='text'>
Fix issue with poll_interval being not updated till the previous
interval expired.

Cc: Tony Lindgren &lt;tony@atomide.com&gt;
Cc: Liam Breck &lt;liam@networkimprov.net&gt;
Signed-off-by: Matt Ranostay &lt;matt@ranostay.consulting&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>power: supply: sbs-battery: Cleanup removal of chip-&gt;pdata</title>
<updated>2016-09-21T00:04:47Z</updated>
<author>
<name>Phil Reid</name>
<email>preid@electromag.com.au</email>
</author>
<published>2016-09-20T01:01:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=389958bb6be8b08c9f6d350dcaa9fc127123eada'/>
<id>urn:sha1:389958bb6be8b08c9f6d350dcaa9fc127123eada</id>
<content type='text'>
There where still a few lingering references to pdata after commit
power: supply: sbs-battery: simplify DT parsing.

Remove pdata from struct·sbs_info and conditional checks to ser if this
was set from the i2c read / write functions.
Instead of call max in each function for incrementing poll_retry_count
do it once in the probe function.
Fixup null pointer dereference in to pdata in sbs_external_power_changed.
Change retry counts to u32 to avoid need for max.

Signed-off-by: Phil Reid &lt;preid@electromag.com.au&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>power: reset: st-poweroff: Remove obsolete platforms.</title>
<updated>2016-09-19T19:32:22Z</updated>
<author>
<name>Peter Griffin</name>
<email>peter.griffin@linaro.org</email>
</author>
<published>2016-09-14T13:27:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8ad5d85efd813281046cb87366c350321a2d64ca'/>
<id>urn:sha1:8ad5d85efd813281046cb87366c350321a2d64ca</id>
<content type='text'>
This patch removes support for STiH415/6 SoC's from the
st-poweroff driver, as support for these platforms is
being removed from the kernel.

Signed-off-by: Peter Griffin &lt;peter.griffin@linaro.org&gt;
Cc: &lt;linux-pm@vger.kernel.org&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>power: reset: zx-reboot: Unmap region obtained by of_iomap</title>
<updated>2016-09-19T19:25:41Z</updated>
<author>
<name>Arvind Yadav</name>
<email>arvind.yadav.cs@gmail.com</email>
</author>
<published>2016-09-14T11:05:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7531be5cdfb1e81d25c299be0bcf8e615474e227'/>
<id>urn:sha1:7531be5cdfb1e81d25c299be0bcf8e615474e227</id>
<content type='text'>
Free memory mapping, if probe is not successful.

Signed-off-by: Arvind Yadav &lt;arvind.yadav.cs@gmail.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>power: reset: xgene-reboot: Unmap region obtained by of_iomap</title>
<updated>2016-09-19T19:24:06Z</updated>
<author>
<name>Arvind Yadav</name>
<email>arvind.yadav.cs@gmail.com</email>
</author>
<published>2016-09-14T10:55:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=896af83ef69b0a325816fe270440baa27238f531'/>
<id>urn:sha1:896af83ef69b0a325816fe270440baa27238f531</id>
<content type='text'>
Free memory mapping, if probe is not successful.

Signed-off-by: Arvind Yadav &lt;arvind.yadav.cs@gmail.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>power: supply: ab8500: cleanup with list_first_entry_or_null()</title>
<updated>2016-09-19T19:22:10Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2016-09-12T18:23:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f04f7aef7f6aafdc0ba54c6b9670cd11f9d9200a'/>
<id>urn:sha1:f04f7aef7f6aafdc0ba54c6b9670cd11f9d9200a</id>
<content type='text'>
The combo of list_empty() check and return list_first_entry()
can be replaced with list_first_entry_or_null().

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>power: reset: add in missing white space in error message text</title>
<updated>2016-09-19T19:19:46Z</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2016-09-12T13:05:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1dff6ce0262bc42beb801527bd4725c6b8af0683'/>
<id>urn:sha1:1dff6ce0262bc42beb801527bd4725c6b8af0683</id>
<content type='text'>
A dev_err message spans two lines and the literal string is missing
a white space between words. Add the white space.

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>sbs-battery: make writes to ManufacturerAccess optional</title>
<updated>2016-09-19T19:02:17Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2016-09-09T02:10:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=17c6d3979e5bbff1de36a4e89015fa09ac495d27'/>
<id>urn:sha1:17c6d3979e5bbff1de36a4e89015fa09ac495d27</id>
<content type='text'>
According to the Smart Battery Data Specification, the use
of ManufacturerAcess (register 0x0) is implementation-defined.
It appears that some batteries use writes to this register
in order to implement certain functionality, but others may
simply NAK all writes to it. As a result, write failures to
ManufacturerAccess should not be used as an indicator of
battery presence, nor as a failure to enter sleep mode.

The failed write access was seen with SANYO AP13J3K.

Cc: Brian Norris &lt;briannorris@chromium.org&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>power: bq24257: Fix use of uninitialized pointer bq-&gt;charger</title>
<updated>2016-09-19T18:56:22Z</updated>
<author>
<name>Georges Savoundararadj</name>
<email>savoundg@gmail.com</email>
</author>
<published>2016-09-08T01:38:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0610735928ee47870e083d5901caa371089216f1'/>
<id>urn:sha1:0610735928ee47870e083d5901caa371089216f1</id>
<content type='text'>
bq-&gt;charger is initialized in bq24257_power_supply_init.
Therefore, bq24257_power_supply_init should be called before the
registration of the IRQ handler bq24257_irq_handler_thread that calls
power_supply_changed(bq-&gt;charger).

Signed-off-by: Georges Savoundararadj &lt;savoundg@gmail.com&gt;
Cc: Aurelien Chanot &lt;chanot.a@gmail.com&gt;
Cc: Andreas Dannenberg &lt;dannenberg@ti.com&gt;
Cc: Sebastian Reichel &lt;sre@kernel.org&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Fixes: 2219a935963e ("power_supply: Add TI BQ24257 charger driver")
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
</feed>
