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

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


  1 // SPDX-License-Identifier: BSD-3-Clause          
  2 /*                                                
  3  * Copyright (c) 2022, AngeloGioacchino Del Re    
  4  *                     <angelogioacchino.delreg    
  5  * Copyright (c) 2022, Marijn Suijten <marijn.s    
  6  */                                               
  7                                                   
  8 #include <dt-bindings/iio/qcom,spmi-vadc.h>       
  9 #include <dt-bindings/input/linux-event-codes.    
 10 #include <dt-bindings/interrupt-controller/irq    
 11 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>    
 12 #include <dt-bindings/spmi/spmi.h>                
 13                                                   
 14 &spmi_bus {                                       
 15         pmic@0 {                                  
 16                 compatible = "qcom,pm8950", "q    
 17                 reg = <0x0 SPMI_USID>;            
 18                 #address-cells = <1>;             
 19                 #size-cells = <0>;                
 20                                                   
 21                 pm8950_pon: pon@800 {             
 22                         compatible = "qcom,pm8    
 23                         reg = <0x0800>;           
 24                         mode-bootloader = <0x2    
 25                         mode-recovery = <0x1>;    
 26                                                   
 27                         pwrkey {                  
 28                                 compatible = "    
 29                                 interrupts = <    
 30                                 debounce = <15    
 31                                 bias-pull-up;     
 32                                 linux,code = <    
 33                         };                        
 34                                                   
 35                         pm8950_resin: resin {     
 36                                 compatible = "    
 37                                 interrupts = <    
 38                                 debounce = <15    
 39                                 bias-pull-up;     
 40                                 status = "disa    
 41                         };                        
 42                 };                                
 43                                                   
 44                 pm8950_temp: temp-alarm@2400 {    
 45                         compatible = "qcom,spm    
 46                         reg = <0x2400>;           
 47                         interrupts = <0 0x24 0    
 48                         io-channels = <&pm8950    
 49                         io-channel-names = "th    
 50                         #thermal-sensor-cells     
 51                 };                                
 52                                                   
 53                 pm8950_vadc: adc@3100 {           
 54                         compatible = "qcom,spm    
 55                         reg = <0x3100>;           
 56                         interrupts = <0x0 0x31    
 57                         #address-cells = <1>;     
 58                         #size-cells = <0>;        
 59                         #io-channel-cells = <1    
 60                                                   
 61                         channel@5 {               
 62                                 reg = <VADC_VC    
 63                                 qcom,pre-scali    
 64                                 label = "vcoin    
 65                         };                        
 66                                                   
 67                         channel@7 {               
 68                                 reg = <VADC_VS    
 69                                 qcom,pre-scali    
 70                                 label = "vph_p    
 71                         };                        
 72                                                   
 73                         channel@8 {               
 74                                 reg = <VADC_DI    
 75                                 qcom,pre-scali    
 76                                 label = "die_t    
 77                         };                        
 78                                                   
 79                         channel@9 {               
 80                                 reg = <VADC_RE    
 81                                 qcom,pre-scali    
 82                                 label = "ref_6    
 83                         };                        
 84                                                   
 85                         channel@a {               
 86                                 reg = <VADC_RE    
 87                                 qcom,pre-scali    
 88                                 label = "ref_1    
 89                         };                        
 90                                                   
 91                         channel@c {               
 92                                 reg = <VADC_SP    
 93                                 qcom,pre-scali    
 94                                 label = "ref_b    
 95                         };                        
 96                                                   
 97                         channel@e {               
 98                                 reg = <VADC_GN    
 99                                 label = "ref_g    
100                         };                        
101                                                   
102                         channel@f {               
103                                 reg = <VADC_VD    
104                                 label = "ref_v    
105                         };                        
106                                                   
107                         channel@11 {              
108                                 reg = <VADC_P_    
109                                 qcom,pre-scali    
110                                 qcom,ratiometr    
111                                 qcom,hw-settle    
112                                 label = "pa_th    
113                         };                        
114                                                   
115                         channel@13 {              
116                                 reg = <VADC_P_    
117                                 qcom,pre-scali    
118                                 qcom,ratiometr    
119                                 qcom,hw-settle    
120                                 label = "case_    
121                         };                        
122                                                   
123                         channel@32 {              
124                                 reg = <VADC_LR    
125                                 qcom,pre-scali    
126                                 qcom,ratiometr    
127                                 qcom,hw-settle    
128                                 label = "xo_th    
129                         };                        
130                                                   
131                         channel@36 {              
132                                 reg = <VADC_LR    
133                                 qcom,pre-scali    
134                                 qcom,ratiometr    
135                                 qcom,hw-settle    
136                                 label = "pa_th    
137                         };                        
138                                                   
139                         channel@3c {              
140                                 reg = <VADC_LR    
141                                 qcom,pre-scali    
142                                 qcom,ratiometr    
143                                 qcom,hw-settle    
144                                 label = "xo_th    
145                         };                        
146                 };                                
147                                                   
148                 rtc@6000 {                        
149                         compatible = "qcom,pm8    
150                         reg = <0x6000>, <0x610    
151                         reg-names = "rtc", "al    
152                         interrupts = <0x0 0x61    
153                 };                                
154                                                   
155                 pm8950_mpps: mpps@a000 {          
156                         compatible = "qcom,pm8    
157                         reg = <0xa000>;           
158                         gpio-controller;          
159                         gpio-ranges = <&pm8950    
160                         #gpio-cells = <2>;        
161                         interrupt-controller;     
162                         #interrupt-cells = <2>    
163                 };                                
164                                                   
165                 pm8950_gpios: gpio@c000 {         
166                         compatible = "qcom,pm8    
167                         reg = <0xc000>;           
168                         gpio-controller;          
169                         gpio-ranges = <&pm8950    
170                         #gpio-cells = <2>;        
171                         interrupt-controller;     
172                         #interrupt-cells = <2>    
173                 };                                
174         };                                        
175                                                   
176         pmic@1 {                                  
177                 compatible = "qcom,pm8950", "q    
178                 reg = <0x1 SPMI_USID>;            
179                 #address-cells = <1>;             
180                 #size-cells = <0>;                
181                                                   
182                 pm8950_spmi_regulators: regula    
183                         compatible = "qcom,pm8    
184                 };                                
185         };                                        
186 };                                                
                                                      

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