linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] mfd/power: Push data into power supply
@ 2021-03-12  8:36 Linus Walleij
  2021-03-12  8:36 ` [PATCH 1/4] mfd/power: ab8500: Require device tree Linus Walleij
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Linus Walleij @ 2021-03-12  8:36 UTC (permalink / raw)
  To: lee.jones, Sebastian Reichel; +Cc: linux-pm, linux-kernel, Linus Walleij

This series pushes some AB8500 power supply headers down
into the power supply subsystem so the power supply code
becomes independent from the other AB8500 stuff.

The first patch makes the code require device tree so
that the series make sense: once all data for the power
supply comes from device tree, it makes sense for that
code to not require global headers for platform data
etc.

This is in preparation for some finalization of the AB8500
power code, as merge strategy I think it is best if:

- The power maintainer (Sebastian) provide an ACK

- The MFD matinainer (Lee) merges this and provide an
  immutable branch that the power maintainer can possibly
  pull as a base for his tree

I hope both subsystems are happy with the changes.

One of the patches already has Lee's Acked-for-MFD, but I
got a bit stressed out in the last kernel cycle. Let's
take this stepwise, first these four patches. No hurry.

Linus Walleij (4):
  mfd/power: ab8500: Require device tree
  mfd/power: ab8500: Push data to power supply code
  mfd/power: ab8500: Push algorithm to power supply code
  mfd/power: ab8500: Push data to power supply code

 drivers/mfd/ab8500-core.c                     |  17 +-
 drivers/power/supply/Kconfig                  |   2 +-
 .../power/supply}/ab8500-bm.h                 | 297 ++++++++++++++++--
 .../power/supply/ab8500-chargalg.h            |   6 +-
 drivers/power/supply/ab8500_bmdata.c          |   3 +-
 drivers/power/supply/ab8500_btemp.c           |  45 +--
 drivers/power/supply/ab8500_charger.c         |  27 +-
 drivers/power/supply/ab8500_fg.c              |  20 +-
 drivers/power/supply/abx500_chargalg.c        |  22 +-
 drivers/power/supply/pm2301_charger.c         |   4 +-
 include/linux/mfd/abx500.h                    | 276 ----------------
 11 files changed, 326 insertions(+), 393 deletions(-)
 rename {include/linux/mfd/abx500 => drivers/power/supply}/ab8500-bm.h (58%)
 rename include/linux/mfd/abx500/ux500_chargalg.h => drivers/power/supply/ab8500-chargalg.h (93%)

-- 
2.29.2


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

end of thread, other threads:[~2021-04-05 16:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-12  8:36 [PATCH 0/4] mfd/power: Push data into power supply Linus Walleij
2021-03-12  8:36 ` [PATCH 1/4] mfd/power: ab8500: Require device tree Linus Walleij
2021-03-12  8:36 ` [PATCH 2/4] mfd/power: ab8500: Push data to power supply code Linus Walleij
2021-03-12  8:36 ` [PATCH 3/4] mfd/power: ab8500: Push algorithm " Linus Walleij
2021-03-12  8:36 ` [PATCH 4/4] mfd/power: ab8500: Push data " Linus Walleij
2021-03-12  8:40 ` [PATCH 0/4] mfd/power: Push data into power supply Linus Walleij
2021-03-23  8:57 ` [GIT PULL] Immutable branch between MFD and Power due for the v5.13 merge window Lee Jones
2021-03-23  9:11   ` Linus Walleij
2021-04-05 16:14     ` Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).