[PATCH 0/5] Add RPMh and global clock controller support for Qualcomm Halliday (SXR2250P)

From: Stanislav Aleksandrov

Date: Sun Nov 08 2026 - 19:33:06 EST


Add the RPMh clocks and the Global Clock Controller of the Qualcomm
Halliday SoC.

The GCC has the clkref_en gates on the outputs of the QREF block, whose
supplies are shared with the UFS PHY. Patch 4 lets drivers built on
qcom_cc_desc register clk_ref clocks next to their other clocks, so
that the GCC can vote for those supplies.

Halliday (SXR2250P / Snapdragon XR2+ Gen 2) is the SoC in the Samsung
Galaxy XR headset. The DT changes follow in a separate series.

This work was made together with Claude, ChatGPT and Gemini.
Reviewed and tested on my Galaxy XR.

Signed-off-by: Stanislav Aleksandrov <lightofmysoul@xxxxxxxxx>
---
Stanislav Aleksandrov (5):
dt-bindings: clock: qcom: document the Halliday RPMh Clock Controller
clk: qcom: rpmh: Add support for RPMh clocks on Halliday
dt-bindings: clock: qcom: document the Halliday Global Clock Controller
clk: qcom: common: Register clk_ref clocks from qcom_cc_desc
clk: qcom: Add support for Global clock controller on Halliday

.../bindings/clock/qcom,halliday-gcc.yaml | 84 +
.../devicetree/bindings/clock/qcom,rpmhcc.yaml | 1 +
drivers/clk/qcom/Kconfig | 11 +
drivers/clk/qcom/Makefile | 1 +
drivers/clk/qcom/clk-ref.c | 91 +-
drivers/clk/qcom/clk-rpmh.c | 22 +
drivers/clk/qcom/common.c | 60 +
drivers/clk/qcom/common.h | 9 +
drivers/clk/qcom/gcc-halliday.c | 3552 ++++++++++++++++++++
include/dt-bindings/clock/qcom,halliday-gcc.h | 249 ++
10 files changed, 4030 insertions(+), 50 deletions(-)
---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261108-halliday-clk-362190f4f5dd

Best regards,
--
Stanislav Aleksandrov <lightofmysoul@xxxxxxxxx>