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


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

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