[PATCH v6 0/9] Enable CPR for IPQ9574

From: Varadarajan Narayanan
Date: Wed Jul 10 2024 - 02:11:54 EST


This series tries to enable CPR on IPQ9574 based on the drivers
posted in [1] - Add support for Core Power Reduction v3, v4 and Hardened.

dt_binding_check and dtbs_check passed.

Depends:
[1] https://lore.kernel.org/lkml/20240708-topic-cpr3h-v15-0-5bc8b8936489@xxxxxxxxxx/T/
[2] https://lore.kernel.org/linux-arm-msm/20240703091651.2820236-10-quic_varada@xxxxxxxxxxx/

v6: Update depends to Konrad's V15
Rebase on top of V15
Change 'acc_desc' check to accomodate v15 changes

v5:
This series tries to enable CPR on IPQ9574, that implements
CPRv4. Since [1] is older, faced few minor issues. Those are
addressed in [2].

Depends:
[1] https://lore.kernel.org/lkml/20230217-topic-cpr3h-v14-0-9fd23241493d@xxxxxxxxxx/T/
[2] https://github.com/quic-varada/cpr/tree/4de50be55a89eb29ab0d40d3fcfe9aa7a9ccf910
[3] https://lore.kernel.org/linux-arm-msm/20240703091651.2820236-10-quic_varada@xxxxxxxxxxx/

Drop 'dt-bindings: opp: v2-qcom-level: Update minItems for oloop-vadj & cloop-vadj',
the [3] dependency listed above. It should be squashed into [1]
Add acc_desc is not NULL check in one more place in cpr_probe
Update one commit message and add acked-by, reviewd-by

v4: s/cprh/cpr4/
Create new match data for ipq9574 that includes genpd_names
Update cloop-vadj & oloop-vadj with minItems

v3: Fix patch authorship for 2 patches
Include CPR3 file changes done to Konrad's patches in https://github.com/quic-varada/cpr/commits/konrad/
Change url for [2] to skip the cpr3 file changes

v2: Fix Signed-off-by order in 2 patches
Update constraints in qcom,cpr3.yaml
Add rbcpr_clk_src registration
Add Reviewed-by to one of the patches
Not adding Acked-by as the file has changed

Praveenkumar I (2):
pmdomain: qcom: rpmpd: Add IPQ9574 power domains
soc: qcom: cpr3: Add IPQ9574 definitions

Varadarajan Narayanan (7):
soc: qcom: cpr3: Fix 'acc_desc' usage
cpufreq: qcom-nvmem: Add support for IPQ9574
dt-bindings: power: rpmpd: Add IPQ9574 power domains
dt-bindings: soc: qcom: cpr3: Add bindings for IPQ9574
dt-bindings: clock: Add CPR clock defines for IPQ9574
clk: qcom: gcc-ipq9574: Add CPR clock definition
arm64: dts: qcom: ipq9574: Enable CPR

.../devicetree/bindings/power/qcom,rpmpd.yaml | 1 +
.../bindings/soc/qcom/qcom,cpr3.yaml | 35 +++
arch/arm64/boot/dts/qcom/ipq9574.dtsi | 269 ++++++++++++++++--
drivers/clk/qcom/gcc-ipq9574.c | 39 +++
drivers/cpufreq/qcom-cpufreq-nvmem.c | 7 +-
drivers/pmdomain/qcom/cpr3.c | 149 +++++++++-
drivers/pmdomain/qcom/rpmpd.c | 19 ++
include/dt-bindings/clock/qcom,ipq9574-gcc.h | 2 +
include/dt-bindings/power/qcom-rpmpd.h | 3 +
9 files changed, 502 insertions(+), 22 deletions(-)

--
2.34.1