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

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


  1 // SPDX-License-Identifier: BSD-3-Clause            1 // SPDX-License-Identifier: BSD-3-Clause
  2 /*                                                  2 /*
  3  * Copyright (c) 2017-2019, The Linux Foundati      3  * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
  4  * Copyright (c) 2019, Linaro Limited               4  * Copyright (c) 2019, Linaro Limited
  5  */                                                 5  */
  6                                                     6 
  7 #include <dt-bindings/input/input.h>                7 #include <dt-bindings/input/input.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/iio/qcom,spmi-vadc.h>        10 #include <dt-bindings/iio/qcom,spmi-vadc.h>
 11                                                    11 
 12 / {                                            << 
 13         thermal-zones {                        << 
 14                 pm8150-thermal {               << 
 15                         polling-delay-passive  << 
 16                                                << 
 17                         thermal-sensors = <&pm << 
 18                                                << 
 19                         trips {                << 
 20                                 trip0 {        << 
 21                                         temper << 
 22                                         hyster << 
 23                                         type = << 
 24                                 };             << 
 25                                                << 
 26                                 trip1 {        << 
 27                                         temper << 
 28                                         hyster << 
 29                                         type = << 
 30                                 };             << 
 31                                                << 
 32                                 trip2 {        << 
 33                                         temper << 
 34                                         hyster << 
 35                                         type = << 
 36                                 };             << 
 37                         };                     << 
 38                 };                             << 
 39         };                                     << 
 40 };                                             << 
 41                                                << 
 42 &spmi_bus {                                        12 &spmi_bus {
 43         pm8150_0: pmic@0 {                         13         pm8150_0: pmic@0 {
 44                 compatible = "qcom,pm8150", "q     14                 compatible = "qcom,pm8150", "qcom,spmi-pmic";
 45                 reg = <0x0 SPMI_USID>;             15                 reg = <0x0 SPMI_USID>;
 46                 #address-cells = <1>;              16                 #address-cells = <1>;
 47                 #size-cells = <0>;                 17                 #size-cells = <0>;
 48                                                    18 
 49                 pon: pon@800 {                 !!  19                 pon: power-on@800 {
 50                         compatible = "qcom,pm8     20                         compatible = "qcom,pm8998-pon";
 51                         reg = <0x0800>;            21                         reg = <0x0800>;
 52                         mode-bootloader = <0x2 !!  22                         pwrkey {
 53                         mode-recovery = <0x1>; << 
 54                                                << 
 55                         pon_pwrkey: pwrkey {   << 
 56                                 compatible = "     23                                 compatible = "qcom,pm8941-pwrkey";
 57                                 interrupts = <     24                                 interrupts = <0x0 0x8 0x0 IRQ_TYPE_EDGE_BOTH>;
 58                                 debounce = <15     25                                 debounce = <15625>;
 59                                 bias-pull-up;      26                                 bias-pull-up;
 60                                 linux,code = <     27                                 linux,code = <KEY_POWER>;
 61                                                    28 
 62                                 status = "disa     29                                 status = "disabled";
 63                         };                         30                         };
 64                                                << 
 65                         pon_resin: resin {     << 
 66                                 compatible = " << 
 67                                 interrupts = < << 
 68                                 debounce = <15 << 
 69                                 bias-pull-up;  << 
 70                                                << 
 71                                 status = "disa << 
 72                         };                     << 
 73                 };                             << 
 74                                                << 
 75                 pm8150_temp: temp-alarm@2400 { << 
 76                         compatible = "qcom,spm << 
 77                         reg = <0x2400>;        << 
 78                         interrupts = <0x0 0x24 << 
 79                         io-channels = <&pm8150 << 
 80                         io-channel-names = "th << 
 81                         #thermal-sensor-cells  << 
 82                 };                                 31                 };
 83                                                    32 
 84                 pm8150_adc: adc@3100 {             33                 pm8150_adc: adc@3100 {
 85                         compatible = "qcom,spm     34                         compatible = "qcom,spmi-adc5";
 86                         reg = <0x3100>;            35                         reg = <0x3100>;
 87                         #address-cells = <1>;      36                         #address-cells = <1>;
 88                         #size-cells = <0>;         37                         #size-cells = <0>;
 89                         #io-channel-cells = <1     38                         #io-channel-cells = <1>;
 90                         interrupts = <0x0 0x31     39                         interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
 91                                                    40 
 92                         channel@0 {            !!  41                         status = "disabled";
                                                   >>  42 
                                                   >>  43                         ref-gnd@0 {
 93                                 reg = <ADC5_RE     44                                 reg = <ADC5_REF_GND>;
 94                                 qcom,pre-scali     45                                 qcom,pre-scaling = <1 1>;
 95                                 label = "ref_g     46                                 label = "ref_gnd";
 96                         };                         47                         };
 97                                                    48 
 98                         channel@1 {            !!  49                         vref-1p25@1 {
 99                                 reg = <ADC5_1P     50                                 reg = <ADC5_1P25VREF>;
100                                 qcom,pre-scali     51                                 qcom,pre-scaling = <1 1>;
101                                 label = "vref_     52                                 label = "vref_1p25";
102                         };                         53                         };
103                                                    54 
104                         channel@6 {            !!  55                         die-temp@6 {
105                                 reg = <ADC5_DI     56                                 reg = <ADC5_DIE_TEMP>;
106                                 qcom,pre-scali     57                                 qcom,pre-scaling = <1 1>;
107                                 label = "die_t     58                                 label = "die_temp";
108                         };                         59                         };
109                 };                                 60                 };
110                                                    61 
111                 pm8150_adc_tm: adc-tm@3500 {   << 
112                         compatible = "qcom,spm << 
113                         reg = <0x3500>;        << 
114                         interrupts = <0x0 0x35 << 
115                         #thermal-sensor-cells  << 
116                         #address-cells = <1>;  << 
117                         #size-cells = <0>;     << 
118                         status = "disabled";   << 
119                 };                             << 
120                                                << 
121                 rtc@6000 {                         62                 rtc@6000 {
122                         compatible = "qcom,pm8     63                         compatible = "qcom,pm8941-rtc";
123                         reg = <0x6000>, <0x610 !!  64                         reg = <0x6000>;
124                         reg-names = "rtc", "al     65                         reg-names = "rtc", "alarm";
125                         interrupts = <0x0 0x61     66                         interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>;
                                                   >>  67 
                                                   >>  68                         status = "disabled";
126                 };                                 69                 };
127                                                    70 
128                 pm8150_gpios: gpio@c000 {          71                 pm8150_gpios: gpio@c000 {
129                         compatible = "qcom,pm8 !!  72                         compatible = "qcom,pm8150-gpio";
130                         reg = <0xc000>;            73                         reg = <0xc000>;
131                         gpio-controller;           74                         gpio-controller;
132                         gpio-ranges = <&pm8150 << 
133                         #gpio-cells = <2>;         75                         #gpio-cells = <2>;
134                         interrupt-controller;      76                         interrupt-controller;
135                         #interrupt-cells = <2>     77                         #interrupt-cells = <2>;
136                 };                                 78                 };
137         };                                         79         };
138                                                    80 
139         pmic@1 {                                   81         pmic@1 {
140                 compatible = "qcom,pm8150", "q     82                 compatible = "qcom,pm8150", "qcom,spmi-pmic";
141                 reg = <0x1 SPMI_USID>;             83                 reg = <0x1 SPMI_USID>;
142                 #address-cells = <1>;              84                 #address-cells = <1>;
143                 #size-cells = <0>;                 85                 #size-cells = <0>;
144         };                                         86         };
145 };                                                 87 };
                                                      

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