Skip to content

clk: qcom: sc8180x: PM-related fixes (and refactoring)

Val Packett linux-arm-msm linux-clk linux-devicetree lkml 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 21 repliesApplied
  2. v17 patches 13 repliesSuperseded

Changes in v2 from the cover letter

- 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)

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/11dt-bindings: clock: qcom,gcc-sc8180x: Add missing GDSCsinclude/dt-bindings/clock/qcom,gcc-sc8180x.h+5 -01 reply
2/11clk: qcom: gcc-sc8180x: Add missing GDSCsdrivers/clk/qcom/gcc-sc8180x.c+50 -00 replies
3/11clk: qcom: gcc-sc8180x: Use retention for USB power domainsdrivers/clk/qcom/gcc-sc8180x.c+3 -30 replies
4/11clk: qcom: gcc-sc8180x: Use retention for PCIe power domainsdrivers/clk/qcom/gcc-sc8180x.c+4 -42 replies
5/11clk: qcom: gcc-sc8180x: Enable runtime PM supportdrivers/clk/qcom/gcc-sc8180x.c+1 -01 reply
6/11clk: qcom: gcc-sc8180x: Refactor to use qcom_cc_driver_datadrivers/clk/qcom/gcc-sc8180x.c+31 -302 replies
7/11clk: qcom: dispcc-sm8250: Use shared ops on the mdss vsync clkdrivers/clk/qcom/dispcc-sm8250.c+1 -11 reply
8/11clk: qcom: dispcc-sm8250: Enable parents for pixel clocksdrivers/clk/qcom/dispcc-sm8250.c+2 -26 replies
9/11clk: qcom: camcc-sc8180x: Remove wait_val for Titan GDSCdrivers/clk/qcom/camcc-sc8180x.c+0 -32 replies
10/11clk: qcom: camcc-sc8180x: Add missing HW_CTRL GDSC flagdrivers/clk/qcom/camcc-sc8180x.c+3 -33 replies
11/11clk: qcom: camcc-sc8180x: Refactor to use qcom_cc_driver_datadrivers/clk/qcom/camcc-sc8180x.c+32 -352 replies

Reviews trailers per patch

9 of 11 patches have a Reviewed-by or Acked-by.

PatchDmitry BaryshkovKonrad DybcioKrzysztof KozlowskiManivannan Sadhasivam
1/11A-b
2/11R-b R-b
3/11R-b R-b
4/11R-b R-b R-b
5/11R-b
6/11R-b R-b
7/11R-b
8/11R-b
9/11
10/11
11/11R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

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

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/[email protected]/

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(-)
Signature · 1 line
2.52.0