public inbox for linux-clk@vger.kernel.org
 help / color / mirror / Atom feed
From: Daniel Palmer <daniel@0x0f.com>
To: linux-clk@vger.kernel.org, sboyd@kernel.org, devicetree@vger.kernel.org
Cc: w@1wt.eu, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Daniel Palmer <daniel@0x0f.com>
Subject: [PATCH v2 2/7] dt-bindings: clk: mstar msc313 mpll binding description
Date: Thu, 11 Feb 2021 14:22:01 +0900	[thread overview]
Message-ID: <20210211052206.2955988-3-daniel@0x0f.com> (raw)
In-Reply-To: <20210211052206.2955988-1-daniel@0x0f.com>

Add a binding description for the MStar/SigmaStar MPLL clock block.

Signed-off-by: Daniel Palmer <daniel@0x0f.com>
---
 .../bindings/clock/mstar,msc313-mpll.yaml     | 46 +++++++++++++++++++
 MAINTAINERS                                   |  1 +
 2 files changed, 47 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/mstar,msc313-mpll.yaml

diff --git a/Documentation/devicetree/bindings/clock/mstar,msc313-mpll.yaml b/Documentation/devicetree/bindings/clock/mstar,msc313-mpll.yaml
new file mode 100644
index 000000000000..0df5d75d4ebc
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/mstar,msc313-mpll.yaml
@@ -0,0 +1,46 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/mstar,msc313-mpll.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MStar/Sigmastar MSC313 MPLL
+
+maintainers:
+  - Daniel Palmer <daniel@thingy.jp>
+
+description: |
+  The MStar/SigmaStar MSC313 and later ARMv7 chips have an MPLL block that
+  takes the external xtal input and multiplies it to create a high
+  frequency clock and divides that down into a number of clocks that
+  peripherals use.
+
+properties:
+  compatible:
+    const: mstar,msc313-mpll
+
+  "#clock-cells":
+    const: 1
+
+  clocks:
+    maxItems: 1
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - "#clock-cells"
+  - clocks
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    mpll@206000 {
+        compatible = "mstar,msc313-mpll";
+        reg = <0x206000 0x200>;
+        #clock-cells = <1>;
+        clocks = <&xtal>;
+    };
diff --git a/MAINTAINERS b/MAINTAINERS
index 0622ff96ca2a..d004436c8860 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2145,6 +2145,7 @@ L:	linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
 S:	Maintained
 W:	http://linux-chenxing.org/
 F:	Documentation/devicetree/bindings/arm/mstar/*
+F:	Documentation/devicetree/bindings/clock/mstar,msc313-mpll.yaml
 F:	Documentation/devicetree/bindings/gpio/mstar,msc313-gpio.yaml
 F:	arch/arm/boot/dts/mstar-*
 F:	arch/arm/mach-mstar/
-- 
2.30.0.rc2


  parent reply	other threads:[~2021-02-11  5:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-11  5:21 [PATCH v2 0/7] ARM: mstar: Basic MPLL support Daniel Palmer
2021-02-11  5:22 ` [PATCH v2 1/7] dt-bindings: clk: mstar msc313 mpll binding header Daniel Palmer
2021-02-14 20:31   ` Stephen Boyd
2021-02-11  5:22 ` Daniel Palmer [this message]
2021-02-14 20:31   ` [PATCH v2 2/7] dt-bindings: clk: mstar msc313 mpll binding description Stephen Boyd
2021-02-11  5:22 ` [PATCH v2 3/7] clk: fixed: add devm helper for clk_hw_register_fixed_factor() Daniel Palmer
2021-02-14 20:32   ` Stephen Boyd
2021-02-11  5:22 ` [PATCH v2 4/7] clk: mstar: MStar/SigmaStar MPLL driver Daniel Palmer
2021-02-14 20:32   ` Stephen Boyd
2021-02-14 20:48   ` Stephen Boyd
2021-02-15 11:04     ` Daniel Palmer
2021-02-11  5:22 ` [PATCH v2 5/7] ARM: mstar: Select MSTAR_MSC313_MPLL Daniel Palmer
2021-02-11  5:22 ` [PATCH v2 6/7] ARM: mstar: Add the external clocks to the base dsti Daniel Palmer
2021-02-11  5:22 ` [PATCH v2 7/7] ARM: mstar: Add mpll to base dtsi Daniel Palmer
2021-02-23  1:44 ` [PATCH v2 0/7] ARM: mstar: Basic MPLL support Daniel Palmer
2021-02-23 19:56   ` Arnd Bergmann

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=20210211052206.2955988-3-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=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