<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-rng/include/linux/power, branch master</title>
<subtitle>Development tree for the kernel CSPRNG</subtitle>
<id>https://git.zx2c4.com/linux-rng/atom/include/linux/power?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-rng/atom/include/linux/power?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-rng/'/>
<updated>2026-10-04T16:23:41Z</updated>
<entry>
<title>power: supply: bq27xxx: add support for BQ28Z620</title>
<updated>2026-10-04T16:23:41Z</updated>
<author>
<name>Alexey Charkov</name>
<email>alchark@flipper.net</email>
</author>
<published>2026-10-02T12:02:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-rng/commit/?id=5d32ee3bff8bc943095d04e801e1b45f1c695753'/>
<id>urn:sha1:5d32ee3bff8bc943095d04e801e1b45f1c695753</id>
<content type='text'>
Match the BQ28Z620 under its own chip ID so that code touching its
relocated data flash can tell it apart from the BQ28Z610. Reuse the
BQ28Z610 register map and properties, as the standard commands the
driver reads are unchanged.

Keep the 10 mW scaling of AveragePower() even though the BQ28Z620 TRM
lists it in mW: readings on hardware match V * I only in 10 mW units.

Signed-off-by: Alexey Charkov &lt;alchark@flipper.net&gt;
Link: https://patch.msgid.link/20261002-bq28z620-v1-2-bdcc10d42519@flipper.net
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
</content>
</entry>
<entry>
<title>power: supply: bq27xxx: add support for bq27z746</title>
<updated>2026-09-09T22:43:06Z</updated>
<author>
<name>Henrik Grimler</name>
<email>henrik.grimler@axis.com</email>
</author>
<published>2026-08-18T09:48:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-rng/commit/?id=abe09806ef8b76f47e6248c82abc1d1623e9f985'/>
<id>urn:sha1:abe09806ef8b76f47e6248c82abc1d1623e9f985</id>
<content type='text'>
bq27z746 is similar to bq27z561, but has additional battery protection
logic. The standard register map is a subset of the one found in
bq27z561. There are some more differences among the ManufacturerAccess
registers, but the ManufacturerAccess registers are currently not
handled by the driver in any way. Therefore use the same regs and
props for bq27z746 and bq27z561.

Signed-off-by: Henrik Grimler &lt;henrik.grimler@axis.com&gt;
Acked-by: Andrew Davis &lt;afd@ti.com&gt;
Link: https://patch.msgid.link/20260818-bq27z746-v2-3-0371e206665f@axis.com
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
</content>
</entry>
<entry>
<title>power: supply: max17042_battery: Follow MAX17055 POR sequence</title>
<updated>2026-07-27T18:32:38Z</updated>
<author>
<name>Vincent Cloutier</name>
<email>vincent@cloutier.co</email>
</author>
<published>2026-07-27T01:13:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-rng/commit/?id=111a2d606a493c3b2f03864ea34a29df3a9e7c06'/>
<id>urn:sha1:111a2d606a493c3b2f03864ea34a29df3a9e7c06</id>
<content type='text'>
Wait until the MAX17055 is ready, leave hibernate around EZ Config,
and wait for ModelCfg.Refresh to clear as required by the power-on reset
initialization flow.

Restore HibCfg on every exit path. Keep failed restoration state so a
retry restores hibernate before starting a new initialization transaction.

Assisted-by: OpenCode:gpt-5.6-sol
Signed-off-by: Vincent Cloutier &lt;vincent@cloutier.co&gt;
Link: https://patch.msgid.link/20260727011319.621794-9-vincent.cloutier@icloud.com
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
</content>
</entry>
<entry>
<title>power: supply: max17042_battery: Program MAX17055 EZ Config values</title>
<updated>2026-07-27T18:32:38Z</updated>
<author>
<name>Vincent Cloutier</name>
<email>vincent@cloutier.co</email>
</author>
<published>2026-07-27T01:13:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-rng/commit/?id=6f384023851d67bd242bf40e5a91328eb92edb5d'/>
<id>urn:sha1:6f384023851d67bd242bf40e5a91328eb92edb5d</id>
<content type='text'>
MAX17055 EZ Config requires DesignCap, dQAcc, IChgTerm, and dPAcc to
be programmed coherently. Write each supplied stable register once, wait
1 ms, and verify its read-back instead of relying on the unchecked generic
POR override path.

Derive dPAcc from the effective DesignCap, dQAcc, and ModelCfg values so
the accumulator matches the selected charge-voltage range. Propagate all
read, write, verification, and range errors to the retrying init worker.

Assisted-by: OpenCode:gpt-5.6-sol
Signed-off-by: Vincent Cloutier &lt;vincent@cloutier.co&gt;
Link: https://patch.msgid.link/20260727011319.621794-8-vincent.cloutier@icloud.com
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
</content>
</entry>
<entry>
<title>power: supply: Remove unused jz4740-battery.h</title>
<updated>2026-06-03T21:13:32Z</updated>
<author>
<name>Costa Shulyupin</name>
<email>costa.shul@redhat.com</email>
</author>
<published>2026-05-15T18:50:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-rng/commit/?id=0549c4c01338abe343a4ffaa4733475d0a85d38a'/>
<id>urn:sha1:0549c4c01338abe343a4ffaa4733475d0a85d38a</id>
<content type='text'>
The last user was removed in commit aea12071d6fc
("power/supply: Drop obsolete JZ4740 driver") and replaced by
a self-contained IIO-based driver. No file includes this header.

Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Costa Shulyupin &lt;costa.shul@redhat.com&gt;
Link: https://patch.msgid.link/20260515185043.1523363-1-costa.shul@redhat.com
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
</content>
</entry>
<entry>
<title>power: supply: max17042_battery: use ModelCfg refresh on max17055</title>
<updated>2026-06-03T19:56:01Z</updated>
<author>
<name>Sebastian Krzyszkowiak</name>
<email>sebastian.krzyszkowiak@puri.sm</email>
</author>
<published>2026-04-06T20:57:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-rng/commit/?id=b26bc0b97d8d1b7454b7f7ab64f1bda8d1cd4002'/>
<id>urn:sha1:b26bc0b97d8d1b7454b7f7ab64f1bda8d1cd4002</id>
<content type='text'>
Unlike other models, max17055 doesn't require cell characterization data
and operates on a smaller set of input variables (`DesignCap`, `VEmpty`,
`IChgTerm`, and `ModelCfg`). Those values can be filled in through
`max17042_override_por_values()`, but the refresh bit has to be set
afterward in order to make them apply.

Signed-off-by: Sebastian Krzyszkowiak &lt;sebastian.krzyszkowiak@puri.sm&gt;
Signed-off-by: Vincent Cloutier &lt;vincent@cloutier.co&gt;
Link: https://patch.msgid.link/20260406205759.493288-8-vincent.cloutier@icloud.com
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
</content>
</entry>
<entry>
<title>power: supply: max17042_battery: Remove unused platform-data plumbing</title>
<updated>2026-06-03T19:43:54Z</updated>
<author>
<name>Vincent Cloutier</name>
<email>vincent@cloutier.co</email>
</author>
<published>2026-04-06T20:57:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-rng/commit/?id=d0c54c6f9dab20f93185df7722ed133097aaccb3'/>
<id>urn:sha1:d0c54c6f9dab20f93185df7722ed133097aaccb3</id>
<content type='text'>
No in-tree user still provides `max17042_platform_data` or
`max17042_reg_data`. Move the simple runtime fields into
`struct max17042_chip`, populate them directly from DT or the default
hardware state, and drop the unused public platform-data interface.

While here, write the MAX17047/MAX17050 default `FullSOCThr` value
directly in probe instead of carrying it through an `init_data` table.

Signed-off-by: Vincent Cloutier &lt;vincent@cloutier.co&gt;
Link: https://patch.msgid.link/20260406205759.493288-7-vincent.cloutier@icloud.com
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
</content>
</entry>
<entry>
<title>power: supply: max17042: consider task period (max77759)</title>
<updated>2026-03-03T22:58:07Z</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@linaro.org</email>
</author>
<published>2026-03-02T13:32:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-rng/commit/?id=83a86e27c34d06ec2dc117fb293e80f78402df49'/>
<id>urn:sha1:83a86e27c34d06ec2dc117fb293e80f78402df49</id>
<content type='text'>
Several (register) values reported by the fuel gauge depend on its
internal task period and it needs to be taken into account when
calculating results. All relevant example formulas in the data sheet
assume the default task period (of 5760) and final results need to be
adjusted based on the task period in effect.

Update the code as and where necessary.

Reviewed-by: Peter Griffin &lt;peter.griffin@linaro.org&gt;
Signed-off-by: André Draszik &lt;andre.draszik@linaro.org&gt;
Link: https://patch.msgid.link/20260302-max77759-fg-v3-10-3c5f01dbda23@linaro.org
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
</content>
</entry>
<entry>
<title>power: supply: max17042: initial support for Maxim MAX77759</title>
<updated>2026-03-03T22:58:07Z</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@linaro.org</email>
</author>
<published>2026-03-02T13:32:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-rng/commit/?id=2864fb6aa947703d290b52b1b030b0b74d0a6128'/>
<id>urn:sha1:2864fb6aa947703d290b52b1b030b0b74d0a6128</id>
<content type='text'>
The Maxim MAX77759 is a companion PMIC intended for use in mobile
phones and tablets. It is used on Google Pixel 6 and 6 Pro (oriole and
raven). Amongst others, it contains a fuel gauge that is similar to the
ones supported by this driver.

The fuel gauge can measure battery charge and discharge current,
battery voltage, battery temperature, and the Type C connector's
temperature.

The MAX77759 incorporates the Maxim ModelGauge m5 algorithm. It, as
well as previous generations like m3 on max17047/max17050, requires
the host to save/restore some register values across power cycles to
maintain full accuracy. Extending the driver for such support is out of
scope in this initial commit.

Reviewed-by: Peter Griffin &lt;peter.griffin@linaro.org&gt;
Signed-off-by: André Draszik &lt;andre.draszik@linaro.org&gt;
Link: https://patch.msgid.link/20260302-max77759-fg-v3-9-3c5f01dbda23@linaro.org
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
</content>
</entry>
<entry>
<title>power: supply: max77705_charger: implement aicl feature</title>
<updated>2025-11-02T23:02:30Z</updated>
<author>
<name>Dzmitry Sankouski</name>
<email>dsankouski@gmail.com</email>
</author>
<published>2025-09-25T19:09:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-rng/commit/?id=8ed6b8842c44a4a716dfd536e7f13aff77039a02'/>
<id>urn:sha1:8ed6b8842c44a4a716dfd536e7f13aff77039a02</id>
<content type='text'>
Adaptive input current allows charger to reduce it's current
consumption, when source is not able to provide enough power.

Signed-off-by: Dzmitry Sankouski &lt;dsankouski@gmail.com&gt;
Link: https://patch.msgid.link/20250925-max77705_77976_charger_improvement-v6-1-972c716c17d1@gmail.com
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
</content>
</entry>
</feed>
