Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] power: supply: add charger for BD71828
@ 2025-08-20 20:21 Andreas Kemnade
  2025-08-20 20:21 ` [PATCH v2 1/2] mfd: bd71828, bd71815 prepare for power-supply support Andreas Kemnade
  2025-08-20 20:21 ` [PATCH v2 2/2] power: supply: Add bd718(15/28/78) charger driver Andreas Kemnade
  0 siblings, 2 replies; 6+ messages in thread
From: Andreas Kemnade @ 2025-08-20 20:21 UTC (permalink / raw)
  To: Matti Vaittinen, Lee Jones, Sebastian Reichel
  Cc: linux-kernel, linux-pm, Krzysztof Kozlowski, Andreas Kemnade,
	Matti Vaittinen

Add basic charger which does just read out simple registers without
doing any sophisticated things. 

This is a stripped down version of
https://lore.kernel.org/lkml/dbd97c1b0d715aa35a8b4d79741e433d97c562aa.1637061794.git.matti.vaittinen@fi.rohmeurope.com/

That version includes all the bells-and-whistles you might imagine
around coloumb counter handling and capacity measurement which includes
changes no the power supply core.
Rather do a step by step approach to keep that reviewable.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
Changes in v2:
- fix some be16 handling reported by bots
- fix some style issues
- do not sneak in additional chip ids
- remove useless debug output 
- remove wrong/useless alias
- remove fuel gauge remains
- fix error checks in temperature reading
- sync properties in switch/case with list
- Link to v1: https://lore.kernel.org/r/20250816-bd71828-charger-v1-0-71b11bde5c73@kemnade.info

---
Andreas Kemnade (1):
      power: supply: Add bd718(15/28/78) charger driver

Matti Vaittinen (1):
      mfd: bd71828, bd71815 prepare for power-supply support

 drivers/mfd/rohm-bd71828.c           |   44 +-
 drivers/power/supply/Kconfig         |    9 +
 drivers/power/supply/Makefile        |    1 +
 drivers/power/supply/bd71828-power.c | 1135 ++++++++++++++++++++++++++++++++++
 include/linux/mfd/rohm-bd71828.h     |   65 ++
 5 files changed, 1245 insertions(+), 9 deletions(-)
---
base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585
change-id: 20250816-bd71828-charger-9d187346f734

Best regards,
-- 
Andreas Kemnade <andreas@kemnade.info>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-08-21 11:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-20 20:21 [PATCH v2 0/2] power: supply: add charger for BD71828 Andreas Kemnade
2025-08-20 20:21 ` [PATCH v2 1/2] mfd: bd71828, bd71815 prepare for power-supply support Andreas Kemnade
2025-08-21  5:45   ` Matti Vaittinen
2025-08-20 20:21 ` [PATCH v2 2/2] power: supply: Add bd718(15/28/78) charger driver Andreas Kemnade
2025-08-21  6:38   ` Matti Vaittinen
2025-08-21 11:59     ` Andreas Kemnade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox