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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/ti,j721e-cpb-audio.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/sound/ti,j721e-cpb-audio.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/sound/ti,j721e-cpb-audio.yaml (Version policy-sample)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS    
  2 # Copyright (C) 2020 Texas Instruments Incorpo    
  3 # Author: Peter Ujfalusi <peter.ujfalusi@ti.com    
  4 %YAML 1.2                                         
  5 ---                                               
  6 $id: http://devicetree.org/schemas/sound/ti,j7    
  7 $schema: http://devicetree.org/meta-schemas/co    
  8                                                   
  9 title: Texas Instruments J721e Common Processo    
 10                                                   
 11 maintainers:                                      
 12   - Peter Ujfalusi <peter.ujfalusi@gmail.com>      
 13                                                   
 14 description: |                                    
 15   The audio support on the board is using pcm3    
 16   serializers in parallel setup.                  
 17   The pcm3168a SCKI clock is sourced from j721    
 18   In order to support 48KHz and 44.1KHz family    
 19   clock for AUDIO_REFCLK2 needs to be changed     
 20   PLL15 (for 44.1KHz). The same PLLs are used     
 21   different HSDIVIDER.                            
 22                                                   
 23   Clocking setup for j721e:                       
 24     48KHz family:                                 
 25     PLL4 ---> PLL4_HSDIV0 ---> MCASP10_AUXCLK     
 26           |-> PLL4_HSDIV2 ---> AUDIO_REFCLK2      
 27                                                   
 28     44.1KHz family:                               
 29     PLL15 ---> PLL15_HSDIV0 ---> MCASP10_AUXCL    
 30            |-> PLL15_HSDIV2 ---> AUDIO_REFCLK2    
 31                                                   
 32   Clocking setup for j7200:                       
 33     48KHz family:                                 
 34     PLL4 ---> PLL4_HSDIV0 ---> MCASP0_AUXCLK -    
 35           |-> PLL4_HSDIV2 ---> AUDIO_REFCLK2      
 36                                                   
 37 properties:                                       
 38   compatible:                                     
 39     enum:                                         
 40       - ti,j721e-cpb-audio                        
 41       - ti,j7200-cpb-audio                        
 42                                                   
 43   model:                                          
 44     $ref: /schemas/types.yaml#/definitions/str    
 45     description: User specified audio sound ca    
 46                                                   
 47   ti,cpb-mcasp:                                   
 48     description: phandle to McASP used on CPB     
 49     $ref: /schemas/types.yaml#/definitions/pha    
 50                                                   
 51   ti,cpb-codec:                                   
 52     description: phandle to the pcm3168a codec    
 53     $ref: /schemas/types.yaml#/definitions/pha    
 54                                                   
 55   clocks:                                         
 56     minItems: 4                                   
 57     maxItems: 6                                   
 58                                                   
 59   clock-names:                                    
 60     minItems: 4                                   
 61     maxItems: 6                                   
 62                                                   
 63 required:                                         
 64   - compatible                                    
 65   - model                                         
 66   - ti,cpb-mcasp                                  
 67   - ti,cpb-codec                                  
 68   - clocks                                        
 69   - clock-names                                   
 70                                                   
 71 additionalProperties: false                       
 72                                                   
 73 allOf:                                            
 74   - if:                                           
 75       properties:                                 
 76         compatible:                               
 77           contains:                               
 78             const: ti,j721e-cpb-audio             
 79                                                   
 80     then:                                         
 81       properties:                                 
 82         clocks:                                   
 83           items:                                  
 84             - description: AUXCLK clock for Mc    
 85             - description: Parent for CPB_McAS    
 86             - description: Parent for CPB_McAS    
 87             - description: SCKI clock for the     
 88             - description: Parent for CPB_SCKI    
 89             - description: Parent for CPB_SCKI    
 90                                                   
 91         clock-names:                              
 92           items:                                  
 93             - const: cpb-mcasp-auxclk             
 94             - const: cpb-mcasp-auxclk-48000       
 95             - const: cpb-mcasp-auxclk-44100       
 96             - const: cpb-codec-scki               
 97             - const: cpb-codec-scki-48000         
 98             - const: cpb-codec-scki-44100         
 99                                                   
100   - if:                                           
101       properties:                                 
102         compatible:                               
103           contains:                               
104             const: ti,j7200-cpb-audio             
105                                                   
106     then:                                         
107       properties:                                 
108         clocks:                                   
109           items:                                  
110             - description: AUXCLK clock for Mc    
111             - description: Parent for CPB_McAS    
112             - description: SCKI clock for the     
113             - description: Parent for CPB_SCKI    
114                                                   
115         clock-names:                              
116           items:                                  
117             - const: cpb-mcasp-auxclk             
118             - const: cpb-mcasp-auxclk-48000       
119             - const: cpb-codec-scki               
120             - const: cpb-codec-scki-48000         
121                                                   
122 examples:                                         
123   - |+                                            
124     sound {                                       
125         compatible = "ti,j721e-cpb-audio";        
126         model = "j721e-cpb";                      
127                                                   
128         ti,cpb-mcasp = <&mcasp10>;                
129         ti,cpb-codec = <&pcm3168a_1>;             
130                                                   
131         clocks = <&k3_clks 184 1>,                
132                  <&k3_clks 184 2>, <&k3_clks 1    
133                  <&k3_clks 157 371>,              
134                  <&k3_clks 157 400>, <&k3_clks    
135         clock-names = "cpb-mcasp-auxclk",         
136                       "cpb-mcasp-auxclk-48000"    
137                       "cpb-codec-scki",           
138                       "cpb-codec-scki-48000",     
139     };                                            
                                                      

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