From: David Yang <mmyangfl@gmail.com>
To: linux-clk@vger.kernel.org
Cc: devicetree@vger.kernel.org, David Yang <mmyangfl@gmail.com>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
Philipp Zabel <p.zabel@pengutronix.de>,
linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/4] clk: Add basic register clock controller
Date: Mon, 17 Apr 2023 01:32:56 +0800 [thread overview]
Message-ID: <20230416173302.1185683-1-mmyangfl@gmail.com> (raw)
These clocks were provided in `include/linux/clk-provider.h`, but lacks DT
bindings. Add a clock controller to avoid operation conflict on same
register.
v2: split clock controller and its clocks
Links:
v1: https://lore.kernel.org/r/20230414181302.986271-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 | 58 ++++
.../clock/simple-clock-controller.yaml | 50 +++
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, 508 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
next reply other threads:[~2023-04-16 17:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-16 17:32 David Yang [this message]
2023-04-16 17:32 ` [PATCH v2 1/4] dt-bindings: clock: Add simple-clock-controller David Yang
2023-04-16 17:38 ` Krzysztof Kozlowski
2023-04-16 18:22 ` Yangfl
2023-04-16 18:27 ` Krzysztof Kozlowski
2023-04-17 18:08 ` Yangfl
2023-04-16 17:32 ` [PATCH v2 2/4] clk: Add simple clock controller David Yang
2023-04-16 17:33 ` [PATCH v2 3/4] dt-bindings: clock: Add gate-clock David Yang
2023-04-16 17:41 ` Krzysztof Kozlowski
2023-04-16 18:28 ` Yangfl
2023-04-16 18:31 ` Krzysztof Kozlowski
2023-04-16 17:33 ` [PATCH v2 4/4] clk: gate: Add DT binding David Yang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230416173302.1185683-1-mmyangfl@gmail.com \
--to=mmyangfl@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=p.zabel@pengutronix.de \
--cc=sboyd@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox