devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] clk: qcom: Add clocks for MSM8909
@ 2022-07-04 13:29 Stephan Gerhold
  2022-07-04 13:29 ` [PATCH 1/6] dt-bindings: clock: Add schema for MSM8909 GCC Stephan Gerhold
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Stephan Gerhold @ 2022-07-04 13:29 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: Andy Gross, Konrad Dybcio, Michael Turquette, Stephen Boyd,
	Rob Herring, Krzysztof Kozlowski, Philipp Zabel, Stephan Gerhold,
	linux-arm-msm, linux-clk, devicetree, Dominik Kobinski,
	Stephan Gerhold

Add a driver for the Global Clock Controller (GCC) that provides clocks,
resets and power domains for the various hardware blocks in the MSM8909
SoC. Make it possible to have longer delay between assertion/deassertion
of particular reset signals (this is needed for the USB PHY on MSM8909).
Finally, add the necessary definitions for the clocks controlled by the
RPM firmware on MSM8909.

The patch set is fairly large but most of it is just boring clock
definitions in the GCC driver. And compared to newer SoCs like SC8280XP
with 7k+ lines in the GCC driver this is still fairly small. :-)

Stephan Gerhold (6):
  dt-bindings: clock: Add schema for MSM8909 GCC
  clk: qcom: Add driver for MSM8909 GCC
  clk: qcom: reset: Allow specifying custom reset delay
  clk: qcom: gcc-msm8909: Increase delay for USB PHY reset
  dt-bindings: clock: qcom,rpmcc: Add MSM8909
  clk: qcom: smd-rpm: Add clocks for MSM8909

 .../bindings/clock/qcom,gcc-msm8909.yaml      |   56 +
 .../devicetree/bindings/clock/qcom,rpmcc.yaml |    1 +
 drivers/clk/qcom/Kconfig                      |    8 +
 drivers/clk/qcom/Makefile                     |    1 +
 drivers/clk/qcom/clk-smd-rpm.c                |   37 +-
 drivers/clk/qcom/gcc-msm8909.c                | 2731 +++++++++++++++++
 drivers/clk/qcom/reset.c                      |    4 +-
 drivers/clk/qcom/reset.h                      |    1 +
 include/dt-bindings/clock/qcom,gcc-msm8909.h  |  218 ++
 9 files changed, 3055 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/qcom,gcc-msm8909.yaml
 create mode 100644 drivers/clk/qcom/gcc-msm8909.c
 create mode 100644 include/dt-bindings/clock/qcom,gcc-msm8909.h

-- 
2.30.2


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

end of thread, other threads:[~2022-07-04 17:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-04 13:29 [PATCH 0/6] clk: qcom: Add clocks for MSM8909 Stephan Gerhold
2022-07-04 13:29 ` [PATCH 1/6] dt-bindings: clock: Add schema for MSM8909 GCC Stephan Gerhold
2022-07-04 14:04   ` Krzysztof Kozlowski
2022-07-04 13:29 ` [PATCH 2/6] clk: qcom: Add driver " Stephan Gerhold
2022-07-04 17:38   ` Konrad Dybcio
2022-07-04 13:29 ` [PATCH 3/6] clk: qcom: reset: Allow specifying custom reset delay Stephan Gerhold
2022-07-04 13:29 ` [PATCH 4/6] clk: qcom: gcc-msm8909: Increase delay for USB PHY reset Stephan Gerhold
2022-07-04 13:29 ` [PATCH 5/6] dt-bindings: clock: qcom,rpmcc: Add MSM8909 Stephan Gerhold
2022-07-04 14:06   ` Krzysztof Kozlowski
2022-07-04 13:30 ` [PATCH 6/6] clk: qcom: smd-rpm: Add clocks for MSM8909 Stephan Gerhold

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).