<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/linux/power, branch v4.13.10</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.13.10</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.13.10'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2017-06-08T15:57:38Z</updated>
<entry>
<title>power: supply: bq27xxx: Add power_supply_battery_info support</title>
<updated>2017-06-08T15:57:38Z</updated>
<author>
<name>Liam Breck</name>
<email>kernel@networkimprov.net</email>
</author>
<published>2017-06-07T18:37:56Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ccce440956c79343ab3aa1269a4cf57f9cce030f'/>
<id>urn:sha1:ccce440956c79343ab3aa1269a4cf57f9cce030f</id>
<content type='text'>
Previously there was no way to configure these chips in the event that the
defaults didn't match the battery in question.

For chips with RAM data memory (and also those with flash/NVM data memory
if CONFIG_BATTERY_BQ27XXX_DT_UPDATES_NVM is defined and the user has not
set module param dt_monitored_battery_updates_nvm=0) we now call
power_supply_get_battery_info(), check its values, and write battery
properties to chip data memory if there is a dm_regs table for the chip.

Signed-off-by: Matt Ranostay &lt;matt@ranostay.consulting&gt;
Signed-off-by: Liam Breck &lt;kernel@networkimprov.net&gt;
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.co.uk&gt;
</content>
</entry>
<entry>
<title>power: supply: bq27xxx: Add chip data memory read/write support</title>
<updated>2017-06-08T15:57:34Z</updated>
<author>
<name>Liam Breck</name>
<email>kernel@networkimprov.net</email>
</author>
<published>2017-06-07T18:37:55Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=0670c9b3588f163cfcfcd8ea532f321ec004e6ad'/>
<id>urn:sha1:0670c9b3588f163cfcfcd8ea532f321ec004e6ad</id>
<content type='text'>
Add these to enable read/write of chip data memory RAM/NVM/flash:
  bq27xxx_battery_seal()
  bq27xxx_battery_unseal()
  bq27xxx_battery_set_cfgupdate()
  bq27xxx_battery_soft_reset()
  bq27xxx_battery_read_dm_block()
  bq27xxx_battery_write_dm_block()
  bq27xxx_battery_checksum_dm_block()

Signed-off-by: Matt Ranostay &lt;matt@ranostay.consulting&gt;
Signed-off-by: Liam Breck &lt;kernel@networkimprov.net&gt;
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.co.uk&gt;
</content>
</entry>
<entry>
<title>power: supply: bq27xxx: Add bulk transfer bus methods</title>
<updated>2017-06-08T14:29:29Z</updated>
<author>
<name>Matt Ranostay</name>
<email>matt@ranostay.consulting</email>
</author>
<published>2017-06-07T18:37:54Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=14073f6614f62dc7862c83575b042424599cc867'/>
<id>urn:sha1:14073f6614f62dc7862c83575b042424599cc867</id>
<content type='text'>
Declare bus.write/read_bulk/write_bulk().
Add I2C write/read_bulk/write_bulk() to implement the above.
Add bq27xxx_write/read_block/write_block() helpers to call the above.

Signed-off-by: Matt Ranostay &lt;matt@ranostay.consulting&gt;
Signed-off-by: Liam Breck &lt;kernel@networkimprov.net&gt;
Acked-by: "Andrew F. Davis" &lt;afd@ti.com&gt;
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.co.uk&gt;
</content>
</entry>
<entry>
<title>power: supply: max17042_battery: Add support for the STATUS property</title>
<updated>2017-05-01T10:37:29Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2017-04-14T18:32:51Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a9df22c00d7c2c9c2944c62f1b819de6c214660f'/>
<id>urn:sha1:a9df22c00d7c2c9c2944c62f1b819de6c214660f</id>
<content type='text'>
Userspace prefers the driver having a status property over having to guess
itself. Specifically this will properly make the GNOME3 UI (and likely
others) properly show discharging / charging / full status, instead
of always showing discharging as status.

Note that in the case there is no charger driver supplying the max17042,
then a status of unknown will get returned. At least upower treats
this the same as not having a status attribute, so in this case nothing
changes from a userspace pov.

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.co.uk&gt;
</content>
</entry>
<entry>
<title>power: supply: max17042_battery: Add default platform_data fallback data</title>
<updated>2017-05-01T10:37:25Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2017-04-14T18:32:49Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=917362135b8a5c0680acf08807e9fc6179eb6c79'/>
<id>urn:sha1:917362135b8a5c0680acf08807e9fc6179eb6c79</id>
<content type='text'>
Some x86 machines use a max17047 fuel-gauge and x86 might be missing
platform_data if not provided by SFI.

This commit adds default platform_data as fallback option so that the
driver can work on boards where no platform_data is provided.

Since not all boards have a thermistor hooked up, set temp_min to 0 and
change the health checks from temp &lt;= temp_min to temp &lt; temp_min to
not trigger on such boards (where temp reads 0).

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.co.uk&gt;
</content>
</entry>
<entry>
<title>power: supply: bq24190_charger: Use i2c-core irq-mapping code</title>
<updated>2017-04-13T23:41:34Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2017-03-22T14:55:30Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=01c0e0a28da749e80cb7d549f75a5f52e2f40d0e'/>
<id>urn:sha1:01c0e0a28da749e80cb7d549f75a5f52e2f40d0e</id>
<content type='text'>
The i2c-core already maps of irqs before calling the driver's probe
function and there are no in tree users of
bq24190_platform_data-&gt;gpio_int.

Remove the redundant custom irq-mapping code and just use client-&gt;irq.

Cc: Liam Breck &lt;kernel@networkimprov.net&gt;
Cc: Tony Lindgren &lt;tony@atomide.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>power: supply: bq27xxx: adds specific support for bq27520-g4 revision.</title>
<updated>2017-01-12T01:30:13Z</updated>
<author>
<name>Chris Lapa</name>
<email>chris@lapa.com.au</email>
</author>
<published>2017-01-11T01:44:47Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8835cae5f2abd7f7a3143afe357f416aff5517a4'/>
<id>urn:sha1:8835cae5f2abd7f7a3143afe357f416aff5517a4</id>
<content type='text'>
This commit adds the BQ27520G4 chip definition to specifically match the
bq27520-G4 functionality as described in the datasheet.

Signed-off-by: Chris Lapa &lt;chris@lapa.com.au&gt;
Acked-by: Pali Rohár &lt;pali.rohar@gmail.com&gt;
Reviewed-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: adds specific support for bq27520-g3 revision.</title>
<updated>2017-01-12T01:30:13Z</updated>
<author>
<name>Chris Lapa</name>
<email>chris@lapa.com.au</email>
</author>
<published>2017-01-11T01:44:46Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=825e915ba2e811b91a034ac6290cd172387c5447'/>
<id>urn:sha1:825e915ba2e811b91a034ac6290cd172387c5447</id>
<content type='text'>
This commit adds the BQ27520G3 chip definition to specifically match the
bq27520-G3 functionality as described in the datasheet.

Signed-off-by: Chris Lapa &lt;chris@lapa.com.au&gt;
Acked-by: Pali Rohár &lt;pali.rohar@gmail.com&gt;
Reviewed-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: adds specific support for bq27520-g2 revision.</title>
<updated>2017-01-12T01:30:13Z</updated>
<author>
<name>Chris Lapa</name>
<email>chris@lapa.com.au</email>
</author>
<published>2017-01-11T01:44:45Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a5deb9a93040a4a221ef8a67c88ecd72cd1f3625'/>
<id>urn:sha1:a5deb9a93040a4a221ef8a67c88ecd72cd1f3625</id>
<content type='text'>
This commit adds the BQ27520G2 chip definition to specifically match the
bq27520-G2 functionality as described in the datasheet.

Signed-off-by: Chris Lapa &lt;chris@lapa.com.au&gt;
Acked-by: Pali Rohár &lt;pali.rohar@gmail.com&gt;
Reviewed-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: adds specific support for bq27520-g1 revision.</title>
<updated>2017-01-12T01:30:13Z</updated>
<author>
<name>Chris Lapa</name>
<email>chris@lapa.com.au</email>
</author>
<published>2017-01-11T01:44:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=68f2a813eb25bd0ef72453aeef9b1ce156157d14'/>
<id>urn:sha1:68f2a813eb25bd0ef72453aeef9b1ce156157d14</id>
<content type='text'>
This commit adds the BQ27520G1 chip definition to specifically match the
bq27520-G1 functionality as described in the datasheet.

Signed-off-by: Chris Lapa &lt;chris@lapa.com.au&gt;
Acked-by: Pali Rohár &lt;pali.rohar@gmail.com&gt;
Reviewed-by: Andrew F. Davis &lt;afd@ti.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
</feed>
