]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
power: supply: Add bd718(15/28/78) charger driver
authorAndreas Kemnade <andreas@kemnade.info>
Thu, 18 Sep 2025 07:45:10 +0000 (09:45 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sun, 2 Nov 2025 23:02:04 +0000 (00:02 +0100)
commit5bff79dad20a51fed3ff6d78f6b60321cd145a99
tree865eb6433f663e414272f28c661710c5f99e97f0
parent3a8660878839faadb4f1a6dd72c3179c1df56787
power: supply: Add bd718(15/28/78) charger driver

Add charger driver for ROHM BD718(15/28/78) PMIC charger block.
It is a stripped down version of the driver here:
https://lore.kernel.org/lkml/dbd97c1b0d715aa35a8b4d79741e433d97c562aa.1637061794.git.matti.vaittinen@fi.rohmeurope.com/

For the ease of review and to do a step-by-step approach remove all the
coloumb counter related stuff and do not sneak in BD71827 support. That
also avoids non-trivial rebasing of the above series.

Changes besides that:
Replace the custom property by a standard one and do not use megaohms
for the current sense resistor.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://patch.msgid.link/20250918-bd71828-charger-v5-2-851164839c28@kemnade.info
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/Kconfig
drivers/power/supply/Makefile
drivers/power/supply/bd71828-power.c [new file with mode: 0644]