devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] clk: Add basic register clock controller
@ 2023-04-16 19:46 David Yang
  2023-04-16 19:46 ` [PATCH v3 1/4] dt-bindings: clock: Add simple-clock-controller David Yang
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: David Yang @ 2023-04-16 19:46 UTC (permalink / raw)
  To: linux-clk
  Cc: David Yang, Michael Turquette, Stephen Boyd, Rob Herring,
	Krzysztof Kozlowski, Philipp Zabel, devicetree, linux-kernel

These clocks were provided in `include/linux/clk-provider.h`, but lacks DT
bindings. Add DT bindings for them.

v2: split clock controller and its clocks
v3:
  * rewrite commit message
  * rewrite descriptions in dt-bindings to describe the devices
  * fix format error of dt-bindings

Links:
v1: https://lore.kernel.org/r/20230414181302.986271-1-mmyangfl@gmail.com
v2: https://lore.kernel.org/r/20230416173302.1185683-1-mmyangfl@gmail.com

David Yang (4):
  dt-bindings: clock: Add simple-clock-controller
  clk: Add simple clock controller
  dt-bindings: clock: Add gate-clock
  clk: gate: Add DT binding

 .../devicetree/bindings/clock/gate-clock.yaml |  59 ++++
 .../clock/simple-clock-controller.yaml        |  39 +++
 drivers/clk/Makefile                          |   1 +
 drivers/clk/clk-gate.c                        |  81 +++++
 drivers/clk/clk-of.c                          | 292 ++++++++++++++++++
 drivers/clk/clk-of.h                          |  26 ++
 6 files changed, 498 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/gate-clock.yaml
 create mode 100644 Documentation/devicetree/bindings/clock/simple-clock-controller.yaml
 create mode 100644 drivers/clk/clk-of.c
 create mode 100644 drivers/clk/clk-of.h


base-commit: 7a934f4bd7d6f9da84c8812da3ba42ee10f5778e
-- 
2.39.2


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

end of thread, other threads:[~2023-04-18 22:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-16 19:46 [PATCH v3 0/4] clk: Add basic register clock controller David Yang
2023-04-16 19:46 ` [PATCH v3 1/4] dt-bindings: clock: Add simple-clock-controller David Yang
2023-04-17  6:28   ` Krzysztof Kozlowski
2023-04-17  6:30   ` Krzysztof Kozlowski
2023-04-16 19:46 ` [PATCH v3 2/4] clk: Add simple clock controller David Yang
2023-04-18 19:12   ` kernel test robot
2023-04-16 19:46 ` [PATCH v3 3/4] dt-bindings: clock: Add gate-clock David Yang
2023-04-18  0:12   ` Stephen Boyd
2023-04-16 19:46 ` [PATCH v3 4/4] clk: gate: Add DT binding David Yang
2023-04-17  6:27 ` [PATCH v3 0/4] clk: Add basic register clock controller Krzysztof Kozlowski
2023-04-17 18:16   ` Yangfl
2023-04-18 22:29     ` Rob Herring

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