[v4,00/10] clk: qcom: Add TCSR, GPU, CAM and DISP clock controllers for X1E80100

Message ID 20240202-x1e80100-clock-controllers-v4-0-7fb08c861c7c@linaro.org
Headers
Series clk: qcom: Add TCSR, GPU, CAM and DISP clock controllers for X1E80100 |

Message

Abel Vesa Feb. 2, 2024, 6:34 p.m. UTC
  This patchset adds all the missing clock controllers for Qualcomm X1E80100
platform. Another important change is the dropping of the dedicated
schema of the SM8650 DISP CC as a preparatory work for documenting the
DISP CC compatible for X1E801800.

Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
---
Changes in v4:
- used #define for clk_alpha_pll_zonda_ole_ops, like Dmitry suggested
- Link to v3: https://lore.kernel.org/r/20240129-x1e80100-clock-controllers-v3-0-d96dacfed104@linaro.org

Changes in v3:
- Added Krzysztof's R-b tag to patch 2
- Dropped the DISP_CC_ prefix and CORE substring from gdsc names, to align
  with SM8[56]50
- Dropped the CC substring from GPU CC gdsc names
- Added P_BI_TCXO_AO to both dispcc and camcc
- Dropped the _ao prefix for disp_cc_parent_data_7
- Added missing test_ctl values for plls in dispcc
- Fixed flags for dispcc gdscs
- Moved comments for always enabled clocks on the same line in dispcc, camcc
  and gpucc, like Konrad suggested
- Fixed some error paths in dispcc probe
- Dropped underscore from driver name and replaced module description with
  full name, like Bryan suggested for all drivers
- Fixed gpucc branch ops and gdsc flags
- Added Bryan's T-b and R-b tags to camcc patch
- Link to v2: https://lore.kernel.org/r/20231214-x1e80100-clock-controllers-v2-0-2b0739bebd27@linaro.org

Changes in v2:
- Added Krzysztof's R-b tag to patches no. 1, 3, 4 and 5
- Added Dmitry's R-b tag to patch 7
- Reordered Signed-off-by tags in patch 6
- Lower-cased hex values in patch 6, 8 and 10
- Link to v1: https://lore.kernel.org/r/20231212-x1e80100-clock-controllers-v1-0-0de1af44dcb3@linaro.org

---
Abel Vesa (3):
      dt-bindings: clock: Drop the SM8650 DISPCC dedicated schema
      dt-bindings: clock: qcom: Document the X1E80100 TCSR Clock Controller
      clk: qcom: Add TCSR clock driver for x1e80100

Rajendra Nayak (7):
      dt-bindings: clock: qcom: Document the X1E80100 Display Clock Controller
      dt-bindings: clock: qcom: Document the X1E80100 GPU Clock Controller
      dt-bindings: clock: qcom: Document the X1E80100 Camera Clock Controller
      clk: qcom: clk-alpha-pll: Add support for zonda ole pll configure
      clk: qcom: Add dispcc clock driver for x1e80100
      clk: qcom: Add GPU clock driver for x1e80100
      clk: qcom: Add camcc clock driver for x1e80100

 .../bindings/clock/qcom,sm8450-camcc.yaml          |    2 +
 .../bindings/clock/qcom,sm8450-gpucc.yaml          |    2 +
 .../bindings/clock/qcom,sm8550-dispcc.yaml         |    7 +-
 .../bindings/clock/qcom,sm8550-tcsr.yaml           |    1 +
 .../bindings/clock/qcom,sm8650-dispcc.yaml         |  106 -
 drivers/clk/qcom/Kconfig                           |   35 +
 drivers/clk/qcom/Makefile                          |    4 +
 drivers/clk/qcom/camcc-x1e80100.c                  | 2486 ++++++++++++++++++++
 drivers/clk/qcom/clk-alpha-pll.c                   |   16 +
 drivers/clk/qcom/clk-alpha-pll.h                   |    4 +
 drivers/clk/qcom/dispcc-x1e80100.c                 | 1718 ++++++++++++++
 drivers/clk/qcom/gpucc-x1e80100.c                  |  656 ++++++
 drivers/clk/qcom/tcsrcc-x1e80100.c                 |  285 +++
 include/dt-bindings/clock/qcom,x1e80100-camcc.h    |  135 ++
 include/dt-bindings/clock/qcom,x1e80100-dispcc.h   |   98 +
 include/dt-bindings/clock/qcom,x1e80100-gpucc.h    |   41 +
 include/dt-bindings/clock/qcom,x1e80100-tcsr.h     |   23 +
 include/dt-bindings/reset/qcom,x1e80100-gpucc.h    |   19 +
 18 files changed, 5531 insertions(+), 107 deletions(-)
---
base-commit: a3003f5d25eca1b034bb684bc6e7797586d5b8f7
change-id: 20231201-x1e80100-clock-controllers-ba42b0575f8a

Best regards,
  

Comments

Bjorn Andersson Feb. 7, 2024, 4:46 a.m. UTC | #1
On Fri, 02 Feb 2024 20:34:35 +0200, Abel Vesa wrote:
> This patchset adds all the missing clock controllers for Qualcomm X1E80100
> platform. Another important change is the dropping of the dedicated
> schema of the SM8650 DISP CC as a preparatory work for documenting the
> DISP CC compatible for X1E801800.
> 
> 

Applied, thanks!

[06/10] clk: qcom: clk-alpha-pll: Add support for zonda ole pll configure
        commit: c32f4f4ae1c6035b44bb4ca7a41fa4fd51244597
[07/10] clk: qcom: Add dispcc clock driver for x1e80100
        commit: ee3f0739035f5a73695ce2e62866585e6f762d0d
[08/10] clk: qcom: Add GPU clock driver for x1e80100
        commit: acddef6e17441b537225717a6701a9aadf170e51
[09/10] clk: qcom: Add TCSR clock driver for x1e80100
        commit: 06aff116199c1b7e57e1c796fa0a8bebeac8beea
[10/10] clk: qcom: Add camcc clock driver for x1e80100
        commit: 76126a5129b57a705a621c2711eed149c5be5873

Best regards,