~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/clock/imx8m-clock.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/clock/imx8m-clock.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: NXP i.MX8M Family Clock Control Module
  8 
  9 maintainers:
 10   - Abel Vesa <abelvesa@kernel.org>
 11   - Peng Fan <peng.fan@nxp.com>
 12 
 13 description: |
 14   NXP i.MX8M Mini/Nano/Plus/Quad clock control module is an integrated clock
 15   controller, which generates and supplies to all modules.
 16 
 17 properties:
 18   compatible:
 19     enum:
 20       - fsl,imx8mm-ccm
 21       - fsl,imx8mn-ccm
 22       - fsl,imx8mp-ccm
 23       - fsl,imx8mq-ccm
 24 
 25   reg:
 26     maxItems: 1
 27 
 28   interrupts:
 29     maxItems: 2
 30 
 31   clocks:
 32     minItems: 6
 33     maxItems: 7
 34 
 35   clock-names:
 36     minItems: 6
 37     maxItems: 7
 38 
 39   '#clock-cells':
 40     const: 1
 41     description:
 42       The clock consumer should specify the desired clock by having the clock
 43       ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx8m-clock.h
 44       for the full list of i.MX8M clock IDs.
 45 
 46 required:
 47   - compatible
 48   - reg
 49   - clocks
 50   - clock-names
 51   - '#clock-cells'
 52 
 53 allOf:
 54   - if:
 55       properties:
 56         compatible:
 57           contains:
 58             const: fsl,imx8mq-ccm
 59     then:
 60       properties:
 61         clocks:
 62           items:
 63             - description: 32k osc
 64             - description: 25m osc
 65             - description: 27m osc
 66             - description: ext1 clock input
 67             - description: ext2 clock input
 68             - description: ext3 clock input
 69             - description: ext4 clock input
 70         clock-names:
 71           items:
 72             - const: ckil
 73             - const: osc_25m
 74             - const: osc_27m
 75             - const: clk_ext1
 76             - const: clk_ext2
 77             - const: clk_ext3
 78             - const: clk_ext4
 79     else:
 80       properties:
 81         clocks:
 82           items:
 83             - description: 32k osc
 84             - description: 24m osc
 85             - description: ext1 clock input
 86             - description: ext2 clock input
 87             - description: ext3 clock input
 88             - description: ext4 clock input
 89 
 90         clock-names:
 91           items:
 92             - const: osc_32k
 93             - const: osc_24m
 94             - const: clk_ext1
 95             - const: clk_ext2
 96             - const: clk_ext3
 97             - const: clk_ext4
 98 
 99 additionalProperties: false
100 
101 examples:
102   # Clock Control Module node:
103   - |
104     clock-controller@30380000 {
105         compatible = "fsl,imx8mm-ccm";
106         reg = <0x30380000 0x10000>;
107         #clock-cells = <1>;
108         clocks = <&osc_32k>, <&osc_24m>, <&clk_ext1>, <&clk_ext2>,
109                  <&clk_ext3>, <&clk_ext4>;
110         clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2",
111                       "clk_ext3", "clk_ext4";
112     };
113 
114   - |
115     clock-controller@30380000 {
116         compatible = "fsl,imx8mq-ccm";
117         reg = <0x30380000 0x10000>;
118         #clock-cells = <1>;
119         clocks = <&ckil>, <&osc_25m>, <&osc_27m>, <&clk_ext1>,
120                  <&clk_ext2>, <&clk_ext3>, <&clk_ext4>;
121         clock-names = "ckil", "osc_25m", "osc_27m", "clk_ext1",
122                       "clk_ext2", "clk_ext3", "clk_ext4";
123     };
124 
125 ...

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php