Skip to content

Add Global Clock controller (GCC) driver for SC7180

Taniya Das linux-arm-msm linux-clk linux-devicetree lkml 4 versions – Applied

Status from this message: Applied to clk-next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 21 repliesApplied
  2. v33 patches 21 repliesSuperseded
  3. v23 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches6 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/5clk: qcom: rcg: update the DFS macro for RCGdrivers/clk/qcom/clk-rcg.h drivers/clk/qcom/gcc-sdm845.c+49 -491 reply
2/5clk: qcom: common: Return NULL from clk_hw OF providerdrivers/clk/qcom/common.c+1 -11 reply
3/5dt-bindings: clock: Add YAML schemas for the QCOM GCC clock bindingsDocumentation/devicetree/bindings/clock/qcom,gcc.txt Documentation/devicetree/bindings/clock/qcom,gcc.yaml+174 -942 replies
4/5dt-bindings: clock: Introduce QCOM GCC clock bindingsDocumentation/devicetree/bindings/clock/qcom,gcc.yaml include/dt-bindings/clock/qcom,gcc-sc7180.h+169 -02 replies
5/5clk: qcom: Add Global Clock controller (GCC) driver for SC7180drivers/clk/qcom/Kconfig drivers/clk/qcom/Makefile drivers/clk/qcom/gcc-sc7180.c+2460 -015 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchRob Herring
1/5
2/5
3/5R-b
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/5] Add Global Clock controller (GCC) driver for SC7180

[v4]
* convert current documentation to YAML schemas.
* Update license to use GPL-2.0-only.
* define nvmem-cells/nvmem-cell-names only for the required compatible.
* split the dt-bindings for SC7180 to a separate patch.
* remove registering the CRITICAL clocks to clock provider and leave them always ON from the GCC probe.
* Return NULL from qcom_cc_clk_hw_get where clk hw is not registered.
* gcc_sc7180_init moved from subsys to core init.

[v3]
* Remove old documentation and fix comments for binding.
* Cleanup few CRITICAL clocks and add comments for the CRITICAL clocks.
* Add reference clocks for UFS & USB.

[v2]
* Update the DFS macro for RCG to reflect the hw init similar to clock name.
* Update the Documentation binding of GCC to YAML schemas.
* Add comments for CRITICAL clocks, remove PLL forward declarations and unwanted comments/prints.

[v1]
* Add driver support for Global Clock controller for SC7180 and also update device tree bindings for the various clocks supported in the clock controller.

Taniya Das (5):
clk: qcom: rcg: update the DFS macro for RCG
clk: qcom: common: Return NULL from clk_hw OF provider
dt-bindings: clock: Add YAML schemas for the QCOM GCC clock bindings
dt-bindings: clock: Introduce QCOM GCC clock bindings
clk: qcom: Add Global Clock controller (GCC) driver for SC7180

 .../devicetree/bindings/clock/qcom,gcc.txt    |   94 -
 .../devicetree/bindings/clock/qcom,gcc.yaml   |  188 ++
 drivers/clk/qcom/Kconfig                      |    9 +
 drivers/clk/qcom/Makefile                     |    1 +
 drivers/clk/qcom/clk-rcg.h                    |    2 +-
 drivers/clk/qcom/common.c                     |    2 +-
 drivers/clk/qcom/gcc-sc7180.c                 | 2450 +++++++++++++++++
 drivers/clk/qcom/gcc-sdm845.c                 |   96 +-
 include/dt-bindings/clock/qcom,gcc-sc7180.h   |  155 ++
 9 files changed, 2853 insertions(+), 144 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/clock/qcom,gcc.txt
 create mode 100644 Documentation/devicetree/bindings/clock/qcom,gcc.yaml
 create mode 100644 drivers/clk/qcom/gcc-sc7180.c
 create mode 100644 include/dt-bindings/clock/qcom,gcc-sc7180.h

--
Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc.is a member of the Code Aurora Forum, hosted by the Linux Foundation.