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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/qcom/pmi632.dtsi

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 /arch/arm64/boot/dts/qcom/pmi632.dtsi (Version linux-6.12-rc7) and /arch/i386/boot/dts/qcom/pmi632.dtsi (Version linux-4.16.18)


  1 // SPDX-License-Identifier: BSD-3-Clause          
  2 /*                                                
  3  * Copyright (C) 2023 Luca Weiss <luca@z3ntu.xy    
  4  */                                               
  5                                                   
  6 #include <dt-bindings/iio/qcom,spmi-vadc.h>       
  7 #include <dt-bindings/interrupt-controller/irq    
  8 #include <dt-bindings/spmi/spmi.h>                
  9                                                   
 10 / {                                               
 11         thermal-zones {                           
 12                 pmi632-thermal {                  
 13                         polling-delay-passive     
 14                                                   
 15                         thermal-sensors = <&pm    
 16                                                   
 17                         trips {                   
 18                                 trip0 {           
 19                                         temper    
 20                                         hyster    
 21                                         type =    
 22                                 };                
 23                                                   
 24                                 trip1 {           
 25                                         temper    
 26                                         hyster    
 27                                         type =    
 28                                 };                
 29                                                   
 30                                 trip2 {           
 31                                         temper    
 32                                         hyster    
 33                                         type =    
 34                                 };                
 35                         };                        
 36                 };                                
 37         };                                        
 38 };                                                
 39                                                   
 40 &spmi_bus {                                       
 41         pmic@2 {                                  
 42                 compatible = "qcom,pmi632", "q    
 43                 reg = <0x2 SPMI_USID>;            
 44                 #address-cells = <1>;             
 45                 #size-cells = <0>;                
 46                                                   
 47                 pmi632_vbus: usb-vbus-regulato    
 48                         compatible = "qcom,pmi    
 49                         reg = <0x1100>;           
 50                         status = "disabled";      
 51                 };                                
 52                                                   
 53                 pmi632_typec: typec@1500 {        
 54                         compatible = "qcom,pmi    
 55                         reg = <0x1500>;           
 56                         interrupts = <0x2 0x15    
 57                                      <0x2 0x15    
 58                                      <0x2 0x15    
 59                                      <0x2 0x15    
 60                                      <0x2 0x15    
 61                                      <0x2 0x15    
 62                                      <0x2 0x15    
 63                                      <0x2 0x15    
 64                         interrupt-names = "or-    
 65                                           "vpd    
 66                                           "cc-    
 67                                           "vco    
 68                                           "vbu    
 69                                           "att    
 70                                           "leg    
 71                                           "try    
 72                         vdd-vbus-supply = <&pm    
 73                                                   
 74                         status = "disabled";      
 75                 };                                
 76                                                   
 77                 pmi632_temp: temp-alarm@2400 {    
 78                         compatible = "qcom,spm    
 79                         reg = <0x2400>;           
 80                         interrupts = <0x2 0x24    
 81                         #thermal-sensor-cells     
 82                 };                                
 83                                                   
 84                 pmi632_adc: adc@3100 {            
 85                         compatible = "qcom,spm    
 86                         reg = <0x3100>;           
 87                         #address-cells = <1>;     
 88                         #size-cells = <0>;        
 89                         #io-channel-cells = <1    
 90                         interrupts = <0x2 0x31    
 91                                                   
 92                         channel@0 {               
 93                                 reg = <ADC5_RE    
 94                                 qcom,pre-scali    
 95                                 label = "ref_g    
 96                         };                        
 97                                                   
 98                         channel@1 {               
 99                                 reg = <ADC5_1P    
100                                 qcom,pre-scali    
101                                 label = "vref_    
102                         };                        
103                                                   
104                         channel@6 {               
105                                 reg = <ADC5_DI    
106                                 qcom,pre-scali    
107                                 label = "die_t    
108                         };                        
109                                                   
110                         channel@7 {               
111                                 reg = <ADC5_US    
112                                 qcom,pre-scali    
113                                 label = "usb_i    
114                         };                        
115                                                   
116                         channel@8 {               
117                                 reg = <ADC5_US    
118                                 qcom,pre-scali    
119                                 label = "usb_i    
120                         };                        
121                                                   
122                         channel@9 {               
123                                 reg = <ADC5_CH    
124                                 qcom,pre-scali    
125                                 label = "chg_t    
126                         };                        
127                                                   
128                         channel@4b {              
129                                 reg = <ADC5_BA    
130                                 qcom,hw-settle    
131                                 qcom,pre-scali    
132                                 qcom,ratiometr    
133                                 label = "bat_i    
134                         };                        
135                                                   
136                         channel@83 {              
137                                 reg = <ADC5_VP    
138                                 qcom,pre-scali    
139                                 label = "vph_p    
140                         };                        
141                                                   
142                         channel@84 {              
143                                 reg = <ADC5_VB    
144                                 qcom,pre-scali    
145                                 label = "vbat_    
146                         };                        
147                 };                                
148                                                   
149                 pmi632_adc_tm: adc-tm@3500 {      
150                         compatible = "qcom,spm    
151                         reg = <0x3500>;           
152                         interrupts = <0x2 0x35    
153                         #thermal-sensor-cells     
154                         #address-cells = <1>;     
155                         #size-cells = <0>;        
156                         status = "disabled";      
157                 };                                
158                                                   
159                 pmi632_pbs_client3: pbs@7400 {    
160                         compatible = "qcom,pmi    
161                         reg = <0x7400>;           
162                 };                                
163                                                   
164                 pmi632_sdam_7: nvram@b600 {       
165                         compatible = "qcom,spm    
166                         reg = <0xb600>;           
167                         #address-cells = <1>;     
168                         #size-cells = <1>;        
169                         ranges = <0 0xb600 0x1    
170                 };                                
171                                                   
172                 pmi632_gpios: gpio@c000 {         
173                         compatible = "qcom,pmi    
174                         reg = <0xc000>;           
175                         gpio-controller;          
176                         gpio-ranges = <&pmi632    
177                         #gpio-cells = <2>;        
178                         interrupt-controller;     
179                         #interrupt-cells = <2>    
180                 };                                
181         };                                        
182                                                   
183         pmic@3 {                                  
184                 compatible = "qcom,pmi632", "q    
185                 reg = <0x3 SPMI_USID>;            
186                 #address-cells = <1>;             
187                 #size-cells = <0>;                
188                                                   
189                 pmi632_lpg: pwm {                 
190                         compatible = "qcom,pmi    
191                                                   
192                         nvmem = <&pmi632_sdam_    
193                         nvmem-names = "lpg_cha    
194                         qcom,pbs = <&pmi632_pb    
195                                                   
196                         #address-cells = <1>;     
197                         #size-cells = <0>;        
198                         #pwm-cells = <2>;         
199                                                   
200                         status = "disabled";      
201                 };                                
202                                                   
203                 pmi632_vib: vibrator@5700 {       
204                         compatible = "qcom,pmi    
205                         reg = <0x5700>;           
206                         status = "disabled";      
207                 };                                
208         };                                        
209 };                                                
                                                      

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