<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/power/supply/sbs-manager.c, branch master</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=master</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-09-06T21:49:06Z</updated>
<entry>
<title>power: supply: Remove the use of dev_err_probe()</title>
<updated>2025-09-06T21:49:06Z</updated>
<author>
<name>Xichao Zhao</name>
</author>
<published>2025-08-20T04:04:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c3a49515225e44b2593839a4b3fec70c39dc0c89'/>
<id>urn:sha1:c3a49515225e44b2593839a4b3fec70c39dc0c89</id>
<content type='text'>
The dev_err_probe() doesn't do anything when error is '-ENOMEM'.
Therefore, remove the useless call to dev_err_probe(), and just
return the value instead.

Signed-off-by: Xichao Zhao &lt;zhao.xichao@vivo.com&gt;
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
</content>
</entry>
<entry>
<title>power: supply: all: switch psy_cfg from of_node to fwnode</title>
<updated>2025-03-08T00:42:34Z</updated>
<author>
<name>Sebastian Reichel</name>
</author>
<published>2025-02-24T23:21:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=46d0c03c55033693811d5e4ae36a7eade1ebc82c'/>
<id>urn:sha1:46d0c03c55033693811d5e4ae36a7eade1ebc82c</id>
<content type='text'>
When registering a power-supply device, either a of_node or the more
recent fwnode can be supplied. Since fwnode can also contain an of_node,
let's try to get rid of it.

Reviewed-by: AngeloGioacchino Del Regno &lt;angelogioacchino.delregno@collabora.com&gt;
Acked-by: Baolin Wang &lt;baolin.wang@linux.alibaba.com&gt;
Acked-by: Chen-Yu Tsai &lt;wens@csie.org&gt;
Link: https://lore.kernel.org/r/20250225-psy-core-convert-to-fwnode-v1-4-d5e4369936bb@collabora.com
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
</content>
</entry>
<entry>
<title>power: supply: Drop explicit initialization of struct i2c_device_id::driver_data to 0</title>
<updated>2024-05-27T16:47:11Z</updated>
<author>
<name>Uwe Kleine-König</name>
</author>
<published>2024-05-22T16:48:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ebacfa1f09c14b2bc5cb02c1a518e29edea1f476'/>
<id>urn:sha1:ebacfa1f09c14b2bc5cb02c1a518e29edea1f476</id>
<content type='text'>
These drivers don't use the driver_data member of struct i2c_device_id,
so don't explicitly initialize this member.

This prepares putting driver_data in an anonymous union which requires
either no initialization or named designators. But it's also a nice
cleanup on its own.

While add it, also remove commas after the sentinel entries.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Link: https://lore.kernel.org/r/20240522164830.61646-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
</content>
</entry>
<entry>
<title>power: supply: sbs-manager: Remove class argument from i2c_mux_add_adapter()</title>
<updated>2024-05-14T07:21:43Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2024-04-18T20:55:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=068a95ef3945033b5355e50fecea18737680d43d'/>
<id>urn:sha1:068a95ef3945033b5355e50fecea18737680d43d</id>
<content type='text'>
Commit 99a741aa7a2d ("i2c: mux: gpio: remove support for class-based
device instantiation") removed the last call to i2c_mux_add_adapter()
with a non-null class argument. Therefore the class argument can be
removed.

Note: Class-based device instantiation is a legacy mechanism which
shouldn't be used in new code, so we can rule out that this argument
may be needed again in the future.

This driver was forgotten by the patch in the Fixes tag.

Fixes: fec1982d7072 ("i2c: mux: Remove class argument from i2c_mux_add_adapter()")
Signed-off-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
Acked-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
</content>
</entry>
<entry>
<title>power: supply: Switch i2c drivers back to use .probe()</title>
<updated>2023-06-04T20:33:22Z</updated>
<author>
<name>Uwe Kleine-König</name>
</author>
<published>2023-05-17T16:55:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fe20b1dcd2de47cdc983a47f4fb7a781e0b6c39c'/>
<id>urn:sha1:fe20b1dcd2de47cdc983a47f4fb7a781e0b6c39c</id>
<content type='text'>
After commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new()
call-back type"), all drivers being converted to .probe_new() and then
03c835f498b5 ("i2c: Switch .probe() to not take an id parameter") convert
back to (the new) .probe() to be able to eventually drop .probe_new() from
struct i2c_driver.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
</content>
</entry>
<entry>
<title>power: supply: sbs-manager: Convert to i2c's .probe_new()</title>
<updated>2022-11-20T19:12:17Z</updated>
<author>
<name>Uwe Kleine-König</name>
</author>
<published>2022-11-18T22:44:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=02d1a40141a7b9d9cb8ef151c14e7d7aeaa56966'/>
<id>urn:sha1:02d1a40141a7b9d9cb8ef151c14e7d7aeaa56966</id>
<content type='text'>
.probe_new() doesn't get the i2c_device_id * parameter, so determine
that explicitly in the probe function.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
</content>
</entry>
<entry>
<title>power: supply: sbs-manager: update gpio include</title>
<updated>2021-04-02T12:19:26Z</updated>
<author>
<name>Sebastian Reichel</name>
</author>
<published>2021-03-09T18:04:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=17948f589926719f77764f6e1293dbf855d092bd'/>
<id>urn:sha1:17948f589926719f77764f6e1293dbf855d092bd</id>
<content type='text'>
sbs-manager implements a GPIO chip, so include the proper
gpio driver include instead of the legacy gpio.h.

Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
</content>
</entry>
<entry>
<title>power: supply: sbs-manager: use dev_err_probe</title>
<updated>2021-04-02T12:19:25Z</updated>
<author>
<name>Sebastian Reichel</name>
</author>
<published>2021-03-09T18:04:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=436ff8c9280faa670d2135a2bf2544b6c465d84a'/>
<id>urn:sha1:436ff8c9280faa670d2135a2bf2544b6c465d84a</id>
<content type='text'>
Introduce usage of dev_err_probe in probe routine, which
makes the code slightly more readable and removes some
lines of code. It also removes PROBE_DEFER errors being
logged by default.

Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
</content>
</entry>
<entry>
<title>power: supply: sbs-manager: use managed i2c_mux_adapter</title>
<updated>2021-04-02T12:19:25Z</updated>
<author>
<name>Sebastian Reichel</name>
</author>
<published>2021-03-09T18:04:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=814ddbd9ec0b9344eb390711a115cf6f097f0044'/>
<id>urn:sha1:814ddbd9ec0b9344eb390711a115cf6f097f0044</id>
<content type='text'>
Simplify code by using devm_add_action_or_reset to unregister
the i2c_mux_adapter.

Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'for-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply</title>
<updated>2019-07-16T04:06:15Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2019-07-16T04:06:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5fe7b600a116187e10317d83fb56922c4ef6b76d'/>
<id>urn:sha1:5fe7b600a116187e10317d83fb56922c4ef6b76d</id>
<content type='text'>
Pull power supply and reset updates from Sebastian Reichel:
 "Core:
   - add HWMON compat layer
   - new properties:
       - input power limit
       - input voltage limit

  Drivers:
   - qcom-pon: add gen2 support
   - new driver for storing reboot move in NVMEM
   - new driver for Wilco EC charger configuration
   - simplify getting the adapter of a client"

* tag 'for-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply:
  power: reset: nvmem-reboot-mode: add CONFIG_OF dependency
  power_supply: wilco_ec: Add charging config driver
  power: supply: cros: allow to set input voltage and current limit
  power: supply: add input power and voltage limit properties
  power: supply: fix semicolon.cocci warnings
  power: reset: nvmem-reboot-mode: use NVMEM as reboot mode write interface
  dt-bindings: power: reset: add document for NVMEM based reboot-mode
  reset: qcom-pon: Add support for gen2 pon
  dt-bindings: power: reset: qcom: Add qcom,pm8998-pon compatibility line
  power: supply: Add HWMON compatibility layer
  power: supply: sbs-manager: simplify getting the adapter of a client
  power: supply: rt9455_charger: simplify getting the adapter of a client
  power: supply: rt5033_battery: simplify getting the adapter of a client
  power: supply: max17042_battery: simplify getting the adapter of a client
  power: supply: max17040_battery: simplify getting the adapter of a client
  power: supply: max14656_charger_detector: simplify getting the adapter of a client
  power: supply: bq25890_charger: simplify getting the adapter of a client
  power: supply: bq24257_charger: simplify getting the adapter of a client
  power: supply: bq24190_charger: simplify getting the adapter of a client
</content>
</entry>
</feed>
