devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jesse Taube <mr.bossman075@gmail.com>
To: linux-imx@nxp.com
Cc: robh+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org,
	shawnguo@kernel.org, s.hauer@pengutronix.de,
	kernel@pengutronix.de, festevam@gmail.com, aisheng.dong@nxp.com,
	stefan@agner.ch, linus.walleij@linaro.org,
	daniel.lezcano@linaro.org, tglx@linutronix.de, olof@lixom.net,
	linux@armlinux.org.uk, abel.vesa@nxp.com, dev@lynxeye.de,
	marcel.ziswiler@toradex.com, tharvey@gateworks.com,
	leoyang.li@nxp.com, sebastian.reichel@collabora.com,
	cniedermaier@dh-electronics.com, Mr.Bossman075@gmail.com,
	clin@suse.com, giulio.benetti@benettiengineering.com,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-gpio@vger.kernel.org
Subject: [PATCH v4 06/13] dt-bindings: clock: imx: Add documentation for i.MXRT1170 clock
Date: Sun, 26 Jun 2022 02:45:16 -0400	[thread overview]
Message-ID: <20220626064523.3683775-7-Mr.Bossman075@gmail.com> (raw)
In-Reply-To: <20220626064523.3683775-1-Mr.Bossman075@gmail.com>

Add DT binding documentation for i.MXRT1170 clock driver.

Cc: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com>
---
V1 -> V2:
 - Change title to Clock Controller
 - Rename to add fsl
V2 -> V3:
 - Remove unused include causing error
V3 -> V4:
 - Add fsl to schema id
---
 .../bindings/clock/fsl,imxrt1170-clock.yaml   | 57 +++++++++++++++++++
 1 file changed, 57 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/fsl,imxrt1170-clock.yaml

diff --git a/Documentation/devicetree/bindings/clock/fsl,imxrt1170-clock.yaml b/Documentation/devicetree/bindings/clock/fsl,imxrt1170-clock.yaml
new file mode 100644
index 000000000000..cb768b7ae6d4
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/fsl,imxrt1170-clock.yaml
@@ -0,0 +1,57 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/fsl,imxrt1170-clock.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Freescale i.MXRT1170 Clock Controller
+
+maintainers:
+  - Giulio Benetti <giulio.benetti@benettiengineering.com>
+  - Jesse Taube <Mr.Bossman075@gmail.com>
+
+description: |
+  The clock consumer should specify the desired clock by having the clock
+  ID in its "clocks" phandle cell. See include/dt-bindings/clock/imxrt*-clock.h
+  for the full list of i.MXRT clock IDs.
+
+properties:
+  compatible:
+    const: fsl,imxrt1170-ccm
+
+  reg:
+    maxItems: 1
+
+  clocks:
+    items:
+      - description: 32M ext osc
+      - description: 16M int rcosc
+      - description: 32k osc
+
+  clock-names:
+    items:
+      - const: osc
+      - const: rcosc16M
+      - const: osc32k
+
+  '#clock-cells':
+    const: 1
+
+required:
+  - compatible
+  - reg
+  - clocks
+  - clock-names
+  - '#clock-cells'
+
+additionalProperties: false
+
+examples:
+  - |
+    clks: clock-controller@40cc0000 {
+        compatible = "fsl,imxrt1170-ccm";
+        reg = <0x40cc0000 0x4000>;
+        clocks = <&osc>, <&rcosc16M>, <&osc32k>;
+        clock-names = "osc", "rcosc16M", "osc32k";
+        #clock-cells = <1>;
+    };
-- 
2.36.1


  parent reply	other threads:[~2022-06-26  6:45 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-26  6:45 [PATCH v4 00/13] [PATCH v3 00/15] Add support for the i.MXRT1170-evk Jesse Taube
2022-06-26  6:45 ` [PATCH v4 01/13] dt-bindings: arm: imx: Add i.MXRT compatible Documentation Jesse Taube
2022-06-26  6:45 ` [PATCH v4 02/13] dt-bindings: timer: gpt: " Jesse Taube
2022-06-26  6:45 ` [PATCH v4 03/13] dt-bindings: gpio: fsl-imx-gpio: Add i.MXRT compatibles Jesse Taube
2022-06-26  6:45 ` [PATCH v4 04/13] dt-bindings: mmc: fsl-imx-esdhc: add i.MXRT1170 compatible Jesse Taube
2022-06-26  6:45 ` [PATCH v4 05/13] dt-bindings: serial: fsl-lpuart: " Jesse Taube
2022-06-26  6:45 ` Jesse Taube [this message]
2022-06-30 23:13   ` [PATCH v4 06/13] dt-bindings: clock: imx: Add documentation for i.MXRT1170 clock Rob Herring
2022-06-26  6:45 ` [PATCH v4 07/13] ARM: mach-imx: Add support for i.MXRT1170 Jesse Taube
2022-06-26  6:45 ` [PATCH v4 08/13] clk: imx: Update pllv3 to support i.MXRT1170 Jesse Taube
2022-06-27 13:32   ` Abel Vesa
2022-06-27 16:11     ` Jesse Taube
2022-06-28  7:40       ` Abel Vesa
2022-06-26  6:45 ` [PATCH v4 09/13] dt-bindings: imx: Add clock binding for i.MXRT1170 Jesse Taube
2022-06-26  6:45 ` [PATCH v4 10/13] clk: imx: Add initial support for i.MXRT1170 clock driver Jesse Taube
2022-06-26  6:45 ` [PATCH v4 11/13] ARM: dts: imxrt1170-pinfunc: Add pinctrl binding header Jesse Taube
2022-06-26  6:45 ` [PATCH v4 12/13] ARM: dts: imx: Add i.MXRT1170-EVK support Jesse Taube
2022-06-26  6:45 ` [PATCH v4 13/13] ARM: imxrt_defconfig: Add i.MXRT1170 Jesse Taube

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=20220626064523.3683775-7-Mr.Bossman075@gmail.com \
    --to=mr.bossman075@gmail.com \
    --cc=abel.vesa@nxp.com \
    --cc=aisheng.dong@nxp.com \
    --cc=clin@suse.com \
    --cc=cniedermaier@dh-electronics.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=dev@lynxeye.de \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=giulio.benetti@benettiengineering.com \
    --cc=kernel@pengutronix.de \
    --cc=leoyang.li@nxp.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=marcel.ziswiler@toradex.com \
    --cc=mturquette@baylibre.com \
    --cc=olof@lixom.net \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=sboyd@kernel.org \
    --cc=sebastian.reichel@collabora.com \
    --cc=shawnguo@kernel.org \
    --cc=stefan@agner.ch \
    --cc=tglx@linutronix.de \
    --cc=tharvey@gateworks.com \
    /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).