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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/qcom/qcom-msm8974pro-fairphone-fp2.dts

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/qcom-msm8974pro-fairphone-fp2.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm/qcom/qcom-msm8974pro-fairphone-fp2.dts (Version linux-4.13.16)


  1 // SPDX-License-Identifier: GPL-2.0               
  2 #include "qcom-msm8974pro.dtsi"                   
  3 #include "pm8841.dtsi"                            
  4 #include "pm8941.dtsi"                            
  5 #include <dt-bindings/input/input.h>              
  6 #include <dt-bindings/leds/common.h>              
  7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h    
  8                                                   
  9 / {                                               
 10         model = "Fairphone 2";                    
 11         compatible = "fairphone,fp2", "qcom,ms    
 12         chassis-type = "handset";                 
 13                                                   
 14         aliases {                                 
 15                 mmc0 = &sdhc_1;                   
 16                 mmc1 = &sdhc_2;                   
 17                 serial0 = &blsp1_uart2;           
 18         };                                        
 19                                                   
 20         chosen {                                  
 21                 stdout-path = "serial0:115200n    
 22         };                                        
 23                                                   
 24         gpio-keys {                               
 25                 compatible = "gpio-keys";         
 26                                                   
 27                 pinctrl-names = "default";        
 28                 pinctrl-0 = <&gpio_keys_pin_a>    
 29                                                   
 30                 key-camera-snapshot {             
 31                         label = "camera_snapsh    
 32                         gpios = <&pm8941_gpios    
 33                         linux,code = <KEY_CAME    
 34                         wakeup-source;            
 35                         debounce-interval = <1    
 36                 };                                
 37                                                   
 38                 key-volume-down {                 
 39                         label = "volume_down";    
 40                         gpios = <&pm8941_gpios    
 41                         linux,code = <KEY_VOLU    
 42                         wakeup-source;            
 43                         debounce-interval = <1    
 44                 };                                
 45                                                   
 46                 key-volume-up {                   
 47                         label = "volume_up";      
 48                         gpios = <&pm8941_gpios    
 49                         linux,code = <KEY_VOLU    
 50                         wakeup-source;            
 51                         debounce-interval = <1    
 52                 };                                
 53         };                                        
 54                                                   
 55         vibrator {                                
 56                 compatible = "gpio-vibrator";     
 57                 enable-gpios = <&tlmm 86 GPIO_    
 58                 vcc-supply = <&pm8941_l18>;       
 59         };                                        
 60                                                   
 61         vreg_boost: vreg-boost {                  
 62                 compatible = "regulator-fixed"    
 63                                                   
 64                 regulator-name = "vreg-boost";    
 65                 regulator-min-microvolt = <315    
 66                 regulator-max-microvolt = <315    
 67                                                   
 68                 regulator-always-on;              
 69                 regulator-boot-on;                
 70                                                   
 71                 gpio = <&pm8941_gpios 21 GPIO_    
 72                 enable-active-high;               
 73                                                   
 74                 pinctrl-names = "default";        
 75                 pinctrl-0 = <&boost_bypass_n_p    
 76         };                                        
 77                                                   
 78         vreg_vph_pwr: vreg-vph-pwr {              
 79                 compatible = "regulator-fixed"    
 80                 regulator-name = "vph-pwr";       
 81                                                   
 82                 regulator-min-microvolt = <360    
 83                 regulator-max-microvolt = <360    
 84                                                   
 85                 regulator-always-on;              
 86         };                                        
 87 };                                                
 88                                                   
 89 &blsp1_i2c2 {                                     
 90         status = "okay";                          
 91                                                   
 92         touchscreen@41 {                          
 93                 compatible = "ilitek,ili2120";    
 94                 reg = <0x41>;                     
 95                 interrupt-parent = <&tlmm>;       
 96                 interrupts = <28 IRQ_TYPE_EDGE    
 97                 reset-gpios = <&tlmm 55 GPIO_A    
 98                                                   
 99                 touchscreen-size-x = <1080>;      
100                 touchscreen-size-y = <1920>;      
101         };                                        
102 };                                                
103                                                   
104 &blsp1_uart2 {                                    
105         status = "okay";                          
106 };                                                
107                                                   
108 &imem {                                           
109         reboot-mode {                             
110                 mode-normal = <0x77665501>;       
111                 mode-bootloader = <0x77665500>    
112                 mode-recovery = <0x77665502>;     
113         };                                        
114 };                                                
115                                                   
116 &pm8941_gpios {                                   
117         gpio_keys_pin_a: gpio-keys-active-stat    
118                 pins = "gpio1", "gpio2", "gpio    
119                 function = "normal";              
120                                                   
121                 bias-pull-up;                     
122                 power-source = <PM8941_GPIO_S3    
123         };                                        
124 };                                                
125                                                   
126 &pm8941_lpg {                                     
127         status = "okay";                          
128                                                   
129         qcom,power-source = <1>;                  
130                                                   
131         multi-led {                               
132                 color = <LED_COLOR_ID_RGB>;       
133                 function = LED_FUNCTION_STATUS    
134                                                   
135                 #address-cells = <1>;             
136                 #size-cells = <0>;                
137                                                   
138                 led@7 {                           
139                         reg = <7>;                
140                         color = <LED_COLOR_ID_    
141                 };                                
142                                                   
143                 led@6 {                           
144                         reg = <6>;                
145                         color = <LED_COLOR_ID_    
146                 };                                
147                                                   
148                 led@5 {                           
149                         reg = <5>;                
150                         color = <LED_COLOR_ID_    
151                 };                                
152         };                                        
153 };                                                
154                                                   
155 &pronto {                                         
156         status = "okay";                          
157                                                   
158         vddmx-supply = <&pm8841_s1>;              
159         vddcx-supply = <&pm8841_s2>;              
160         vddpx-supply = <&pm8941_s3>;              
161                                                   
162         pinctrl-names = "default";                
163         pinctrl-0 = <&wcnss_pin_a>;               
164                                                   
165         iris {                                    
166                 vddxo-supply = <&pm8941_l6>;      
167                 vddrfa-supply = <&pm8941_l11>;    
168                 vddpa-supply = <&pm8941_l19>;     
169                 vdddig-supply = <&pm8941_s3>;     
170         };                                        
171                                                   
172         smd-edge {                                
173                 qcom,remote-pid = <4>;            
174                 label = "pronto";                 
175                                                   
176                 wcnss {                           
177                         status = "okay";          
178                 };                                
179         };                                        
180 };                                                
181                                                   
182 &remoteproc_adsp {                                
183         status = "okay";                          
184         cx-supply = <&pm8841_s2>;                 
185 };                                                
186                                                   
187 &remoteproc_mss {                                 
188         status = "okay";                          
189         cx-supply = <&pm8841_s2>;                 
190         mss-supply = <&pm8841_s3>;                
191         mx-supply = <&pm8841_s1>;                 
192         pll-supply = <&pm8941_l12>;               
193 };                                                
194                                                   
195 &rpm_requests {                                   
196         regulators-0 {                            
197                 compatible = "qcom,rpm-pm8841-    
198                                                   
199                 pm8841_s1: s1 {                   
200                         regulator-min-microvol    
201                         regulator-max-microvol    
202                 };                                
203                                                   
204                 pm8841_s2: s2 {                   
205                         regulator-min-microvol    
206                         regulator-max-microvol    
207                 };                                
208                                                   
209                 pm8841_s3: s3 {                   
210                         regulator-min-microvol    
211                         regulator-max-microvol    
212                 };                                
213         };                                        
214                                                   
215         regulators-1 {                            
216                 compatible = "qcom,rpm-pm8941-    
217                                                   
218                 vdd_l1_l3-supply = <&pm8941_s1    
219                 vdd_l2_lvs1_2_3-supply = <&pm8    
220                 vdd_l4_l11-supply = <&pm8941_s    
221                 vdd_l5_l7-supply = <&pm8941_s2    
222                 vdd_l6_l12_l14_l15-supply = <&    
223                 vdd_l9_l10_l17_l22-supply = <&    
224                 vdd_l13_l20_l23_l24-supply = <    
225                 vdd_l21-supply = <&vreg_boost>    
226                                                   
227                 pm8941_s1: s1 {                   
228                         regulator-min-microvol    
229                         regulator-max-microvol    
230                         regulator-always-on;      
231                         regulator-boot-on;        
232                 };                                
233                                                   
234                 pm8941_s2: s2 {                   
235                         regulator-min-microvol    
236                         regulator-max-microvol    
237                         regulator-boot-on;        
238                 };                                
239                                                   
240                 pm8941_s3: s3 {                   
241                         regulator-min-microvol    
242                         regulator-max-microvol    
243                         regulator-always-on;      
244                         regulator-boot-on;        
245                 };                                
246                                                   
247                 pm8941_l1: l1 {                   
248                         regulator-min-microvol    
249                         regulator-max-microvol    
250                         regulator-always-on;      
251                         regulator-boot-on;        
252                 };                                
253                                                   
254                 pm8941_l2: l2 {                   
255                         regulator-min-microvol    
256                         regulator-max-microvol    
257                 };                                
258                                                   
259                 pm8941_l3: l3 {                   
260                         regulator-min-microvol    
261                         regulator-max-microvol    
262                 };                                
263                                                   
264                 pm8941_l4: l4 {                   
265                         regulator-min-microvol    
266                         regulator-max-microvol    
267                 };                                
268                                                   
269                 pm8941_l5: l5 {                   
270                         regulator-min-microvol    
271                         regulator-max-microvol    
272                 };                                
273                                                   
274                 pm8941_l6: l6 {                   
275                         regulator-min-microvol    
276                         regulator-max-microvol    
277                         regulator-boot-on;        
278                 };                                
279                                                   
280                 pm8941_l7: l7 {                   
281                         regulator-min-microvol    
282                         regulator-max-microvol    
283                         regulator-boot-on;        
284                 };                                
285                                                   
286                 pm8941_l8: l8 {                   
287                         regulator-min-microvol    
288                         regulator-max-microvol    
289                 };                                
290                                                   
291                 pm8941_l9: l9 {                   
292                         regulator-min-microvol    
293                         regulator-max-microvol    
294                 };                                
295                                                   
296                 pm8941_l10: l10 {                 
297                         regulator-min-microvol    
298                         regulator-max-microvol    
299                 };                                
300                                                   
301                 pm8941_l11: l11 {                 
302                         regulator-min-microvol    
303                         regulator-max-microvol    
304                 };                                
305                                                   
306                 pm8941_l12: l12 {                 
307                         regulator-min-microvol    
308                         regulator-max-microvol    
309                         regulator-always-on;      
310                         regulator-boot-on;        
311                 };                                
312                                                   
313                 pm8941_l13: l13 {                 
314                         regulator-min-microvol    
315                         regulator-max-microvol    
316                         regulator-boot-on;        
317                 };                                
318                                                   
319                 pm8941_l14: l14 {                 
320                         regulator-min-microvol    
321                         regulator-max-microvol    
322                 };                                
323                                                   
324                 pm8941_l15: l15 {                 
325                         regulator-min-microvol    
326                         regulator-max-microvol    
327                 };                                
328                                                   
329                 pm8941_l16: l16 {                 
330                         regulator-min-microvol    
331                         regulator-max-microvol    
332                 };                                
333                                                   
334                 pm8941_l17: l17 {                 
335                         regulator-min-microvol    
336                         regulator-max-microvol    
337                 };                                
338                                                   
339                 pm8941_l18: l18 {                 
340                         regulator-min-microvol    
341                         regulator-max-microvol    
342                 };                                
343                                                   
344                 pm8941_l19: l19 {                 
345                         regulator-min-microvol    
346                         regulator-max-microvol    
347                 };                                
348                                                   
349                 pm8941_l20: l20 {                 
350                         regulator-min-microvol    
351                         regulator-max-microvol    
352                         regulator-system-load     
353                         regulator-allow-set-lo    
354                         regulator-boot-on;        
355                 };                                
356                                                   
357                 pm8941_l21: l21 {                 
358                         regulator-min-microvol    
359                         regulator-max-microvol    
360                         regulator-boot-on;        
361                 };                                
362                                                   
363                 pm8941_l22: l22 {                 
364                         regulator-min-microvol    
365                         regulator-max-microvol    
366                 };                                
367                                                   
368                 pm8941_l23: l23 {                 
369                         regulator-min-microvol    
370                         regulator-max-microvol    
371                 };                                
372                                                   
373                 pm8941_l24: l24 {                 
374                         regulator-min-microvol    
375                         regulator-max-microvol    
376                         regulator-boot-on;        
377                 };                                
378         };                                        
379 };                                                
380                                                   
381 &sdhc_1 {                                         
382         status = "okay";                          
383                                                   
384         vmmc-supply = <&pm8941_l20>;              
385         vqmmc-supply = <&pm8941_s3>;              
386                                                   
387         pinctrl-names = "default", "sleep";       
388         pinctrl-0 = <&sdc1_on>;                   
389         pinctrl-1 = <&sdc1_off>;                  
390 };                                                
391                                                   
392 &sdhc_2 {                                         
393         status = "okay";                          
394                                                   
395         vmmc-supply = <&pm8941_l21>;              
396         vqmmc-supply = <&pm8941_l13>;             
397                                                   
398         pinctrl-names = "default", "sleep";       
399         pinctrl-0 = <&sdc2_on>;                   
400         pinctrl-1 = <&sdc2_off>;                  
401 };                                                
402                                                   
403 &smbb {                                           
404         usb-charge-current-limit = <1500000>;     
405         qcom,fast-charge-safe-current = <15000    
406         qcom,fast-charge-current-limit = <1500    
407         qcom,fast-charge-safe-voltage = <43800    
408         qcom,fast-charge-high-threshold-voltag    
409         qcom,auto-recharge-threshold-voltage =    
410         qcom,minimum-input-voltage = <4450000>    
411                                                   
412         status = "okay";                          
413 };                                                
414                                                   
415 &tlmm {                                           
416         sdc1_on: sdc1-on-state {                  
417                 clk-pins {                        
418                         pins = "sdc1_clk";        
419                         drive-strength = <16>;    
420                         bias-disable;             
421                 };                                
422                                                   
423                 cmd-data-pins {                   
424                         pins = "sdc1_cmd", "sd    
425                         drive-strength = <10>;    
426                         bias-pull-up;             
427                 };                                
428         };                                        
429                                                   
430         sdc2_on: sdc2-on-state {                  
431                 clk-pins {                        
432                         pins = "sdc2_clk";        
433                         drive-strength = <10>;    
434                         bias-disable;             
435                 };                                
436                                                   
437                 cmd-data-pins {                   
438                         pins = "sdc2_cmd", "sd    
439                         drive-strength = <6>;     
440                         bias-pull-up;             
441                 };                                
442         };                                        
443                                                   
444         wcnss_pin_a: wcnss-pin-active-state {     
445                 wlan-pins {                       
446                         pins = "gpio36", "gpio    
447                         function = "wlan";        
448                                                   
449                         drive-strength = <6>;     
450                         bias-pull-down;           
451                 };                                
452                                                   
453                 bt-pins {                         
454                         pins = "gpio35", "gpio    
455                         function = "bt";          
456                                                   
457                         drive-strength = <2>;     
458                         bias-pull-down;           
459                 };                                
460                                                   
461                 fm-pins {                         
462                         pins = "gpio41", "gpio    
463                         function = "fm";          
464                                                   
465                         drive-strength = <2>;     
466                         bias-pull-down;           
467                 };                                
468         };                                        
469 };                                                
470                                                   
471 &usb {                                            
472         status = "okay";                          
473                                                   
474         phys = <&usb_hs1_phy>;                    
475         phy-select = <&tcsr 0xb000 0>;            
476         extcon = <&smbb>, <&usb_id>;              
477         vbus-supply = <&chg_otg>;                 
478                                                   
479         hnp-disable;                              
480         srp-disable;                              
481         adp-disable;                              
482 };                                                
483                                                   
484 &usb_hs1_phy {                                    
485         status = "okay";                          
486                                                   
487         v1p8-supply = <&pm8941_l6>;               
488         v3p3-supply = <&pm8941_l24>;              
489                                                   
490         extcon = <&smbb>;                         
491         qcom,init-seq = /bits/ 8 <0x1 0x64>;      
492 };                                                
                                                      

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