[PATCH 0/6] Move DB8500 PRCMU clock policy into the clock subsystem

Linus Walleij linusw at kernel.org
Fri Nov 27 15:42:28 PST 2026


The U8500 clocks will need some extended features going forward
and I don't want to force Lee to review clock patches just
because there is half a clock driver in the MFD PRCMU
driver.

Move ARMSS rate selection and CLKOUT, peripheral, PLL and DSI clock
register programming into the Ux500 clock drivers.

The MFD driver continues to own the shared register mapping,
SoC PLL/SYSCLK firmware commands and mailbox synchronization.

Drop the unused partial-25% APE mode, which was emulated by
changing clock dividers in MFD.

The final patch removes a bit of policy from the PRCMU
driver, it will be managed by the clock subsystem.

An LLM helped with the mechanics in this patch series.

This series requires the following prerequisite patch:
"mfd/regulator: db8500-prcmu: Remove EPOD regulators, v2"
https://lore.kernel.org/mfd/20261127-ux500-epod-regulator-removal-v2-1-0ccab0f430fd@kernel.org/

---
Linus Walleij (6):
      clk: ux500: Select ARMSS firmware operating points in the clock driver
      clk: ux500: Move CLKOUT programming to the clock driver
      mfd: db8500-prcmu: Drop unused partial APE clock divider mode
      clk: ux500: Move PRCMU clock register handling out of MFD
      clk: ux500: Separate the PRCMU DSI clock implementation
      mfd: db8500-prcmu: Always submit an explicit APE OPP request

 drivers/clk/ux500/Makefile        |   2 +-
 drivers/clk/ux500/clk-prcmu-dsi.c | 352 ++++++++++++++
 drivers/clk/ux500/clk-prcmu-hw.c  | 492 ++++++++++++++++++++
 drivers/clk/ux500/clk-prcmu-hw.h  |  39 ++
 drivers/clk/ux500/clk-prcmu.c     | 163 ++++++-
 drivers/mfd/db8500-prcmu-regs.h   | 128 ------
 drivers/mfd/db8500-prcmu.c        | 937 +-------------------------------------
 include/linux/mfd/db8500-prcmu.h  |  40 +-
 8 files changed, 1041 insertions(+), 1112 deletions(-)
---
base-commit: eaf11176791570b235e10c43bed920659745615b
change-id: 20261125-ux500-prcmu-clock-move-d8efd52065ba

Best regards,
--  
Linus Walleij <linusw at kernel.org>




More information about the linux-arm-kernel mailing list