[PATCH v2 00/11] clk: qcom: sc8180x: PM-related fixes (and refactoring)

Val Packett posted 11 patches 3 weeks, 5 days ago
drivers/clk/qcom/camcc-sc8180x.c             |  76 ++++++-----
drivers/clk/qcom/dispcc-sm8250.c             |   6 +-
drivers/clk/qcom/gcc-sc8180x.c               | 126 +++++++++++++------
include/dt-bindings/clock/qcom,gcc-sc8180x.h |   5 +
4 files changed, 132 insertions(+), 81 deletions(-)
[PATCH v2 00/11] clk: qcom: sc8180x: PM-related fixes (and refactoring)
Posted by Val Packett 3 weeks, 5 days ago
v2:
- collect tags
- bring in dispcc patch mentioned in cover letter
- add a couple new discoveries (mostly camcc related)
- add refactoring to current style (qcom_cc_driver_data)

v1: https://lore.kernel.org/all/20260309010214.224621-1-val@packett.cool/

Also bonus new question: I found
https://git.codelinaro.org/clo/la/kernel/msm-4.14/-/commit/489da2db487312fdaf9441056745490031b59f55
and almost included a patch adding `.skip_retention_level = true` to MMCX
in rpmhpd for the SoC, but.. it should not be necessary, right?
Just having low_svs as the requested OPP in the consumers in the DT
shooould be enough to make sure it's always at least at low_svs?
(I *thought* it might've helped with the GDSC stuck-off issue for
both Titan and MDSS but it's more likely the other fixes..)

~val

Val Packett (11):
  dt-bindings: clock: qcom,gcc-sc8180x: Add missing GDSCs
  clk: qcom: gcc-sc8180x: Add missing GDSCs
  clk: qcom: gcc-sc8180x: Use retention for USB power domains
  clk: qcom: gcc-sc8180x: Use retention for PCIe power domains
  clk: qcom: gcc-sc8180x: Enable runtime PM support
  clk: qcom: gcc-sc8180x: Refactor to use qcom_cc_driver_data
  clk: qcom: dispcc-sm8250: Use shared ops on the mdss vsync clk
  clk: qcom: dispcc-sm8250: Enable parents for pixel clocks
  clk: qcom: camcc-sc8180x: Remove wait_val for Titan GDSC
  clk: qcom: camcc-sc8180x: Add missing HW_CTRL GDSC flag
  clk: qcom: camcc-sc8180x: Refactor to use qcom_cc_driver_data

 drivers/clk/qcom/camcc-sc8180x.c             |  76 ++++++-----
 drivers/clk/qcom/dispcc-sm8250.c             |   6 +-
 drivers/clk/qcom/gcc-sc8180x.c               | 126 +++++++++++++------
 include/dt-bindings/clock/qcom,gcc-sc8180x.h |   5 +
 4 files changed, 132 insertions(+), 81 deletions(-)

-- 
2.52.0
Re: (subset) [PATCH v2 00/11] clk: qcom: sc8180x: PM-related fixes (and refactoring)
Posted by Bjorn Andersson 2 weeks, 5 days ago
On Thu, 12 Mar 2026 08:12:05 -0300, Val Packett wrote:
> v2:
> - collect tags
> - bring in dispcc patch mentioned in cover letter
> - add a couple new discoveries (mostly camcc related)
> - add refactoring to current style (qcom_cc_driver_data)
> 
> v1: https://lore.kernel.org/all/20260309010214.224621-1-val@packett.cool/
> 
> [...]

Applied, thanks!

[01/11] dt-bindings: clock: qcom,gcc-sc8180x: Add missing GDSCs
        commit: 76404ffbf07f28a5ec04748e18fce3dac2e78ef6
[02/11] clk: qcom: gcc-sc8180x: Add missing GDSCs
        commit: 3565741eb985a8a7cc6656eb33496195468cb99e
[03/11] clk: qcom: gcc-sc8180x: Use retention for USB power domains
        commit: 25bc96f26cd6c19dde13a0b9859183e531d6fbfc
[04/11] clk: qcom: gcc-sc8180x: Use retention for PCIe power domains
        commit: ccb92c78b42edd26225b4d5920847dfee3e1b093
[05/11] clk: qcom: gcc-sc8180x: Enable runtime PM support
        commit: 733220662679da538c5c416b3367acc7cb212f29
[06/11] clk: qcom: gcc-sc8180x: Refactor to use qcom_cc_driver_data
        commit: f641773e10fa5e85154554b15f2aff30e050bdcb
[07/11] clk: qcom: dispcc-sm8250: Use shared ops on the mdss vsync clk
        commit: 8c522da70f0c2e5148c4c13ccb1c64cca57a6fdb
[08/11] clk: qcom: dispcc-sm8250: Enable parents for pixel clocks
        commit: acf7a91d0b0e9e3ef374944021de62062125b7e4
[11/11] clk: qcom: camcc-sc8180x: Refactor to use qcom_cc_driver_data
        commit: b39ae8c2f3de2a2429caad9dd414db14f84bcc8e

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>