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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/qcom/sc7280-idp-ec-h1.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/arm64/qcom/sc7280-idp-ec-h1.dtsi (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/qcom/sc7280-idp-ec-h1.dtsi (Version linux-4.12.14)


  1 // SPDX-License-Identifier: BSD-3-Clause          
  2 /*                                                
  3  * sc7280 EC/H1 over SPI (common between IDP2     
  4  *                                                
  5  * Copyright (c) 2021 Qualcomm Innovation Cent    
  6  */                                               
  7                                                   
  8 ap_ec_spi: &spi10 {                               
  9         status = "okay";                          
 10                                                   
 11         pinctrl-0 = <&qup_spi10_data_clk>, <&q    
 12         cs-gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;    
 13                                                   
 14         cros_ec: ec@0 {                           
 15                 compatible = "google,cros-ec-s    
 16                 reg = <0>;                        
 17                 interrupt-parent = <&tlmm>;       
 18                 interrupts = <18 IRQ_TYPE_LEVE    
 19                 pinctrl-names = "default";        
 20                 pinctrl-0 = <&ap_ec_int_l>;       
 21                 spi-max-frequency = <3000000>;    
 22                 wakeup-source;                    
 23                                                   
 24                 cros_ec_pwm: pwm {                
 25                         compatible = "google,c    
 26                         #pwm-cells = <1>;         
 27                 };                                
 28                                                   
 29                 i2c_tunnel: i2c-tunnel {          
 30                         compatible = "google,c    
 31                         google,remote-bus = <0    
 32                         #address-cells = <1>;     
 33                         #size-cells = <0>;        
 34                 };                                
 35                                                   
 36                 typec {                           
 37                         compatible = "google,c    
 38                         #address-cells = <1>;     
 39                         #size-cells = <0>;        
 40                                                   
 41                         usb_c0: connector@0 {     
 42                                 compatible = "    
 43                                 reg = <0>;        
 44                                 label = "left"    
 45                                 power-role = "    
 46                                 data-role = "h    
 47                                 try-power-role    
 48                         };                        
 49                                                   
 50                         usb_c1: connector@1 {     
 51                                 compatible = "    
 52                                 reg = <1>;        
 53                                 label = "right    
 54                                 power-role = "    
 55                                 data-role = "h    
 56                                 try-power-role    
 57                         };                        
 58                 };                                
 59         };                                        
 60 };                                                
 61                                                   
 62 #include <arm/cros-ec-keyboard.dtsi>              
 63 #include <arm/cros-ec-sbs.dtsi>                   
 64                                                   
 65 ap_h1_spi: &spi14 {                               
 66         status = "okay";                          
 67                                                   
 68         pinctrl-0 = <&qup_spi14_data_clk>, <&q    
 69         cs-gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;    
 70                                                   
 71         cr50: tpm@0 {                             
 72                 compatible = "google,cr50";       
 73                 reg = <0>;                        
 74                 pinctrl-names = "default";        
 75                 pinctrl-0 = <&h1_ap_int_odl>;     
 76                 spi-max-frequency = <800000>;     
 77                 interrupt-parent = <&tlmm>;       
 78                 interrupts = <104 IRQ_TYPE_EDG    
 79         };                                        
 80 };                                                
 81                                                   
 82 &tlmm {                                           
 83         ap_ec_int_l: ap-ec-int-l-state {          
 84                 pins = "gpio18";                  
 85                 function = "gpio";                
 86                 bias-pull-up;                     
 87         };                                        
 88                                                   
 89         h1_ap_int_odl: h1-ap-int-odl-state {      
 90                 pins = "gpio104";                 
 91                 function = "gpio";                
 92                 bias-pull-up;                     
 93         };                                        
 94                                                   
 95         qup_spi10_cs_gpio_init_high: qup-spi10    
 96                 pins = "gpio43";                  
 97                 function = "gpio";                
 98                 output-high;                      
 99         };                                        
100                                                   
101         qup_spi14_cs_gpio_init_high: qup-spi14    
102                 pins = "gpio59";                  
103                 function = "gpio";                
104                 output-high;                      
105         };                                        
106 };                                                
                                                      

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