linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Add GCC for SM4250/6115
@ 2021-08-01 10:34 Iskren Chernev
  2021-08-01 10:34 ` [PATCH v3 1/2] dt-bindings: clk: qcom: gcc-sm6115: Document SM6115 GCC Iskren Chernev
  2021-08-01 10:34 ` [PATCH v3 2/2] clk: qcom: Add Global Clock controller (GCC) driver for SM6115 Iskren Chernev
  0 siblings, 2 replies; 7+ messages in thread
From: Iskren Chernev @ 2021-08-01 10:34 UTC (permalink / raw)
  To: Bjorn Andersson, Stephen Boyd
  Cc: Andy Gross, Michael Turquette, Rob Herring, devicetree,
	linux-arm-msm, linux-clk, linux-kernel, phone-devel,
	~postmarketos/upstreaming, Iskren Chernev

This patch adds support for the Global Clock Controller on QCom SM4250 and
SM6115, codename bengal. The code is taken from OnePlus repo [1]. The two
platforms are identical so there is only one compat string.

[1]: https://github.com/OnePlusOSS/android_kernel_oneplus_sm4250

v1: https://lkml.org/lkml/2021/6/22/1131
v2: https://lkml.org/lkml/2021/6/27/157

Changes from v2:
- Suggested by Stephen Boyd
  - switch to parent_data in place of parent_names
- other
  - drop parent refs to invalid clocks
  - use pll-alpha regs when possible
  - drop unused parent defs
  - add pll test clock to bindings

Changes from v1:
- remove sm4250 compat, there will be a single sm6115.dtsi for both platforms

Iskren Chernev (2):
  dt-bindings: clk: qcom: gcc-sm6115: Document SM6115 GCC
  clk: qcom: Add Global Clock controller (GCC) driver for SM6115

 .../bindings/clock/qcom,gcc-sm6115.yaml       |   74 +
 drivers/clk/qcom/Kconfig                      |    7 +
 drivers/clk/qcom/Makefile                     |    1 +
 drivers/clk/qcom/gcc-sm6115.c                 | 3582 +++++++++++++++++
 include/dt-bindings/clock/qcom,gcc-sm6115.h   |  201 +
 5 files changed, 3865 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/qcom,gcc-sm6115.yaml
 create mode 100644 drivers/clk/qcom/gcc-sm6115.c
 create mode 100644 include/dt-bindings/clock/qcom,gcc-sm6115.h


base-commit: 8d4b477da1a807199ca60e0829357ce7aa6758d5
-- 
2.32.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-08-02 22:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-01 10:34 [PATCH v3 0/2] Add GCC for SM4250/6115 Iskren Chernev
2021-08-01 10:34 ` [PATCH v3 1/2] dt-bindings: clk: qcom: gcc-sm6115: Document SM6115 GCC Iskren Chernev
2021-08-02 13:39   ` Rob Herring
2021-08-02 22:21   ` Stephen Boyd
2021-08-01 10:34 ` [PATCH v3 2/2] clk: qcom: Add Global Clock controller (GCC) driver for SM6115 Iskren Chernev
2021-08-01 16:20   ` Konrad Dybcio
2021-08-02 22:23     ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).