From: Daniel Palmer <daniel@0x0f.com>
To: devicetree@vger.kernel.org, linux-clk@vger.kernel.org,
soc@kernel.org, sboyd@kernel.org
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, w@1wt.eu,
Daniel Palmer <daniel@0x0f.com>
Subject: [PATCH 1/8] dt-bindings: clk: mstar msc313 cpupll binding description
Date: Tue, 23 Feb 2021 15:18:23 +0900 [thread overview]
Message-ID: <20210223061830.1913700-2-daniel@0x0f.com> (raw)
In-Reply-To: <20210223061830.1913700-1-daniel@0x0f.com>
Add a binding description for the MStar/SigmaStar CPU PLL block.
Signed-off-by: Daniel Palmer <daniel@0x0f.com>
---
.../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.30.0.rc2
next prev parent reply other threads:[~2021-02-23 6:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-23 6:18 [PATCH 0/8] ARM: mstar: cpupll Daniel Palmer
2021-02-23 6:18 ` Daniel Palmer [this message]
2021-02-23 19:34 ` [PATCH 1/8] dt-bindings: clk: mstar msc313 cpupll binding description Rob Herring
2021-02-26 11:31 ` Daniel Palmer
2021-04-01 11:03 ` Arnd Bergmann
2021-04-01 11:07 ` Daniel Palmer
2021-02-23 6:18 ` [PATCH 2/8] clk: mstar: msc313 cpupll clk driver Daniel Palmer
2021-02-23 6:18 ` [PATCH 3/8] ARM: mstar: Add cpupll to base dtsi Daniel Palmer
2021-02-23 6:18 ` [PATCH 4/8] ARM: mstar: Link cpupll to cpu Daniel Palmer
2021-02-23 6:18 ` [PATCH 5/8] ARM: mstar: Link cpupll to second core Daniel Palmer
2021-02-23 6:18 ` [PATCH 6/8] ARM: mstar: Add OPP table for infinity Daniel Palmer
2021-02-23 6:18 ` [PATCH 7/8] ARM: mstar: Add OPP table for infinity3 Daniel Palmer
2021-02-23 6:18 ` [PATCH 8/8] ARM: mstar: Add OPP table for mercury5 Daniel Palmer
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=20210223061830.1913700-2-daniel@0x0f.com \
--to=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=sboyd@kernel.org \
--cc=soc@kernel.org \
--cc=w@1wt.eu \
/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