Add cpufreq support for Qualcomm Halliday (SXR2250P)
v2 cover Add cpufreq support for Qualcomm Halliday (SXR2250P)
Document the CPUFREQ hardware (EPSS) of the Qualcomm Halliday SoC and keep cpufreq-dt from probing on it.
This is part of the bring-up of the Qualcomm Halliday SoC (SXR2250P) in the Samsung Galaxy XR. 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, where cpufreq runs through qcom-cpufreq-hw.
---
Changes in v2:
- Add the qcom-hw binding from the DT series (12/17 there), so that
the cpufreq patches are in one series:
https://patch.msgid.link/[email protected]
- Use the "cpufreq: dt-platdev:" subject prefix (Zhongqiu)
- Link to v1: https://patch.msgid.link/[email protected]
---
Stanislav Aleksandrov (2):
dt-bindings: cpufreq: qcom-hw: Document Halliday CPUFREQ hardware
cpufreq: dt-platdev: Add Halliday to blocklist
Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml | 2 ++ drivers/cpufreq/cpufreq-dt-platdev.c | 1 + 2 files changed, 3 insertions(+)
---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261108-halliday-cpufreq-1e9c3581e2b4
Best regards,
Signature · 1 line
Stanislav Aleksandrov <[email protected]>
PATCH v2 1/2 dt-bindings: cpufreq: qcom-hw: Document Halliday CPUFREQ hardware
Document the CPUFREQ hardware (EPSS) on the Qualcomm Halliday SoC.
--- Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml +2 -0
@@ -36,6 +36,7 @@ properties: items: - enum: - qcom,eliza-cpufreq-epss + - qcom,halliday-cpufreq-epss - qcom,milos-cpufreq-epss - qcom,qcs8300-cpufreq-epss - qcom,qdu1000-cpufreq-epss
@@ -135,6 +136,7 @@ allOf: compatible: contains: enum: + - qcom,halliday-cpufreq-epss - qcom,qcs615-cpufreq-hw - qcom,qdu1000-cpufreq-epss - qcom,sa8255p-cpufreq-epss
Signature · 1 line
2.55.0
PATCH v2 2/2 cpufreq: dt-platdev: Add Halliday to blocklist
In reply to Stanislav AleksandrovThe Qualcomm Halliday platform uses the qcom-cpufreq-hw driver, so add it to the cpufreq-dt-platdev driver's blocklist.
--- drivers/cpufreq/cpufreq-dt-platdev.c | 1 + 1 file changed, 1 insertion(+)
drivers/cpufreq/cpufreq-dt-platdev.c +1 -0
@@ -155,6 +155,7 @@ static const struct of_device_id blocklist[] __initconst = { { .compatible = "nvidia,tegra234", }, { .compatible = "qcom,apq8096", }, + { .compatible = "qcom,halliday", }, { .compatible = "qcom,milos", }, { .compatible = "qcom,msm8909", }, { .compatible = "qcom,msm8996", },
Signature · 1 line
2.55.0
[email protected]
AI reviewRe: [PATCH v2 2/2] cpufreq: dt-platdev: Add Halliday to blocklist
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] cpufreq: dt-platdev: undocumented DT compatible string qcom,halliday --
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider:
- [Low] cpufreq: dt-platdev: undocumented DT compatible string qcom,halliday
--
commit 4e273fe3306a2bb3a253890da522236eca532a54
Author: Stanislav Aleksandrov <[email protected]>
cpufreq: dt-platdev: Add Halliday to blocklist
This commit adds "qcom,halliday" to the cpufreq-dt-platdev blocklist so that the platform uses the qcom-cpufreq-hw driver instead.
drivers/cpufreq/cpufreq-dt-platdev.c static const struct of_device_id blocklist[] __initconst = { · line 158
Quoted 9 lines
drivers/cpufreq/cpufreq-dt-platdev.c +1
-0@@ -155,6 +155,7 @@ static const struct of_device_id blocklist[] __initconst = { { .compatible = "nvidia,tegra234", }, { .compatible = "qcom,apq8096", }, + { .compatible = "qcom,halliday", },
[Severity: Low]
Should "qcom,halliday" be documented in Documentation/devicetree/bindings/arm/qcom.yaml before adding it to blocklist[]?
Commit "dt-bindings: cpufreq: qcom-hw: Document Halliday CPUFREQ hardware" documents "qcom,halliday-cpufreq-epss", but the root SoC compatible string "qcom,halliday" is not yet documented in the Devicetree bindings.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2
Re: [PATCH v2 2/2] cpufreq: dt-platdev: Add Halliday to blocklist
Quoted 3 lines · On 16/11/2026 21:32, [email protected] wrote:
Should "qcom,halliday" be documented in
Documentation/devicetree/bindings/arm/qcom.yamlbefore adding it to blocklist[]?
It is documented in the DT series:
https://lore.kernel.org/r/[email protected]
Stanislav
Quoted 19 lines · Stanislav Aleksandrov
Document the CPUFREQ hardware (EPSS) of the Qualcomm Halliday SoC and keep cpufreq-dt from probing on it.
This is part of the bring-up of the Qualcomm Halliday SoC (SXR2250P) in the Samsung Galaxy XR. 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, where cpufreq runs through qcom-cpufreq-hw.
Signed-off-by Stanislav Aleksandrov <[email protected]>---
Changes in v2:
- Add the qcom-hw binding from the DT series (12/17 there), so that
the cpufreq patches are in one series:
https://patch.msgid.link/[email protected]
- Use the "cpufreq: dt-platdev:" subject prefix (Zhongqiu)
- Link to v1: https://patch.msgid.link/[email protected]
Quoted 8 lines
---
Stanislav Aleksandrov (2):
dt-bindings: cpufreq: qcom-hw: Document Halliday CPUFREQ hardware
cpufreq: dt-platdev: Add Halliday to blocklistDocumentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml | 2 ++ drivers/cpufreq/cpufreq-dt-platdev.c | 1 + 2 files changed, 3 insertions(+)
Applied. Thanks.
Signature · 1 line
viresh