Introduce the initial set of clock controller bindings and driver
support for the upcoming Qualcomm Maili SoC.
Maili is a new mobile SoC from Qualcomm. It is a derivative of the
Hawi SoC and shares most of its clock topology. Where the hardware is
identical, Maili reuses the existing Hawi drivers via fallback
compatible strings. Where Maili diverges — specifically in the Global
Clock Controller (GCC), which carries an additional QUPv3 wrapper
(WRAP5) — the Hawi GCC driver is extended to handle both SoCs.
The series covers the following clock controllers:
- RPMH clock controller: identical to Hawi; uses qcom,hawi-rpmh-clk
as fallback.
- TCSR clock controller: identical to Hawi; uses qcom,hawi-tcsrcc
as fallback.
- Global Clock Controller (GCC): extends the Hawi GCC driver with
eight additional QUPV3 WRAP5 clocks present only on Maili.
- CPUCP mailbox controller: software-compatible with X1E80100; uses
qcom,x1e80100-cpucp-mbox as fallback.
The devicetree for Maili will be upstreamed later.
Changes in v3:
- Update the comment for extending the array appropriately size.
- Add RB-by [Krzysztof] from v2
- Link to v2: https://lore.kernel.org/r/20260713-maili_initial_clock-v2-0-79548f0bb58f@oss.qualcomm.com
Changes in v2:
- Split the new Maili-only QUPv3 WRAP5 clock IDs out of
qcom,hawi-gcc.h into a new qcom,maili-gcc.h header (which includes
qcom,hawi-gcc.h), instead of adding them directly to the Hawi
header. [Krzysztof]
- Update the GCC driver to include the maili-gcc header.
- Link to v1: https://lore.kernel.org/r/20260618-maili_initial_clock-v1-0-d6ede0352113@oss.qualcomm.com
---
Taniya Das (5):
dt-bindings: clock: qcom-rpmhcc: Add RPMH clock controller for Maili
dt-bindings: clock: qcom: Add Maili TCSR clock controller
dt-bindings: clock: qcom: Add Maili global clock controller
clk: qcom: gcc-hawi: Add support for global clock controller on Maili
dt-bindings: mailbox: qcom: Document Maili CPUCP mailbox controller
.../devicetree/bindings/clock/qcom,hawi-gcc.yaml | 11 +-
.../devicetree/bindings/clock/qcom,rpmhcc.yaml | 65 ++++---
.../bindings/clock/qcom,sm8550-tcsr.yaml | 34 ++--
.../bindings/mailbox/qcom,cpucp-mbox.yaml | 1 +
drivers/clk/qcom/gcc-hawi.c | 201 +++++++++++++++++++++
include/dt-bindings/clock/qcom,maili-gcc.h | 21 +++
6 files changed, 286 insertions(+), 47 deletions(-)
---
base-commit: 4fa3f5fabb30bf00d7475d5a33459ea83d639bf9
change-id: 20260617-maili_initial_clock-c7e2b4530d80
Best regards,
--
Taniya Das <taniya.das@oss.qualcomm.com>