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