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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/clock/renesas,cpg-clocks.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 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/clock/renesas,cpg-clocks.yaml (Architecture i386) and /Documentation/devicetree/bindings/clock/renesas,cpg-clocks.yaml (Architecture sparc)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/clock/renes      4 $id: http://devicetree.org/schemas/clock/renesas,cpg-clocks.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Renesas Clock Pulse Generator (CPG)          7 title: Renesas Clock Pulse Generator (CPG)
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Geert Uytterhoeven <geert+renesas@glider.be     10   - Geert Uytterhoeven <geert+renesas@glider.be>
 11                                                    11 
 12 description:                                       12 description:
 13   The Clock Pulse Generator (CPG) generates co     13   The Clock Pulse Generator (CPG) generates core clocks for the SoC.  It
 14   includes PLLs, and fixed and variable ratio      14   includes PLLs, and fixed and variable ratio dividers.
 15                                                    15 
 16   The CPG may also provide a Clock Domain for      16   The CPG may also provide a Clock Domain for SoC devices, in combination with
 17   the CPG Module Stop (MSTP) Clocks.               17   the CPG Module Stop (MSTP) Clocks.
 18                                                    18 
 19 properties:                                        19 properties:
 20   compatible:                                      20   compatible:
 21     oneOf:                                         21     oneOf:
 22       - const: renesas,r8a73a4-cpg-clocks          22       - const: renesas,r8a73a4-cpg-clocks     # R-Mobile APE6
 23       - const: renesas,r8a7740-cpg-clocks          23       - const: renesas,r8a7740-cpg-clocks     # R-Mobile A1
 24       - const: renesas,r8a7778-cpg-clocks          24       - const: renesas,r8a7778-cpg-clocks     # R-Car M1
 25       - const: renesas,r8a7779-cpg-clocks          25       - const: renesas,r8a7779-cpg-clocks     # R-Car H1
 26       - items:                                     26       - items:
 27           - enum:                                  27           - enum:
 28               - renesas,r7s72100-cpg-clocks        28               - renesas,r7s72100-cpg-clocks   # RZ/A1H
 29           - const: renesas,rz-cpg-clocks           29           - const: renesas,rz-cpg-clocks      # RZ/A1
 30       - const: renesas,sh73a0-cpg-clocks           30       - const: renesas,sh73a0-cpg-clocks      # SH-Mobile AG5
 31                                                    31 
 32   reg:                                             32   reg:
 33     maxItems: 1                                    33     maxItems: 1
 34                                                    34 
 35   clocks:                                          35   clocks:
 36     minItems: 1                                    36     minItems: 1
 37     maxItems: 3                                    37     maxItems: 3
 38                                                    38 
 39   '#clock-cells':                                  39   '#clock-cells':
 40     const: 1                                       40     const: 1
 41                                                    41 
 42   clock-output-names:                              42   clock-output-names:
 43     minItems: 3                                    43     minItems: 3
 44     maxItems: 17                                   44     maxItems: 17
 45                                                    45 
 46   renesas,mode:                                    46   renesas,mode:
 47     description: Board-specific settings of th     47     description: Board-specific settings of the MD_CK* bits on R-Mobile A1
 48     $ref: /schemas/types.yaml#/definitions/uin     48     $ref: /schemas/types.yaml#/definitions/uint32
 49     minimum: 0                                     49     minimum: 0
 50     maximum: 7                                     50     maximum: 7
 51                                                    51 
 52   '#power-domain-cells':                           52   '#power-domain-cells':
 53     const: 0                                       53     const: 0
 54                                                    54 
 55 required:                                          55 required:
 56   - compatible                                     56   - compatible
 57   - reg                                            57   - reg
 58   - clocks                                         58   - clocks
 59   - '#clock-cells'                                 59   - '#clock-cells'
 60   - clock-output-names                             60   - clock-output-names
 61                                                    61 
 62 allOf:                                             62 allOf:
 63   - if:                                            63   - if:
 64       properties:                                  64       properties:
 65         compatible:                                65         compatible:
 66           contains:                                66           contains:
 67             const: renesas,r8a73a4-cpg-clocks      67             const: renesas,r8a73a4-cpg-clocks
 68     then:                                          68     then:
 69       properties:                                  69       properties:
 70         clocks:                                    70         clocks:
 71           items:                                   71           items:
 72             - description: extal1                  72             - description: extal1
 73             - description: extal2                  73             - description: extal2
 74                                                    74 
 75         clock-output-names:                        75         clock-output-names:
 76           items:                                   76           items:
 77             - const: main                          77             - const: main
 78             - const: pll0                          78             - const: pll0
 79             - const: pll1                          79             - const: pll1
 80             - const: pll2                          80             - const: pll2
 81             - const: pll2s                         81             - const: pll2s
 82             - const: pll2h                         82             - const: pll2h
 83             - const: z                             83             - const: z
 84             - const: z2                            84             - const: z2
 85             - const: i                             85             - const: i
 86             - const: m3                            86             - const: m3
 87             - const: b                             87             - const: b
 88             - const: m1                            88             - const: m1
 89             - const: m2                            89             - const: m2
 90             - const: zx                            90             - const: zx
 91             - const: zs                            91             - const: zs
 92             - const: hp                            92             - const: hp
 93                                                    93 
 94   - if:                                            94   - if:
 95       properties:                                  95       properties:
 96         compatible:                                96         compatible:
 97           contains:                                97           contains:
 98             const: renesas,r8a7740-cpg-clocks      98             const: renesas,r8a7740-cpg-clocks
 99     then:                                          99     then:
100       properties:                                 100       properties:
101         clocks:                                   101         clocks:
102           items:                                  102           items:
103             - description: extal1                 103             - description: extal1
104             - description: extal2                 104             - description: extal2
105             - description: extalr                 105             - description: extalr
106                                                   106 
107         clock-output-names:                       107         clock-output-names:
108           items:                                  108           items:
109             - const: system                       109             - const: system
110             - const: pllc0                        110             - const: pllc0
111             - const: pllc1                        111             - const: pllc1
112             - const: pllc2                        112             - const: pllc2
113             - const: r                            113             - const: r
114             - const: usb24s                       114             - const: usb24s
115             - const: i                            115             - const: i
116             - const: zg                           116             - const: zg
117             - const: b                            117             - const: b
118             - const: m1                           118             - const: m1
119             - const: hp                           119             - const: hp
120             - const: hpp                          120             - const: hpp
121             - const: usbp                         121             - const: usbp
122             - const: s                            122             - const: s
123             - const: zb                           123             - const: zb
124             - const: m3                           124             - const: m3
125             - const: cp                           125             - const: cp
126                                                   126 
127       required:                                   127       required:
128         - renesas,mode                            128         - renesas,mode
129                                                   129 
130   - if:                                           130   - if:
131       properties:                                 131       properties:
132         compatible:                               132         compatible:
133           contains:                               133           contains:
134             const: renesas,r8a7778-cpg-clocks     134             const: renesas,r8a7778-cpg-clocks
135     then:                                         135     then:
136       properties:                                 136       properties:
137         clocks:                                   137         clocks:
138           maxItems: 1                             138           maxItems: 1
139                                                   139 
140         clock-output-names:                       140         clock-output-names:
141           items:                                  141           items:
142             - const: plla                         142             - const: plla
143             - const: pllb                         143             - const: pllb
144             - const: b                            144             - const: b
145             - const: out                          145             - const: out
146             - const: p                            146             - const: p
147             - const: s                            147             - const: s
148             - const: s1                           148             - const: s1
149                                                   149 
150   - if:                                           150   - if:
151       properties:                                 151       properties:
152         compatible:                               152         compatible:
153           contains:                               153           contains:
154             const: renesas,r8a7779-cpg-clocks     154             const: renesas,r8a7779-cpg-clocks
155     then:                                         155     then:
156       properties:                                 156       properties:
157         clocks:                                   157         clocks:
158           maxItems: 1                             158           maxItems: 1
159                                                   159 
160         clock-output-names:                       160         clock-output-names:
161           items:                                  161           items:
162             - const: plla                         162             - const: plla
163             - const: z                            163             - const: z
164             - const: zs                           164             - const: zs
165             - const: s                            165             - const: s
166             - const: s1                           166             - const: s1
167             - const: p                            167             - const: p
168             - const: b                            168             - const: b
169             - const: out                          169             - const: out
170                                                   170 
171   - if:                                           171   - if:
172       properties:                                 172       properties:
173         compatible:                               173         compatible:
174           contains:                               174           contains:
175             const: renesas,r7s72100-cpg-clocks    175             const: renesas,r7s72100-cpg-clocks
176     then:                                         176     then:
177       properties:                                 177       properties:
178         clocks:                                   178         clocks:
179           items:                                  179           items:
180             - description: extal1                 180             - description: extal1
181             - description: usb_x1                 181             - description: usb_x1
182                                                   182 
183         clock-output-names:                       183         clock-output-names:
184           items:                                  184           items:
185             - const: pll                          185             - const: pll
186             - const: i                            186             - const: i
187             - const: g                            187             - const: g
188                                                   188 
189   - if:                                           189   - if:
190       properties:                                 190       properties:
191         compatible:                               191         compatible:
192           contains:                               192           contains:
193             const: renesas,sh73a0-cpg-clocks      193             const: renesas,sh73a0-cpg-clocks
194     then:                                         194     then:
195       properties:                                 195       properties:
196         clocks:                                   196         clocks:
197           items:                                  197           items:
198             - description: extal1                 198             - description: extal1
199             - description: extal2                 199             - description: extal2
200                                                   200 
201         clock-output-names:                       201         clock-output-names:
202           items:                                  202           items:
203             - const: main                         203             - const: main
204             - const: pll0                         204             - const: pll0
205             - const: pll1                         205             - const: pll1
206             - const: pll2                         206             - const: pll2
207             - const: pll3                         207             - const: pll3
208             - const: dsi0phy                      208             - const: dsi0phy
209             - const: dsi1phy                      209             - const: dsi1phy
210             - const: zg                           210             - const: zg
211             - const: m3                           211             - const: m3
212             - const: b                            212             - const: b
213             - const: m1                           213             - const: m1
214             - const: m2                           214             - const: m2
215             - const: z                            215             - const: z
216             - const: zx                           216             - const: zx
217             - const: hp                           217             - const: hp
218                                                   218 
219   - if:                                           219   - if:
220       properties:                                 220       properties:
221         compatible:                               221         compatible:
222           contains:                               222           contains:
223             enum:                                 223             enum:
224               - renesas,r8a7778-cpg-clocks        224               - renesas,r8a7778-cpg-clocks
225               - renesas,r8a7779-cpg-clocks        225               - renesas,r8a7779-cpg-clocks
226               - renesas,rz-cpg-clocks             226               - renesas,rz-cpg-clocks
227     then:                                         227     then:
228       required:                                   228       required:
229         - '#power-domain-cells'                   229         - '#power-domain-cells'
230                                                   230 
231 additionalProperties: false                       231 additionalProperties: false
232                                                   232 
233 examples:                                         233 examples:
234   - |                                             234   - |
235     #include <dt-bindings/clock/r8a7740-clock.    235     #include <dt-bindings/clock/r8a7740-clock.h>
236     cpg_clocks: cpg_clocks@e6150000 {             236     cpg_clocks: cpg_clocks@e6150000 {
237             compatible = "renesas,r8a7740-cpg-    237             compatible = "renesas,r8a7740-cpg-clocks";
238             reg = <0xe6150000 0x10000>;           238             reg = <0xe6150000 0x10000>;
239             clocks = <&extal1_clk>, <&extal2_c    239             clocks = <&extal1_clk>, <&extal2_clk>, <&extalr_clk>;
240             #clock-cells = <1>;                   240             #clock-cells = <1>;
241             clock-output-names = "system", "pl    241             clock-output-names = "system", "pllc0", "pllc1", "pllc2", "r",
242                                  "usb24s", "i"    242                                  "usb24s", "i", "zg", "b", "m1", "hp", "hpp",
243                                  "usbp", "s",     243                                  "usbp", "s", "zb", "m3", "cp";
244             renesas,mode = <0x05>;                244             renesas,mode = <0x05>;
245     };                                            245     };
                                                      

~ [ 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