[PATCH v3 00/11] Add clock drivers for Milos

Luca Weiss posted 11 patches 2 months, 3 weeks ago
.../bindings/clock/qcom,milos-camcc.yaml           |   51 +
.../bindings/clock/qcom,milos-dispcc.yaml          |   63 +
.../devicetree/bindings/clock/qcom,milos-gcc.yaml  |   62 +
.../bindings/clock/qcom,milos-videocc.yaml         |   53 +
.../bindings/clock/qcom,sm8450-gpucc.yaml          |    2 +
drivers/clk/qcom/Kconfig                           |   47 +
drivers/clk/qcom/Makefile                          |    5 +
drivers/clk/qcom/camcc-milos.c                     | 2161 +++++++++++++
drivers/clk/qcom/common.c                          |   10 +
drivers/clk/qcom/common.h                          |    2 +
drivers/clk/qcom/dispcc-milos.c                    |  974 ++++++
drivers/clk/qcom/gcc-milos.c                       | 3225 ++++++++++++++++++++
drivers/clk/qcom/gpucc-milos.c                     |  562 ++++
drivers/clk/qcom/videocc-milos.c                   |  403 +++
include/dt-bindings/clock/qcom,milos-camcc.h       |  131 +
include/dt-bindings/clock/qcom,milos-dispcc.h      |   61 +
include/dt-bindings/clock/qcom,milos-gcc.h         |  210 ++
include/dt-bindings/clock/qcom,milos-gpucc.h       |   56 +
include/dt-bindings/clock/qcom,milos-videocc.h     |   36 +
19 files changed, 8114 insertions(+)
[PATCH v3 00/11] Add clock drivers for Milos
Posted by Luca Weiss 2 months, 3 weeks ago
Document and add the clock drivers for GCC, CAMCC, DISPCC, GPUCC and
VIDEOCC on the Milos SoC (e.g. SM7635).

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
Changes in v3:
- Move dfs_rcgs to qcom_cc_driver_data (update common & gcc)
- Pick up tags
- Link to v2: https://lore.kernel.org/r/20250704-sm7635-clocks-v2-0-9e47a7c0d47f@fairphone.com

Changes in v2:
- Rebrand SM7635 to Milos as requested: https://lore.kernel.org/linux-arm-msm/aGMI1Zv6D+K+vWZL@hu-bjorande-lv.qualcomm.com/
- Use new qcom_cc_driver_data to configure e.g. always-on clks instead
  of in probe function, plus some other related bits from the probe
  function
- Add patch to support registering rcg dfs in qcom_cc_really_probe
- Link to v1: https://lore.kernel.org/r/20250625-sm7635-clocks-v1-0-ca3120e3a80e@fairphone.com

---
Luca Weiss (11):
      clk: qcom: common: Add support to register rcg dfs in qcom_cc_really_probe
      dt-bindings: clock: qcom: document the Milos Global Clock Controller
      clk: qcom: Add Global Clock controller (GCC) driver for Milos
      dt-bindings: clock: qcom: document the Milos Camera Clock Controller
      clk: qcom: Add Camera Clock controller (CAMCC) driver for Milos
      dt-bindings: clock: qcom: document the Milos Display Clock Controller
      clk: qcom: Add Display Clock controller (DISPCC) driver for Milos
      dt-bindings: clock: qcom: document the Milos GPU Clock Controller
      clk: qcom: Add Graphics Clock controller (GPUCC) driver for Milos
      dt-bindings: clock: qcom: document the Milos Video Clock Controller
      clk: qcom: Add Video Clock controller (VIDEOCC) driver for Milos

 .../bindings/clock/qcom,milos-camcc.yaml           |   51 +
 .../bindings/clock/qcom,milos-dispcc.yaml          |   63 +
 .../devicetree/bindings/clock/qcom,milos-gcc.yaml  |   62 +
 .../bindings/clock/qcom,milos-videocc.yaml         |   53 +
 .../bindings/clock/qcom,sm8450-gpucc.yaml          |    2 +
 drivers/clk/qcom/Kconfig                           |   47 +
 drivers/clk/qcom/Makefile                          |    5 +
 drivers/clk/qcom/camcc-milos.c                     | 2161 +++++++++++++
 drivers/clk/qcom/common.c                          |   10 +
 drivers/clk/qcom/common.h                          |    2 +
 drivers/clk/qcom/dispcc-milos.c                    |  974 ++++++
 drivers/clk/qcom/gcc-milos.c                       | 3225 ++++++++++++++++++++
 drivers/clk/qcom/gpucc-milos.c                     |  562 ++++
 drivers/clk/qcom/videocc-milos.c                   |  403 +++
 include/dt-bindings/clock/qcom,milos-camcc.h       |  131 +
 include/dt-bindings/clock/qcom,milos-dispcc.h      |   61 +
 include/dt-bindings/clock/qcom,milos-gcc.h         |  210 ++
 include/dt-bindings/clock/qcom,milos-gpucc.h       |   56 +
 include/dt-bindings/clock/qcom,milos-videocc.h     |   36 +
 19 files changed, 8114 insertions(+)
---
base-commit: b803ad80123e6efccfeeffa7cd37f98f642e37f4
change-id: 20250620-sm7635-clocks-7699d338dc37

Best regards,
-- 
Luca Weiss <luca.weiss@fairphone.com>
Re: [PATCH v3 00/11] Add clock drivers for Milos
Posted by Bjorn Andersson 2 months, 3 weeks ago
On Tue, 15 Jul 2025 09:19:00 +0200, Luca Weiss wrote:
> Document and add the clock drivers for GCC, CAMCC, DISPCC, GPUCC and
> VIDEOCC on the Milos SoC (e.g. SM7635).
> 
> 

Applied, thanks!

[01/11] clk: qcom: common: Add support to register rcg dfs in qcom_cc_really_probe
        commit: b21b5b3ae0fce4db3eab052d3e3cc17890e78523
[02/11] dt-bindings: clock: qcom: document the Milos Global Clock Controller
        commit: 95ba6820a665c25f372a3cdc9c469bb0a86bf174
[03/11] clk: qcom: Add Global Clock controller (GCC) driver for Milos
        commit: 88174d5d94226b0f0931f4ae97913e498f76d2a2
[04/11] dt-bindings: clock: qcom: document the Milos Camera Clock Controller
        commit: dbb9d53b7197b6b13d0137c0ea45902ef26e2bb4
[05/11] clk: qcom: Add Camera Clock controller (CAMCC) driver for Milos
        commit: f003800e2d3596770fc42bfff7de9528923dafe2
[06/11] dt-bindings: clock: qcom: document the Milos Display Clock Controller
        commit: 63edb206a3a93f523579df7f49f2989aae4e8450
[07/11] clk: qcom: Add Display Clock controller (DISPCC) driver for Milos
        commit: f40b5217dce1832e5a270ee10f03d3d23233d720
[08/11] dt-bindings: clock: qcom: document the Milos GPU Clock Controller
        commit: 7e5368a14b8c295470ab07d2a9ad8ee9bf7187ee
[09/11] clk: qcom: Add Graphics Clock controller (GPUCC) driver for Milos
        commit: 980d7c84461a0ae88ec915735553067c7743ba4c
[10/11] dt-bindings: clock: qcom: document the Milos Video Clock Controller
        commit: a4937e9741867865bb307ae9dde6ef393b68540b
[11/11] clk: qcom: Add Video Clock controller (VIDEOCC) driver for Milos
        commit: 633a81bead863881373cf3399e26d9d10d31315e

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