Skip to content

Add device tree and clock drivers for SM8250 SoC

Venkata Narendra Kumar Gutta linux-arm-kernel linux-arm-msm linux-clk linux-devicetree lkml 2 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. v2 Latest7 patches 11 repliesApplied
  2. v17 patches 17 repliesSuperseded

Changes in v2 from the cover letter

* Addressed comments on patch 2, kept new compatible in sorted order and fixed the additional spaces.
* Addressed comments on patch 7, fixed the clk-cells of "sleep_clk" and updated name of the scm node.
* Added reviewed-by/Acked-by tags.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/7dt-bindings: clock: Add RPMHCC bindings for SM8250Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml include/dt-bindings/clock/qcom,rpmh.h+4 -11 reply
2/7clk: qcom: rpmh: Add support for RPMH clocks on SM8250drivers/clk/qcom/clk-rpmh.c+24 -11 reply
3/7clk: qcom: clk-alpha-pll: Refactor and cleanup trion PLLdrivers/clk/qcom/clk-alpha-pll.c+22 -491 reply
4/7clk: qcom: clk-alpha-pll: Add support for controlling Lucid PLLsdrivers/clk/qcom/clk-alpha-pll.c drivers/clk/qcom/clk-alpha-pll.h+202 -02 replies
5/7dt-bindings: clock: Add SM8250 GCC clock bindingsDocumentation/devicetree/bindings/clock/qcom,gcc.yaml include/dt-bindings/clock/qcom,gcc-sm8250.h+272 -01 reply
6/7clk: qcom: gcc: Add global clock controller driver for SM8250drivers/clk/qcom/Kconfig drivers/clk/qcom/Makefile drivers/clk/qcom/gcc-sm8250.c+3728 -02 replies
7/7arm64: dts: qcom: sm8250: Add sm8250 dts filearch/arm64/boot/dts/qcom/Makefile arch/arm64/boot/dts/qcom/sm8250-mtp.dts arch/arm64/boot/dts/qcom/sm8250.dtsi+480 -03 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchRob HerringVinod KoulBjorn Andersson
SeriesT-b T-b
1/7A-b R-b R-b
2/7R-b R-b
3/7R-b R-b
4/7R-b
5/7A-b R-b
6/7R-b
7/7R-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 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/7] Add device tree and clock drivers for SM8250 SoC

This series adds device tree support and clock drivers support for SM8250 SoC.
As part of the device tree, the sm8250 dts file has basic nodes like CPU, PSCI, intc, timer and clock controller.

Required clock controller driver and RPMH cloks are added to support peripherals like USB.

All this configuration is added to support SM8250 to boot up to the serial console.

V2:
* Addressed comments on patch 2, kept new compatible in sorted order and fixed the additional spaces.
* Addressed comments on patch 7, fixed the clk-cells of "sleep_clk" and updated name of the scm node.
* Added reviewed-by/Acked-by tags.

Whole series:

This patchset depends on one of the RPMH clock driver fix
https://patchwork.kernel.org/patch/11318949/

Taniya Das (6):
dt-bindings: clock: Add RPMHCC bindings for SM8250
clk: qcom: rpmh: Add support for RPMH clocks on SM8250
clk: qcom: clk-alpha-pll: Refactor and cleanup trion PLL
clk: qcom: clk-alpha-pll: Add support for controlling Lucid PLLs
dt-bindings: clock: Add SM8250 GCC clock bindings
clk: qcom: gcc: Add global clock controller driver for SM8250

Venkata Narendra Kumar Gutta (1):
arm64: dts: qcom: sm8250: Add sm8250 dts file

 .../devicetree/bindings/clock/qcom,gcc.yaml        |    1 +
 .../devicetree/bindings/clock/qcom,rpmhcc.yaml     |    1 +
 arch/arm64/boot/dts/qcom/Makefile                  |    1 +
 arch/arm64/boot/dts/qcom/sm8250-mtp.dts            |   29 +
 arch/arm64/boot/dts/qcom/sm8250.dtsi               |  450 +++
 drivers/clk/qcom/Kconfig                           |    7 +
 drivers/clk/qcom/Makefile                          |    1 +
 drivers/clk/qcom/clk-alpha-pll.c                   |  259 +-
 drivers/clk/qcom/clk-alpha-pll.h                   |   12 +
 drivers/clk/qcom/clk-rpmh.c                        |   25 +-
 drivers/clk/qcom/gcc-sm8250.c                      | 3720 ++++++++++++++++++++
 include/dt-bindings/clock/qcom,gcc-sm8250.h        |  271 ++
 include/dt-bindings/clock/qcom,rpmh.h              |    4 +-
 13 files changed, 4731 insertions(+), 50 deletions(-)
 create mode 100644 arch/arm64/boot/dts/qcom/sm8250-mtp.dts
 create mode 100644 arch/arm64/boot/dts/qcom/sm8250.dtsi
 create mode 100644 drivers/clk/qcom/gcc-sm8250.c
 create mode 100644 include/dt-bindings/clock/qcom,gcc-sm8250.h
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project