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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/qcom/pm8226.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 /scripts/dtc/include-prefixes/arm/qcom/pm8226.dtsi (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm/qcom/pm8226.dtsi (Version linux-3.10.108)


  1 // SPDX-License-Identifier: BSD-3-Clause          
  2 #include <dt-bindings/iio/qcom,spmi-vadc.h>       
  3 #include <dt-bindings/input/linux-event-codes.    
  4 #include <dt-bindings/interrupt-controller/irq    
  5 #include <dt-bindings/spmi/spmi.h>                
  6                                                   
  7 / {                                               
  8         thermal-zones {                           
  9                 pm8226-thermal {                  
 10                         polling-delay-passive     
 11                         polling-delay = <0>;      
 12                         thermal-sensors = <&pm    
 13                                                   
 14                         trips {                   
 15                                 trip0 {           
 16                                         temper    
 17                                         hyster    
 18                                         type =    
 19                                 };                
 20                                                   
 21                                 trip1 {           
 22                                         temper    
 23                                         hyster    
 24                                         type =    
 25                                 };                
 26                                                   
 27                                 crit {            
 28                                         temper    
 29                                         hyster    
 30                                         type =    
 31                                 };                
 32                         };                        
 33                 };                                
 34         };                                        
 35 };                                                
 36                                                   
 37 &spmi_bus {                                       
 38         pm8226_0: pm8226@0 {                      
 39                 compatible = "qcom,pm8226", "q    
 40                 reg = <0x0 SPMI_USID>;            
 41                 #address-cells = <1>;             
 42                 #size-cells = <0>;                
 43                                                   
 44                 pon@800 {                         
 45                         compatible = "qcom,pm8    
 46                         reg = <0x800>;            
 47                                                   
 48                         pwrkey {                  
 49                                 compatible = "    
 50                                 interrupts = <    
 51                                 debounce = <15    
 52                                 bias-pull-up;     
 53                                 linux,code = <    
 54                         };                        
 55                                                   
 56                         pm8226_resin: resin {     
 57                                 compatible = "    
 58                                 interrupts = <    
 59                                 debounce = <15    
 60                                 bias-pull-up;     
 61                                 status = "disa    
 62                         };                        
 63                 };                                
 64                                                   
 65                 smbb: charger@1000 {              
 66                         compatible = "qcom,pm8    
 67                         reg = <0x1000>;           
 68                         interrupts = <0x0 0x10    
 69                                      <0x0 0x10    
 70                                      <0x0 0x10    
 71                                      <0x0 0x12    
 72                                      <0x0 0x12    
 73                                      <0x0 0x13    
 74                                      <0x0 0x13    
 75                                      <0x0 0x14    
 76                         interrupt-names = "chg    
 77                                           "chg    
 78                                           "chg    
 79                                           "bat    
 80                                           "bat    
 81                                           "chg    
 82                                           "usb    
 83                                           "dc-    
 84                                                   
 85                         status = "disabled";      
 86                                                   
 87                         chg_otg: otg-vbus { };    
 88                 };                                
 89                                                   
 90                 pm8226_temp: temp-alarm@2400 {    
 91                         compatible = "qcom,spm    
 92                         reg = <0x2400>;           
 93                         interrupts = <0 0x24 0    
 94                         io-channels = <&pm8226    
 95                         io-channel-names = "th    
 96                         #thermal-sensor-cells     
 97                 };                                
 98                                                   
 99                 pm8226_vadc: adc@3100 {           
100                         compatible = "qcom,spm    
101                         reg = <0x3100>;           
102                         interrupts = <0x0 0x31    
103                         #address-cells = <1>;     
104                         #size-cells = <0>;        
105                         #io-channel-cells = <1    
106                                                   
107                         channel@7 {               
108                                 reg = <VADC_VS    
109                                 qcom,pre-scali    
110                                 label = "vph_p    
111                         };                        
112                         channel@8 {               
113                                 reg = <VADC_DI    
114                                 label = "die_t    
115                         };                        
116                         channel@9 {               
117                                 reg = <VADC_RE    
118                                 label = "ref_6    
119                         };                        
120                         channel@a {               
121                                 reg = <VADC_RE    
122                                 label = "ref_1    
123                         };                        
124                         channel@e {               
125                                 reg = <VADC_GN    
126                         };                        
127                         channel@f {               
128                                 reg = <VADC_VD    
129                         };                        
130                 };                                
131                                                   
132                 pm8226_iadc: adc@3600 {           
133                         compatible = "qcom,pm8    
134                         reg = <0x3600>;           
135                         interrupts = <0x0 0x36    
136                 };                                
137                                                   
138                 rtc@6000 {                        
139                         compatible = "qcom,pm8    
140                         reg = <0x6000>, <0x610    
141                         reg-names = "rtc", "al    
142                         interrupts = <0x0 0x61    
143                 };                                
144                                                   
145                 pm8226_mpps: mpps@a000 {          
146                         compatible = "qcom,pm8    
147                         reg = <0xa000>;           
148                         gpio-controller;          
149                         #gpio-cells = <2>;        
150                         gpio-ranges = <&pm8226    
151                         interrupt-controller;     
152                         #interrupt-cells = <2>    
153                 };                                
154                                                   
155                 pm8226_gpios: gpio@c000 {         
156                         compatible = "qcom,pm8    
157                         reg = <0xc000>;           
158                         gpio-controller;          
159                         #gpio-cells = <2>;        
160                         gpio-ranges = <&pm8226    
161                         interrupt-controller;     
162                         #interrupt-cells = <2>    
163                 };                                
164         };                                        
165                                                   
166         pm8226_1: pm8226@1 {                      
167                 compatible = "qcom,pm8226", "q    
168                 reg = <0x1 SPMI_USID>;            
169                 #address-cells = <1>;             
170                 #size-cells = <0>;                
171                                                   
172                 pm8226_spmi_regulators: regula    
173                         compatible = "qcom,pm8    
174                 };                                
175                                                   
176                 pm8226_vib: vibrator@c000 {       
177                         compatible = "qcom,pm8    
178                         reg = <0xc000>;           
179                         status = "disabled";      
180                 };                                
181         };                                        
182 };                                                
                                                      

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