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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/imx-audio-card.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/imx-audio-card.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/sound/imx-audio-card.yaml (Version linux-4.4.302)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS    
  2 %YAML 1.2                                         
  3 ---                                               
  4 $id: http://devicetree.org/schemas/sound/imx-a    
  5 $schema: http://devicetree.org/meta-schemas/co    
  6                                                   
  7 title: NXP i.MX audio sound card.                 
  8                                                   
  9 maintainers:                                      
 10   - Shengjiu Wang <shengjiu.wang@nxp.com>          
 11                                                   
 12 allOf:                                            
 13   - $ref: sound-card-common.yaml#                 
 14                                                   
 15 properties:                                       
 16   compatible:                                     
 17     enum:                                         
 18       - fsl,imx-audio-card                        
 19                                                   
 20 patternProperties:                                
 21   ".*-dai-link$":                                 
 22     description:                                  
 23       Each subnode represents a dai link. Subn    
 24       cpu/codec dais.                             
 25                                                   
 26     type: object                                  
 27                                                   
 28     properties:                                   
 29       link-name:                                  
 30         description: Indicates dai-link name a    
 31         $ref: /schemas/types.yaml#/definitions    
 32         maxItems: 1                               
 33                                                   
 34       format:                                     
 35         description: audio format.                
 36         items:                                    
 37           enum:                                   
 38             - i2s                                 
 39             - dsp_b                               
 40                                                   
 41       dai-tdm-slot-num:                           
 42         description: see tdm-slot.txt.            
 43         $ref: /schemas/types.yaml#/definitions    
 44                                                   
 45       dai-tdm-slot-width:                         
 46         description: see tdm-slot.txt.            
 47         $ref: /schemas/types.yaml#/definitions    
 48                                                   
 49       cpu:                                        
 50         description: Holds subnode which indic    
 51         type: object                              
 52         additionalProperties: false               
 53         properties:                               
 54           sound-dai:                              
 55             maxItems: 1                           
 56                                                   
 57       codec:                                      
 58         description: Holds subnode which indic    
 59         type: object                              
 60         additionalProperties: false               
 61         properties:                               
 62           sound-dai:                              
 63             minItems: 1                           
 64             maxItems: 2                           
 65                                                   
 66       fsl,mclk-equal-bclk:                        
 67         description: Indicates mclk can be equ    
 68         $ref: /schemas/types.yaml#/definitions    
 69                                                   
 70     required:                                     
 71       - link-name                                 
 72       - cpu                                       
 73                                                   
 74     additionalProperties: false                   
 75                                                   
 76 required:                                         
 77   - compatible                                    
 78                                                   
 79 unevaluatedProperties: false                      
 80                                                   
 81 examples:                                         
 82   - |                                             
 83     sound-ak4458 {                                
 84         compatible = "fsl,imx-audio-card";        
 85         model = "ak4458-audio";                   
 86         pri-dai-link {                            
 87             link-name = "akcodec";                
 88             format = "i2s";                       
 89             fsl,mclk-equal-bclk;                  
 90             cpu {                                 
 91                  sound-dai = <&sai1>;             
 92             };                                    
 93             codec {                               
 94                  sound-dai = <&ak4458_1>, <&ak    
 95             };                                    
 96         };                                        
 97         fe-dai-link {                             
 98             link-name = "HiFi-ASRC-FE";           
 99             format = "i2s";                       
100             cpu {                                 
101                 sound-dai = <&easrc>;             
102             };                                    
103         };                                        
104         be-dai-link {                             
105             link-name = "HiFi-ASRC-BE";           
106             format = "dsp_b";                     
107             dai-tdm-slot-num = <8>;               
108             dai-tdm-slot-width = <32>;            
109             fsl,mclk-equal-bclk;                  
110             cpu {                                 
111                 sound-dai = <&sai1>;              
112             };                                    
113             codec {                               
114                 sound-dai = <&ak4458_1>, <&ak4    
115             };                                    
116         };                                        
117     };                                            
                                                      

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