<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/include/linux/power, branch master</title>
<subtitle>Linux Kernel</subtitle>
<id>https://git.etezian.org/cgit.cgi/linux.git/atom?h=master</id>
<link rel='self' href='https://git.etezian.org/cgit.cgi/linux.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/'/>
<updated>2016-11-23T22:37:27+00:00</updated>
<entry>
<title>power: supply: bq27xxx_battery: Fix register map for BQ27510 and BQ27520</title>
<updated>2016-11-23T22:37:27+00:00</updated>
<author>
<name>Andrew F. Davis</name>
<email>afd@ti.com</email>
</author>
<published>2016-11-04T18:33:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=3bee9ea1de687925d116670f036599cbed8b66b0'/>
<id>urn:sha1:3bee9ea1de687925d116670f036599cbed8b66b0</id>
<content type='text'>
The BQ27510 and BQ27520 use a slightly different register map than the
BQ27500, add a new type enum and add these gauges to it.

Fixes: d74534c27775 ("power: bq27xxx_battery: Add support for additional bq27xxx family devices")
Based-on-patch-by: Kenneth R. Crudup &lt;kenny@panix.com&gt;
Signed-off-by: Andrew F. Davis &lt;afd@ti.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>power: supply: bq27xxx_battery: allow kernel poll_interval parameter runtime update</title>
<updated>2016-09-21T00:08:04+00:00</updated>
<author>
<name>Matt Ranostay</name>
<email>mranostay@gmail.com</email>
</author>
<published>2016-09-20T03:43:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/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:47+00:00</updated>
<author>
<name>Phil Reid</name>
<email>preid@electromag.com.au</email>
</author>
<published>2016-09-20T01:01:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/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: supply: bq24735-charger: Request status GPIO with initial input setup</title>
<updated>2016-09-05T10:59:49+00:00</updated>
<author>
<name>Paul Kocialkowski</name>
<email>contact@paulk.fr</email>
</author>
<published>2016-09-02T22:09:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=c65a8b51123a14f6960e4238bfa4673d54ee183a'/>
<id>urn:sha1:c65a8b51123a14f6960e4238bfa4673d54ee183a</id>
<content type='text'>
This requests the status GPIO with initial input setup. It is required
to read the GPIO status at probe time and thus correctly avoid sending
I2C messages when AC is not plugged.

When requesting the GPIO without initial input setup, it always reads 0
which causes probe to fail as it assumes the charger is connected, sends
I2C messages and fails.

While at it, this switches the driver over to gpiod API.

Signed-off-by: Paul Kocialkowski &lt;contact@paulk.fr&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>power: supply: sbs-battery: Use gpio_desc and sleeping calls for battery detect</title>
<updated>2016-09-01T14:06:14+00:00</updated>
<author>
<name>Phil Reid</name>
<email>preid@electromag.com.au</email>
</author>
<published>2016-09-01T07:50:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=3b5dd3a49496220b35af83c96e3d2ff5716550ae'/>
<id>urn:sha1:3b5dd3a49496220b35af83c96e3d2ff5716550ae</id>
<content type='text'>
Switch to using new gpio_desc interface and devm gpio get calls to
automatically manage gpio resource. Use gpiod_get_value which handles
active high / low calls.

If gpio_detect is set then force loading of the driver as it is
reasonable to assume that the battery may not be present.

Update the is_present flag immediately in the IRQ.

Remove legacy gpio specification from platform data.

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>max8903: cleans up confusing relationship between dc_valid, dok and dcm.</title>
<updated>2016-06-28T18:05:41+00:00</updated>
<author>
<name>Chris Lapa</name>
<email>chris@lapa.com.au</email>
</author>
<published>2016-06-24T02:26:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=cbf9077e586b9c0db1a1ce5690552ae268c15848'/>
<id>urn:sha1:cbf9077e586b9c0db1a1ce5690552ae268c15848</id>
<content type='text'>
The max8903_charger.h file indicated that dcm and dok were not optional
when dc_valid is set.

It makes sense to have dok as a compulsory pin when dc_valid is given.
However dcm can be optionally wired to a fixed level especially when the
circuit is configured for dc power exclusively.

The previous implementation already allowed for this somewhat, however no
error was given if dok wasn't given whilst dc_valid was.

The new implementation enforces dok presence when dc_valid is given. Whilst
allowing dcm to be optional.

Signed-off-by: Chris Lapa &lt;chris@lapa.com.au&gt;

Reviewed-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'for-v4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply</title>
<updated>2016-03-17T19:50:55+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2016-03-17T19:50:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=9cc984e4bc089cd21b715b92ffe2d2bda0bb1d1a'/>
<id>urn:sha1:9cc984e4bc089cd21b715b92ffe2d2bda0bb1d1a</id>
<content type='text'>
Pull power supply and reset changes from Sebastian Reichel:
 - add types for USB Type C and PD chargers
 - add act8945a charger driver
 - add ACPI/DT bindings for goldfish-battery
 - add support for versatile reset controller
 - misc fixes

* tag 'for-v4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (24 commits)
  power: pm2301-charger: use __maybe_unused to hide pm functions
  power: ipaq-micro-battery: use __maybe_unused to hide pm functions
  power_supply: 88pm860x_charger: do not pass NULL to power_supply_put
  jz4740-battery: Correct voltage change check
  power_supply: lp8788-charger: initialize boolean 'found'
  goldfish: Enable ACPI-based enumeration for goldfish battery
  power: goldfish_battery: add devicetree bindings
  power: act8945a: add charger driver for ACT8945A
  power: add documentation for ACT8945A's charger DT bindings
  ARM: dts: n900: Rename isp1704 to isp1707 to match correct name
  power_supply: bq27xxx_battery: Add of modalias and match table when CONFIG_OF is enabled
  power_supply: bq2415x_charger: Add of modalias and match table when CONFIG_OF is enabled
  power_supply: bq2415x_charger: Do not add acpi modalias when CONFIG_ACPI is not enabled
  power_supply: isp1704_charger: Add compatible of match for nxp,isp1707
  power_supply: isp1704_charger: Error messages when probe fail
  power_supply: Add types for USB Type C and PD chargers
  power: bq24735-charger: add 'ti,external-control' option
  power: bq24735-charger: document 'ti,external-control' option
  power: bq24735-charger: fix failed i2c with ac-detect
  power: reset: Fix dependencies for !HAS_IOMEM archs
  ...
</content>
</entry>
<entry>
<title>power: bq27xxx_battery: Restore device name</title>
<updated>2016-02-21T19:49:34+00:00</updated>
<author>
<name>Ivaylo Dimitrov</name>
<email>ivo.g.dimitrov.75@gmail.com</email>
</author>
<published>2016-02-02T12:47:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=9aafabc7fece13c8e2a1f680908c73ee19f0f79b'/>
<id>urn:sha1:9aafabc7fece13c8e2a1f680908c73ee19f0f79b</id>
<content type='text'>
Patch &lt;703df6c09795&gt; ("power: bq27xxx_battery: Reorganize I2C
into a module") has removed the device name numbering from
bq27xxx_battery_i2c_probe. Fix that by restoring the code.

Fixes: 703df6c097956d17a818e63961c82e8e9eef9fef
Signed-off-by: Ivaylo Dimitrov &lt;ivo.g.dimitrov.75@gmail.com&gt;
Reviewed-by: Pali Rohár &lt;pali.rohar@gmail.com&gt;
Tested-by: Pali Rohár &lt;pali.rohar@gmail.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>power: bq24735-charger: add 'ti,external-control' option</title>
<updated>2016-02-15T05:36:10+00:00</updated>
<author>
<name>Jonathan Tinkham</name>
<email>sctincman@gmail.com</email>
</author>
<published>2016-02-03T06:03:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=64024ac7bb82c41265e7ba08235591d9a2709dfc'/>
<id>urn:sha1:64024ac7bb82c41265e7ba08235591d9a2709dfc</id>
<content type='text'>
Implement an 'ti,external-control' option for when the charger
shouldn't be configured by the host.

Signed-off-by: Jonathan Tinkham &lt;sctincman@gmail.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>power: bq27xxx_battery: Reorganize I2C into a module</title>
<updated>2015-12-05T01:06:51+00:00</updated>
<author>
<name>Andrew F. Davis</name>
<email>afd@ti.com</email>
</author>
<published>2015-11-23T16:53:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=703df6c097956d17a818e63961c82e8e9eef9fef'/>
<id>urn:sha1:703df6c097956d17a818e63961c82e8e9eef9fef</id>
<content type='text'>
Separate out I2C functionality into a module. This fixes several small
issues and simplifies the driver initialization.

Signed-off-by: Andrew F. Davis &lt;afd@ti.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
</feed>
