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


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