From: Romain Perier <romain.perier@gmail.com>
To: Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
linux-clk@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>,
Daniel Palmer <daniel@0x0f.com>,
Romain Perier <romain.perier@gmail.com>,
Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Rob Herring <robh@kernel.org>
Subject: [PATCH v3 1/9] dt-bindings: clk: mstar msc313 cpupll binding description
Date: Fri, 21 Jan 2022 20:35:36 +0100 [thread overview]
Message-ID: <20220121193544.23231-2-romain.perier@gmail.com> (raw)
In-Reply-To: <20220121193544.23231-1-romain.perier@gmail.com>
From: Daniel Palmer <daniel@0x0f.com>
Add a binding description for the MStar/SigmaStar CPU PLL block.
Signed-off-by: Daniel Palmer <daniel@0x0f.com>
Reviewed-by: Rob Herring <robh@kernel.org>
---
.../bindings/clock/mstar,msc313-cpupll.yaml | 45 +++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock/mstar,msc313-cpupll.yaml
diff --git a/Documentation/devicetree/bindings/clock/mstar,msc313-cpupll.yaml b/Documentation/devicetree/bindings/clock/mstar,msc313-cpupll.yaml
new file mode 100644
index 000000000000..a9ad7ab5230c
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/mstar,msc313-cpupll.yaml
@@ -0,0 +1,45 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/mstar,msc313-cpupll.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MStar/Sigmastar MSC313 CPU PLL
+
+maintainers:
+ - Daniel Palmer <daniel@thingy.jp>
+
+description: |
+ The MStar/SigmaStar MSC313 and later ARMv7 chips have a scalable
+ PLL that can be used as the clock source for the CPU(s).
+
+properties:
+ compatible:
+ const: mstar,msc313-cpupll
+
+ "#clock-cells":
+ const: 1
+
+ clocks:
+ maxItems: 1
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - "#clock-cells"
+ - clocks
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/clock/mstar-msc313-mpll.h>
+ cpupll: cpupll@206400 {
+ compatible = "mstar,msc313-cpupll";
+ reg = <0x206400 0x200>;
+ #clock-cells = <1>;
+ clocks = <&mpll MSTAR_MSC313_MPLL_DIV2>;
+ };
--
2.34.1
next prev parent reply other threads:[~2022-01-21 19:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-21 19:35 [PATCH v3 0/9] ARM: mstar: cpupll Romain Perier
2022-01-21 19:35 ` Romain Perier [this message]
2022-01-21 19:35 ` [PATCH v3 2/9] clk: mstar: msc313 cpupll clk driver Romain Perier
2022-01-21 19:35 ` [PATCH v3 3/9] ARM: mstar: Add cpupll to base dtsi Romain Perier
2022-01-23 5:10 ` Daniel Palmer
2022-01-21 19:35 ` [PATCH v3 4/9] ARM: mstar: Link cpupll to cpu Romain Perier
2022-01-21 19:35 ` [PATCH v3 5/9] ARM: mstar: Link cpupll to second core Romain Perier
2022-01-21 19:35 ` [PATCH v3 6/9] ARM: mstar: Add OPP table for infinity Romain Perier
2022-01-21 19:35 ` [PATCH v3 7/9] ARM: mstar: Add OPP table for infinity3 Romain Perier
2022-01-21 19:35 ` [PATCH v3 8/9] ARM: mstar: Add OPP table for mercury5 Romain Perier
2022-01-23 5:12 ` Daniel Palmer
2022-01-21 19:35 ` [PATCH v3 9/9] ARM: mstar: Extend opp_table for infinity2m Romain Perier
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=20220121193544.23231-2-romain.perier@gmail.com \
--to=romain.perier@gmail.com \
--cc=arnd@arndb.de \
--cc=daniel@0x0f.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=robh+dt@kernel.org \
--cc=robh@kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).