<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/include/linux/power, branch v4.12-rc4</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>power: supply: max17042_battery: Add support for the STATUS property</title>
<updated>2017-05-01T10:37:29+00:00</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2017-04-14T18:32:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a9df22c00d7c2c9c2944c62f1b819de6c214660f'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>power: supply: max17042_battery: Add default platform_data fallback data</title>
<updated>2017-05-01T10:37:25+00:00</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2017-04-14T18:32:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=917362135b8a5c0680acf08807e9fc6179eb6c79'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>power: supply: bq24190_charger: Use i2c-core irq-mapping code</title>
<updated>2017-04-13T23:41:34+00:00</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2017-03-22T14:55:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=01c0e0a28da749e80cb7d549f75a5f52e2f40d0e'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>power: supply: bq27xxx: adds specific support for bq27520-g4 revision.</title>
<updated>2017-01-12T01:30:13+00:00</updated>
<author>
<name>Chris Lapa</name>
<email>chris@lapa.com.au</email>
</author>
<published>2017-01-11T01:44:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8835cae5f2abd7f7a3143afe357f416aff5517a4'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>power: supply: bq27xxx: adds specific support for bq27520-g3 revision.</title>
<updated>2017-01-12T01:30:13+00:00</updated>
<author>
<name>Chris Lapa</name>
<email>chris@lapa.com.au</email>
</author>
<published>2017-01-11T01:44:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=825e915ba2e811b91a034ac6290cd172387c5447'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>power: supply: bq27xxx: adds specific support for bq27520-g2 revision.</title>
<updated>2017-01-12T01:30:13+00:00</updated>
<author>
<name>Chris Lapa</name>
<email>chris@lapa.com.au</email>
</author>
<published>2017-01-11T01:44:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a5deb9a93040a4a221ef8a67c88ecd72cd1f3625'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>power: supply: bq27xxx: adds specific support for bq27520-g1 revision.</title>
<updated>2017-01-12T01:30:13+00:00</updated>
<author>
<name>Chris Lapa</name>
<email>chris@lapa.com.au</email>
</author>
<published>2017-01-11T01:44:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=68f2a813eb25bd0ef72453aeef9b1ce156157d14'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>power: supply: bq27xxx: adds specific support for bq27510-g3 revision.</title>
<updated>2017-01-12T01:30:13+00:00</updated>
<author>
<name>Chris Lapa</name>
<email>chris@lapa.com.au</email>
</author>
<published>2017-01-11T01:44:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=71375aa7d6a7392d4968f6a562b437cb4958f956'/>
<id>71375aa7d6a7392d4968f6a562b437cb4958f956</id>
<content type='text'>
This commit adds the BQ27510G3 chip definition to specifically match the
bq27510-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;
Tested-by: Chris Lapa &lt;chris@lapa.com.au&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds the BQ27510G3 chip definition to specifically match the
bq27510-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;
Tested-by: Chris Lapa &lt;chris@lapa.com.au&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>power: supply: bq27xxx: adds specific support for bq27510-g2 revision.</title>
<updated>2017-01-12T01:30:13+00:00</updated>
<author>
<name>Chris Lapa</name>
<email>chris@lapa.com.au</email>
</author>
<published>2017-01-11T01:44:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=698a2bf5fc31d85d428a2ae495775b61381a495e'/>
<id>698a2bf5fc31d85d428a2ae495775b61381a495e</id>
<content type='text'>
This commit adds the BQ27510G2 chip definition to specifically match the
bq27510-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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds the BQ27510G2 chip definition to specifically match the
bq27510-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;
</pre>
</div>
</content>
</entry>
<entry>
<title>power: supply: bq27xxx: adds specific support for bq27510-g1 revision.</title>
<updated>2017-01-12T01:30:13+00:00</updated>
<author>
<name>Chris Lapa</name>
<email>chris@lapa.com.au</email>
</author>
<published>2017-01-11T01:44:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=bd28177f3ec8367fbb3c56cfcf1c1a46e3fe240a'/>
<id>bd28177f3ec8367fbb3c56cfcf1c1a46e3fe240a</id>
<content type='text'>
This commit adds the BQ27510G1 chip definition to specifically match the
bq27510-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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds the BQ27510G1 chip definition to specifically match the
bq27510-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;
</pre>
</div>
</content>
</entry>
</feed>
