u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: Zhengxun <zhengxunli.mxic@gmail.com>
To: u-boot@lists.denx.de, michal.simek@xilinx.com, lukma@denx.de,
	sean.anderson@seco.com
Cc: zhengxunli@mxic.com.tw, zhengxunli.mxic@gmail.com
Subject: [PATCH v6 2/2] dt-bindings: add xilinx clocking wizard bindings
Date: Fri, 11 Jun 2021 15:10:49 +0000	[thread overview]
Message-ID: <20210611151049.13475-3-zhengxunli.mxic@gmail.com> (raw)
In-Reply-To: <20210611151049.13475-1-zhengxunli.mxic@gmail.com>

Add the devicetree binding for the xilinx clocking wizard.

Signed-off-by: Zhengxun <zhengxunli.mxic@gmail.com>
---
 .../clock/xlnx,clocking-wizard.txt            | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 doc/device-tree-bindings/clock/xlnx,clocking-wizard.txt

diff --git a/doc/device-tree-bindings/clock/xlnx,clocking-wizard.txt b/doc/device-tree-bindings/clock/xlnx,clocking-wizard.txt
new file mode 100644
index 0000000000..e0e73ec723
--- /dev/null
+++ b/doc/device-tree-bindings/clock/xlnx,clocking-wizard.txt
@@ -0,0 +1,43 @@
+Xilinx clocking wizard bindings
+
+description:
+  The clocking wizard is a soft ip clocking block of Xilinx versal. It
+  reads required input clock frequencies from the devicetree and acts as
+  clock output.
+
+properties:
+  compatible:
+    const: xlnx,clocking-wizard
+
+  reg:
+    maxItems: 1
+
+  "#clock-cells":
+    const: 1
+
+  clocks:
+    items:
+      - description: clock input
+
+  clock-names:
+    items:
+      - const: clk_in1
+
+required:
+  - compatible
+  - reg
+  - "#clock-cells"
+  - clocks
+  - clock-names
+
+additionalProperties: false
+
+examples:
+  - |
+    clkwizard@43c20000  {
+        compatible = "xlnx,clocking-wizard";
+        reg = <0x43c20000 0x10000>;
+        #clock-cells = <1>;
+        clock-names = "clk_in1";
+        clocks = <&clkc 18>;
+    };
-- 
2.17.1


  parent reply	other threads:[~2021-06-11  7:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-11 15:10 [PATCH v6 0/2] Add Xilinx clock wizard driver support Zhengxun
2021-06-11 15:10 ` [PATCH v6 1/2] clk: zynq: Add clock wizard driver Zhengxun
2021-06-11 15:09   ` Sean Anderson
2021-06-16 10:01   ` Michal Simek
2021-06-11 15:10 ` Zhengxun [this message]
2021-06-11 15:07   ` [PATCH v6 2/2] dt-bindings: add xilinx clocking wizard bindings Sean Anderson
2021-06-15 17:21     ` Zhengxun Li
2021-06-15 14:52       ` Sean Anderson
2021-06-16 15:26         ` Zhengxun Li
2021-06-16 10:04           ` Michal Simek
2021-06-17 11:12             ` Zhengxun Li

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=20210611151049.13475-3-zhengxunli.mxic@gmail.com \
    --to=zhengxunli.mxic@gmail.com \
    --cc=lukma@denx.de \
    --cc=michal.simek@xilinx.com \
    --cc=sean.anderson@seco.com \
    --cc=u-boot@lists.denx.de \
    --cc=zhengxunli@mxic.com.tw \
    /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).