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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/qcom/pm7250b.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/pm7250b.dtsi (Architecture i386) and /arch/ppc/boot/dts/qcom/pm7250b.dtsi (Architecture ppc)


  1 // SPDX-License-Identifier: BSD-3-Clause          
  2 /*                                                
  3  * Copyright (C) 2022 Luca Weiss <luca.weiss@fa    
  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                 pm7250b-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@PM7250B_SID {                        
 42                 compatible = "qcom,pm7250b", "    
 43                 reg = <PM7250B_SID SPMI_USID>;    
 44                 #address-cells = <1>;             
 45                 #size-cells = <0>;                
 46                                                   
 47                 pm7250b_vbus: usb-vbus-regulat    
 48                         compatible = "qcom,pm7    
 49                         reg = <0x1100>;           
 50                         status = "disabled";      
 51                 };                                
 52                                                   
 53                 pm7250b_typec: typec@1500 {       
 54                         compatible = "qcom,pm7    
 55                         reg = <0x1500>,           
 56                               <0x1700>;           
 57                         interrupts = <PM7250B_    
 58                                      <PM7250B_    
 59                                      <PM7250B_    
 60                                      <PM7250B_    
 61                                      <PM7250B_    
 62                                      <PM7250B_    
 63                                      <PM7250B_    
 64                                      <PM7250B_    
 65                                      <PM7250B_    
 66                                      <PM7250B_    
 67                                      <PM7250B_    
 68                                      <PM7250B_    
 69                                      <PM7250B_    
 70                                      <PM7250B_    
 71                                      <PM7250B_    
 72                                      <PM7250B_    
 73                         interrupt-names = "or-    
 74                                           "vpd    
 75                                           "cc-    
 76                                           "vco    
 77                                           "vbu    
 78                                           "att    
 79                                           "leg    
 80                                           "try    
 81                                           "sig    
 82                                           "sig    
 83                                           "msg    
 84                                           "msg    
 85                                           "msg    
 86                                           "msg    
 87                                           "msg    
 88                                           "fr-    
 89                         vdd-vbus-supply = <&pm    
 90                         status = "disabled";      
 91                 };                                
 92                                                   
 93                 pm7250b_temp: temp-alarm@2400     
 94                         compatible = "qcom,spm    
 95                         reg = <0x2400>;           
 96                         interrupts = <PM7250B_    
 97                         io-channels = <&pm7250    
 98                         io-channel-names = "th    
 99                         #thermal-sensor-cells     
100                 };                                
101                                                   
102                 pm7250b_adc: adc@3100 {           
103                         compatible = "qcom,spm    
104                         reg = <0x3100>;           
105                         #address-cells = <1>;     
106                         #size-cells = <0>;        
107                         #io-channel-cells = <1    
108                         interrupts = <PM7250B_    
109                                                   
110                         channel@0 {               
111                                 reg = <ADC5_RE    
112                                 qcom,pre-scali    
113                                 label = "ref_g    
114                         };                        
115                                                   
116                         channel@1 {               
117                                 reg = <ADC5_1P    
118                                 qcom,pre-scali    
119                                 label = "vref_    
120                         };                        
121                                                   
122                         channel@2 {               
123                                 reg = <ADC5_DI    
124                                 qcom,pre-scali    
125                                 label = "die_t    
126                         };                        
127                                                   
128                         channel@7 {               
129                                 reg = <ADC5_US    
130                                 qcom,pre-scali    
131                                 label = "usb_i    
132                         };                        
133                                                   
134                         channel@8 {               
135                                 reg = <ADC5_US    
136                                 qcom,pre-scali    
137                                 label = "usb_i    
138                         };                        
139                                                   
140                         channel@9 {               
141                                 reg = <ADC5_CH    
142                                 qcom,pre-scali    
143                                 label = "chg_t    
144                         };                        
145                                                   
146                         channel@e {               
147                                 reg = <ADC5_AM    
148                                 qcom,hw-settle    
149                                 qcom,pre-scali    
150                                 label = "smb13    
151                         };                        
152                                                   
153                         channel@1e {              
154                                 reg = <ADC5_MI    
155                                 qcom,pre-scali    
156                                 label = "chg_m    
157                         };                        
158                                                   
159                         channel@4b {              
160                                 reg = <ADC5_BA    
161                                 qcom,hw-settle    
162                                 qcom,pre-scali    
163                                 qcom,ratiometr    
164                                 label = "bat_i    
165                         };                        
166                                                   
167                         channel@83 {              
168                                 reg = <ADC5_VP    
169                                 qcom,pre-scali    
170                                 label = "vph_p    
171                         };                        
172                                                   
173                         channel@84 {              
174                                 reg = <ADC5_VB    
175                                 qcom,pre-scali    
176                                 label = "vbat_    
177                         };                        
178                                                   
179                         channel@99 {              
180                                 reg = <ADC5_SB    
181                                 qcom,pre-scali    
182                                 label = "chg_s    
183                         };                        
184                 };                                
185                                                   
186                 pm7250b_adc_tm: adc-tm@3500 {     
187                         compatible = "qcom,spm    
188                         reg = <0x3500>;           
189                         interrupts = <PM7250B_    
190                         #thermal-sensor-cells     
191                         #address-cells = <1>;     
192                         #size-cells = <0>;        
193                         status = "disabled";      
194                 };                                
195                                                   
196                 pm7250b_gpios: gpio@c000 {        
197                         compatible = "qcom,pm7    
198                         reg = <0xc000>;           
199                         gpio-controller;          
200                         gpio-ranges = <&pm7250    
201                         #gpio-cells = <2>;        
202                         interrupt-controller;     
203                         #interrupt-cells = <2>    
204                 };                                
205         };                                        
206                                                   
207         pmic@PM7250B_SID1 {                       
208                 compatible = "qcom,pm7250b", "    
209                 reg = <PM7250B_SID1 SPMI_USID>    
210                 #address-cells = <1>;             
211                 #size-cells = <0>;                
212         };                                        
213 };                                                
                                                      

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