~ [ 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 (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/clock/renesas,cpg-clocks.yaml (Version linux-5.0.21)


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