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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/qcom/pm6150.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/pm6150.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm64/qcom/pm6150.dtsi (Architecture sparc)


  1 // SPDX-License-Identifier: BSD-3-Clause            1 // SPDX-License-Identifier: BSD-3-Clause
  2 /*                                                  2 /*
  3  * Copyright (c) 2019, The Linux Foundation. A      3  * Copyright (c) 2019, The Linux Foundation. All rights reserved.
  4  */                                                 4  */
  5                                                     5 
  6 #include <dt-bindings/iio/qcom,spmi-vadc.h>         6 #include <dt-bindings/iio/qcom,spmi-vadc.h>
  7 #include <dt-bindings/input/linux-event-codes.      7 #include <dt-bindings/input/linux-event-codes.h>
  8 #include <dt-bindings/interrupt-controller/irq      8 #include <dt-bindings/interrupt-controller/irq.h>
  9 #include <dt-bindings/spmi/spmi.h>                  9 #include <dt-bindings/spmi/spmi.h>
 10 #include <dt-bindings/thermal/thermal.h>           10 #include <dt-bindings/thermal/thermal.h>
 11                                                    11 
 12 / {                                                12 / {
 13         thermal-zones {                            13         thermal-zones {
 14                 pm6150_thermal: pm6150-thermal     14                 pm6150_thermal: pm6150-thermal {
 15                         polling-delay-passive      15                         polling-delay-passive = <100>;
 16                                                    16 
 17                         thermal-sensors = <&pm     17                         thermal-sensors = <&pm6150_temp>;
 18                                                    18 
 19                         trips {                    19                         trips {
 20                                 pm6150_trip0:      20                                 pm6150_trip0: trip0 {
 21                                         temper     21                                         temperature = <95000>;
 22                                         hyster     22                                         hysteresis = <0>;
 23                                         type =     23                                         type = "passive";
 24                                 };                 24                                 };
 25                                                    25 
 26                                 pm6150_crit: c     26                                 pm6150_crit: crit {
 27                                         temper     27                                         temperature = <115000>;
 28                                         hyster     28                                         hysteresis = <0>;
 29                                         type =     29                                         type = "critical";
 30                                 };                 30                                 };
 31                         };                         31                         };
 32                 };                                 32                 };
 33         };                                         33         };
 34 };                                                 34 };
 35                                                    35 
 36 &spmi_bus {                                        36 &spmi_bus {
 37         pm6150_lsid0: pmic@0 {                     37         pm6150_lsid0: pmic@0 {
 38                 compatible = "qcom,pm6150", "q     38                 compatible = "qcom,pm6150", "qcom,spmi-pmic";
 39                 reg = <0x0 SPMI_USID>;             39                 reg = <0x0 SPMI_USID>;
 40                 #address-cells = <1>;              40                 #address-cells = <1>;
 41                 #size-cells = <0>;                 41                 #size-cells = <0>;
 42                                                    42 
 43                 pm6150_pon: pon@800 {              43                 pm6150_pon: pon@800 {
 44                         compatible = "qcom,pm8     44                         compatible = "qcom,pm8998-pon";
 45                         reg = <0x800>;             45                         reg = <0x800>;
 46                         mode-bootloader = <0x2     46                         mode-bootloader = <0x2>;
 47                         mode-recovery = <0x1>;     47                         mode-recovery = <0x1>;
 48                                                    48 
 49                         pm6150_pwrkey: pwrkey      49                         pm6150_pwrkey: pwrkey {
 50                                 compatible = "     50                                 compatible = "qcom,pm8941-pwrkey";
 51                                 interrupts = <     51                                 interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
 52                                 debounce = <15     52                                 debounce = <15625>;
 53                                 bias-pull-up;      53                                 bias-pull-up;
 54                                 linux,code = <     54                                 linux,code = <KEY_POWER>;
 55                         };                         55                         };
 56                                                    56 
 57                         pm6150_resin: resin {      57                         pm6150_resin: resin {
 58                                 compatible = "     58                                 compatible = "qcom,pm8941-resin";
 59                                 interrupts = <     59                                 interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
 60                                 debounce = <15     60                                 debounce = <15625>;
 61                                 bias-pull-up;      61                                 bias-pull-up;
 62                                 status = "disa     62                                 status = "disabled";
 63                         };                         63                         };
 64                 };                                 64                 };
 65                                                    65 
 66                 pm6150_vbus: usb-vbus-regulato     66                 pm6150_vbus: usb-vbus-regulator@1100 {
 67                         compatible = "qcom,pm6     67                         compatible = "qcom,pm6150-vbus-reg",
 68                                      "qcom,pm8     68                                      "qcom,pm8150b-vbus-reg";
 69                         reg = <0x1100>;            69                         reg = <0x1100>;
 70                         status = "disabled";       70                         status = "disabled";
 71                 };                                 71                 };
 72                                                    72 
 73                 pm6150_typec: typec@1500 {         73                 pm6150_typec: typec@1500 {
 74                         compatible = "qcom,pm6     74                         compatible = "qcom,pm6150-typec",
 75                                      "qcom,pm8     75                                      "qcom,pm8150b-typec";
 76                         reg = <0x1500>, <0x170     76                         reg = <0x1500>, <0x1700>;
 77                         interrupts = <0x0 0x15     77                         interrupts = <0x0 0x15 0x00 IRQ_TYPE_EDGE_RISING>,
 78                                      <0x0 0x15     78                                      <0x0 0x15 0x01 IRQ_TYPE_EDGE_BOTH>,
 79                                      <0x0 0x15     79                                      <0x0 0x15 0x02 IRQ_TYPE_EDGE_RISING>,
 80                                      <0x0 0x15     80                                      <0x0 0x15 0x03 IRQ_TYPE_EDGE_BOTH>,
 81                                      <0x0 0x15     81                                      <0x0 0x15 0x04 IRQ_TYPE_EDGE_RISING>,
 82                                      <0x0 0x15     82                                      <0x0 0x15 0x05 IRQ_TYPE_EDGE_RISING>,
 83                                      <0x0 0x15     83                                      <0x0 0x15 0x06 IRQ_TYPE_EDGE_BOTH>,
 84                                      <0x0 0x15     84                                      <0x0 0x15 0x07 IRQ_TYPE_EDGE_RISING>,
 85                                      <0x0 0x17     85                                      <0x0 0x17 0x00 IRQ_TYPE_EDGE_RISING>,
 86                                      <0x0 0x17     86                                      <0x0 0x17 0x01 IRQ_TYPE_EDGE_RISING>,
 87                                      <0x0 0x17     87                                      <0x0 0x17 0x02 IRQ_TYPE_EDGE_RISING>,
 88                                      <0x0 0x17     88                                      <0x0 0x17 0x03 IRQ_TYPE_EDGE_RISING>,
 89                                      <0x0 0x17     89                                      <0x0 0x17 0x04 IRQ_TYPE_EDGE_RISING>,
 90                                      <0x0 0x17     90                                      <0x0 0x17 0x05 IRQ_TYPE_EDGE_RISING>,
 91                                      <0x0 0x17     91                                      <0x0 0x17 0x06 IRQ_TYPE_EDGE_RISING>,
 92                                      <0x0 0x17     92                                      <0x0 0x17 0x07 IRQ_TYPE_EDGE_RISING>;
 93                         interrupt-names = "or-     93                         interrupt-names = "or-rid-detect-change",
 94                                           "vpd     94                                           "vpd-detect",
 95                                           "cc-     95                                           "cc-state-change",
 96                                           "vco     96                                           "vconn-oc",
 97                                           "vbu     97                                           "vbus-change",
 98                                           "att     98                                           "attach-detach",
 99                                           "leg     99                                           "legacy-cable-detect",
100                                           "try    100                                           "try-snk-src-detect",
101                                           "sig    101                                           "sig-tx",
102                                           "sig    102                                           "sig-rx",
103                                           "msg    103                                           "msg-tx",
104                                           "msg    104                                           "msg-rx",
105                                           "msg    105                                           "msg-tx-failed",
106                                           "msg    106                                           "msg-tx-discarded",
107                                           "msg    107                                           "msg-rx-discarded",
108                                           "fr-    108                                           "fr-swap";
109                         status = "disabled";      109                         status = "disabled";
110                 };                                110                 };
111                                                   111 
112                 pm6150_temp: temp-alarm@2400 {    112                 pm6150_temp: temp-alarm@2400 {
113                         compatible = "qcom,spm    113                         compatible = "qcom,spmi-temp-alarm";
114                         reg = <0x2400>;           114                         reg = <0x2400>;
115                         interrupts = <0x0 0x24    115                         interrupts = <0x0 0x24 0x0 IRQ_TYPE_EDGE_RISING>;
116                         io-channels = <&pm6150    116                         io-channels = <&pm6150_adc ADC5_DIE_TEMP>;
117                         io-channel-names = "th    117                         io-channel-names = "thermal";
118                         #thermal-sensor-cells     118                         #thermal-sensor-cells = <0>;
119                 };                                119                 };
120                                                   120 
121                 pm6150_adc: adc@3100 {            121                 pm6150_adc: adc@3100 {
122                         compatible = "qcom,spm    122                         compatible = "qcom,spmi-adc5";
123                         reg = <0x3100>;           123                         reg = <0x3100>;
124                         interrupts = <0x0 0x31    124                         interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
125                         #address-cells = <1>;     125                         #address-cells = <1>;
126                         #size-cells = <0>;        126                         #size-cells = <0>;
127                         #io-channel-cells = <1    127                         #io-channel-cells = <1>;
128                                                   128 
129                         channel@6 {               129                         channel@6 {
130                                 reg = <ADC5_DI    130                                 reg = <ADC5_DIE_TEMP>;
131                                 label = "die_t    131                                 label = "die_temp";
132                         };                        132                         };
133                 };                                133                 };
134                                                   134 
135                 pm6150_adc_tm: adc-tm@3500 {      135                 pm6150_adc_tm: adc-tm@3500 {
136                         compatible = "qcom,spm    136                         compatible = "qcom,spmi-adc-tm5";
137                         reg = <0x3500>;           137                         reg = <0x3500>;
138                         interrupts = <0x0 0x35    138                         interrupts = <0x0 0x35 0x0 IRQ_TYPE_EDGE_RISING>;
139                         #thermal-sensor-cells     139                         #thermal-sensor-cells = <1>;
140                         #address-cells = <1>;     140                         #address-cells = <1>;
141                         #size-cells = <0>;        141                         #size-cells = <0>;
142                         status = "disabled";      142                         status = "disabled";
143                 };                                143                 };
144                                                   144 
145                 pm6150_rtc: rtc@6000 {            145                 pm6150_rtc: rtc@6000 {
146                         compatible = "qcom,pm8    146                         compatible = "qcom,pm8941-rtc";
147                         reg = <0x6000>, <0x610    147                         reg = <0x6000>, <0x6100>;
148                         reg-names = "rtc", "al    148                         reg-names = "rtc", "alarm";
149                         interrupts = <0x0 0x61    149                         interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
150                         status = "disabled";      150                         status = "disabled";
151                 };                                151                 };
152                                                   152 
153                 pm6150_gpios: gpio@c000 {         153                 pm6150_gpios: gpio@c000 {
154                         compatible = "qcom,pm6    154                         compatible = "qcom,pm6150-gpio", "qcom,spmi-gpio";
155                         reg = <0xc000>;           155                         reg = <0xc000>;
156                         gpio-controller;          156                         gpio-controller;
157                         gpio-ranges = <&pm6150    157                         gpio-ranges = <&pm6150_gpios 0 0 10>;
158                         #gpio-cells = <2>;        158                         #gpio-cells = <2>;
159                         interrupt-controller;     159                         interrupt-controller;
160                         #interrupt-cells = <2>    160                         #interrupt-cells = <2>;
161                 };                                161                 };
162         };                                        162         };
163                                                   163 
164         pm6150_lsid1: pmic@1 {                    164         pm6150_lsid1: pmic@1 {
165                 compatible = "qcom,pm6150", "q    165                 compatible = "qcom,pm6150", "qcom,spmi-pmic";
166                 reg = <0x1 SPMI_USID>;            166                 reg = <0x1 SPMI_USID>;
167                 #address-cells = <1>;             167                 #address-cells = <1>;
168                 #size-cells = <0>;                168                 #size-cells = <0>;
169                                                   169 
170                 pm6150_vib: vibrator@5300 {       170                 pm6150_vib: vibrator@5300 {
171                         compatible = "qcom,pm6    171                         compatible = "qcom,pm6150-vib", "qcom,pmi632-vib";
172                         reg = <0x5300>;           172                         reg = <0x5300>;
173                         status = "disabled";      173                         status = "disabled";
174                 };                                174                 };
175         };                                        175         };
176 };                                                176 };
                                                      

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