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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/qcom,wcd9335.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/qcom,wcd9335.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/sound/qcom,wcd9335.yaml (Version linux-4.12.14)


  1 # SPDX-License-Identifier: GPL-2.0-only OR BSD    
  2 %YAML 1.2                                         
  3 ---                                               
  4 $id: http://devicetree.org/schemas/sound/qcom,    
  5 $schema: http://devicetree.org/meta-schemas/co    
  6                                                   
  7 title: Qualcomm WCD9335 Audio Codec               
  8                                                   
  9 maintainers:                                      
 10   - Srinivas Kandagatla <srinivas.kandagatla@li    
 11                                                   
 12 description:                                      
 13   Qualcomm WCD9335 Codec is a standalone Hi-Fi    
 14   Soundwire controller and interrupt mux. It s    
 15   audio interfaces.                               
 16                                                   
 17 properties:                                       
 18   compatible:                                     
 19     const: slim217,1a0                            
 20                                                   
 21   reg:                                            
 22     maxItems: 1                                   
 23                                                   
 24   clocks:                                         
 25     maxItems: 2                                   
 26                                                   
 27   clock-names:                                    
 28     items:                                        
 29       - const: mclk                               
 30       - const: slimbus                            
 31                                                   
 32   interrupts:                                     
 33     maxItems: 2                                   
 34                                                   
 35   interrupt-names:                                
 36     items:                                        
 37       - const: intr1                              
 38       - const: intr2                              
 39                                                   
 40   interrupt-controller: true                      
 41                                                   
 42   '#interrupt-cells':                             
 43     const: 1                                      
 44                                                   
 45   reset-gpios:                                    
 46     maxItems: 1                                   
 47                                                   
 48   slim-ifc-dev:                                   
 49     description: SLIM IFC device interface        
 50     $ref: /schemas/types.yaml#/definitions/pha    
 51                                                   
 52   '#sound-dai-cells':                             
 53     const: 1                                      
 54                                                   
 55   vdd-buck-supply:                                
 56     description: 1.8V buck supply                 
 57                                                   
 58   vdd-buck-sido-supply:                           
 59     description: 1.8V SIDO buck supply            
 60                                                   
 61   vdd-io-supply:                                  
 62     description: 1.8V I/O supply                  
 63                                                   
 64   vdd-micbias-supply:                             
 65     description: micbias supply                   
 66                                                   
 67   vdd-rx-supply:                                  
 68     description: 1.8V rx supply                   
 69                                                   
 70   vdd-tx-supply:                                  
 71     description: 1.8V tx supply                   
 72                                                   
 73   vdd-vbat-supply:                                
 74     description: vbat supply                      
 75                                                   
 76 required:                                         
 77   - compatible                                    
 78   - reg                                           
 79                                                   
 80 allOf:                                            
 81   - $ref: dai-common.yaml#                        
 82   - if:                                           
 83       required:                                   
 84         - slim-ifc-dev                            
 85     then:                                         
 86       required:                                   
 87         - clocks                                  
 88         - clock-names                             
 89         - interrupts                              
 90         - interrupt-names                         
 91         - interrupt-controller                    
 92         - '#interrupt-cells'                      
 93         - reset-gpios                             
 94         - slim-ifc-dev                            
 95         - '#sound-dai-cells'                      
 96         - vdd-buck-supply                         
 97         - vdd-buck-sido-supply                    
 98         - vdd-io-supply                           
 99         - vdd-rx-supply                           
100         - vdd-tx-supply                           
101     else:                                         
102       properties:                                 
103         clocks: false                             
104         clock-names: false                        
105         interrupts: false                         
106         interrupt-names: false                    
107         interrupt-controller: false               
108         '#interrupt-cells': false                 
109         reset-gpios: false                        
110         slim-ifc-dev: false                       
111         '#sound-dai-cells': false                 
112         vdd-buck-supply: false                    
113         vdd-buck-sido-supply: false               
114         vdd-io-supply: false                      
115         vdd-micbias-supply: false                 
116         vdd-rx-supply: false                      
117         vdd-tx-supply: false                      
118         vdd-vbat-supply: false                    
119                                                   
120 additionalProperties: false                       
121                                                   
122 examples:                                         
123   - |                                             
124     #include <dt-bindings/clock/qcom,rpmcc.h>     
125     #include <dt-bindings/gpio/gpio.h>            
126     #include <dt-bindings/interrupt-controller    
127                                                   
128     tasha_ifd: codec@0,0 {                        
129         compatible = "slim217,1a0";               
130         reg = <0 0>;                              
131     };                                            
132                                                   
133     codec@1,0 {                                   
134         compatible = "slim217,1a0";               
135         reg = <1 0>;                              
136                                                   
137         clock-names = "mclk", "slimbus";          
138         clocks = <&div1_mclk>, <&rpmcc RPM_SMD    
139                                                   
140         interrupt-parent = <&tlmm>;               
141         interrupts = <54 IRQ_TYPE_LEVEL_HIGH>,    
142                      <53 IRQ_TYPE_LEVEL_HIGH>;    
143         interrupt-names = "intr1", "intr2";       
144         interrupt-controller;                     
145         #interrupt-cells = <1>;                   
146                                                   
147         reset-gpios = <&tlmm 64 GPIO_ACTIVE_LO    
148         slim-ifc-dev = <&tasha_ifd>;              
149         #sound-dai-cells = <1>;                   
150                                                   
151         vdd-buck-supply = <&vreg_s4a_1p8>;        
152         vdd-buck-sido-supply = <&vreg_s4a_1p8>    
153         vdd-tx-supply = <&vreg_s4a_1p8>;          
154         vdd-rx-supply = <&vreg_s4a_1p8>;          
155         vdd-io-supply = <&vreg_s4a_1p8>;          
156     };                                            
                                                      

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