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

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


  1 // SPDX-License-Identifier: BSD-3-Clause            1 // SPDX-License-Identifier: BSD-3-Clause
  2 /*                                                  2 /*
  3  * Copyright (c) 2020, Konrad Dybcio <konrad.dy      3  * Copyright (c) 2020, Konrad Dybcio <konrad.dybcio@somainline.org>
  4  */                                                 4  */
  5                                                     5 
  6 #include "msm8994.dtsi"                             6 #include "msm8994.dtsi"
  7 #include "pm8994.dtsi"                              7 #include "pm8994.dtsi"
  8 #include "pmi8994.dtsi"                             8 #include "pmi8994.dtsi"
  9 #include <dt-bindings/gpio/gpio.h>                  9 #include <dt-bindings/gpio/gpio.h>
 10 #include <dt-bindings/input/gpio-keys.h>           10 #include <dt-bindings/input/gpio-keys.h>
 11                                                    11 
 12 / {                                                12 / {
 13         /* required for bootloader to select c     13         /* required for bootloader to select correct board */
 14                                                    14 
 15         /*                                         15         /*
 16          * We support MSM8994 v2 (0x20000) and     16          * We support MSM8994 v2 (0x20000) and v2.1 (0x20001).
 17          * The V1 chip (0x0 and 0x10000) is si     17          * The V1 chip (0x0 and 0x10000) is significantly different
 18          * and requires driver-side changes (i     18          * and requires driver-side changes (including CPR, be warned!!).
 19          * Besides that, it's very rare.           19          * Besides that, it's very rare.
 20          */                                        20          */
 21         qcom,msm-id = <207 0x20000>, <207 0x20     21         qcom,msm-id = <207 0x20000>, <207 0x20001>;
 22         /* We only use pm8994+pmi8994. */          22         /* We only use pm8994+pmi8994. */
 23         qcom,pmic-id = <0x10009 0x1000a 0x00 0     23         qcom,pmic-id = <0x10009 0x1000a 0x00 0x00>;
 24         /* This property is shared across all      24         /* This property is shared across all kitakami devices. */
 25         qcom,board-id = <8 0>;                     25         qcom,board-id = <8 0>;
 26                                                    26 
 27         /* Kitakami firmware doesn't support P     27         /* Kitakami firmware doesn't support PSCI */
 28         /delete-node/ psci;                        28         /delete-node/ psci;
 29                                                    29 
 30         gpio-keys {                            !!  30         gpio_keys {
 31                 compatible = "gpio-keys";          31                 compatible = "gpio-keys";
                                                   >>  32                 input-name = "gpio-keys";
                                                   >>  33                 #address-cells = <1>;
                                                   >>  34                 #size-cells = <0>;
 32                 autorepeat;                        35                 autorepeat;
 33                                                    36 
 34                 button-0 {                     !!  37                 button@0 {
 35                         label = "Volume Down";     38                         label = "Volume Down";
 36                         gpios = <&pm8994_gpios     39                         gpios = <&pm8994_gpios 2 GPIO_ACTIVE_LOW>;
 37                         linux,input-type = <1>     40                         linux,input-type = <1>;
 38                         linux,code = <KEY_VOLU     41                         linux,code = <KEY_VOLUMEDOWN>;
 39                         wakeup-source;             42                         wakeup-source;
 40                         debounce-interval = <1     43                         debounce-interval = <15>;
 41                 };                                 44                 };
 42                                                    45 
 43                 button-1 {                     !!  46                 button@1 {
 44                         label = "Volume Up";       47                         label = "Volume Up";
 45                         gpios = <&pm8994_gpios     48                         gpios = <&pm8994_gpios 3 GPIO_ACTIVE_LOW>;
 46                         linux,input-type = <1>     49                         linux,input-type = <1>;
 47                         linux,code = <KEY_VOLU     50                         linux,code = <KEY_VOLUMEUP>;
 48                         wakeup-source;             51                         wakeup-source;
 49                         debounce-interval = <1     52                         debounce-interval = <15>;
 50                 };                                 53                 };
 51                                                    54 
 52                 button-2 {                     !!  55                 button@2 {
 53                         label = "Camera Snapsh     56                         label = "Camera Snapshot";
 54                         gpios = <&pm8994_gpios     57                         gpios = <&pm8994_gpios 4 GPIO_ACTIVE_LOW>;
 55                         linux,input-type = <1>     58                         linux,input-type = <1>;
 56                         linux,code = <KEY_CAME     59                         linux,code = <KEY_CAMERA>;
 57                         wakeup-source;             60                         wakeup-source;
 58                         debounce-interval = <1     61                         debounce-interval = <15>;
 59                 };                                 62                 };
 60                                                    63 
 61                 button-3 {                     !!  64                 button@3 {
 62                         label = "Camera Focus"     65                         label = "Camera Focus";
 63                         gpios = <&pm8994_gpios     66                         gpios = <&pm8994_gpios 5 GPIO_ACTIVE_LOW>;
 64                         linux,input-type = <1>     67                         linux,input-type = <1>;
 65                         linux,code = <KEY_VOLU     68                         linux,code = <KEY_VOLUMEUP>;
 66                         wakeup-source;             69                         wakeup-source;
 67                         debounce-interval = <1     70                         debounce-interval = <15>;
 68                 };                                 71                 };
 69         };                                         72         };
 70                                                    73 
 71         reserved-memory {                          74         reserved-memory {
 72                 /* This is for getting crash l     75                 /* This is for getting crash logs using Android downstream kernels */
 73                 ramoops@1fe00000 {                 76                 ramoops@1fe00000 {
 74                         compatible = "ramoops"     77                         compatible = "ramoops";
 75                         reg = <0 0x1fe00000 0      78                         reg = <0 0x1fe00000 0 0x200000>;
 76                         console-size = <0x1000     79                         console-size = <0x100000>;
 77                         record-size = <0x10000     80                         record-size = <0x10000>;
 78                         ftrace-size = <0x10000     81                         ftrace-size = <0x10000>;
 79                         pmsg-size = <0x80000>;     82                         pmsg-size = <0x80000>;
 80                 };                                 83                 };
 81                                                    84 
 82                 fb_region: fb@40000000 {       !!  85                 fb_region: fb_region@40000000 {
 83                         reg = <0 0x40000000 0      86                         reg = <0 0x40000000 0 0x1000000>;
 84                         no-map;                    87                         no-map;
 85                 };                                 88                 };
 86                                                    89 
 87                 tzapp: memory@c7800000 {           90                 tzapp: memory@c7800000 {
 88                         reg = <0 0xc7800000 0      91                         reg = <0 0xc7800000 0 0x1900000>;
 89                         no-map;                    92                         no-map;
 90                 };                                 93                 };
 91         };                                         94         };
 92 };                                                 95 };
 93                                                    96 
 94 &blsp1_spi1 {                                      97 &blsp1_spi1 {
 95         status = "okay";                           98         status = "okay";
 96                                                    99 
 97         /* FPC fingerprint reader */              100         /* FPC fingerprint reader */
 98 };                                                101 };
 99                                                   102 
100 /* I2C1 is disabled on this board */              103 /* I2C1 is disabled on this board */
101                                                   104 
102 &blsp1_i2c2 {                                     105 &blsp1_i2c2 {
103         status = "okay";                          106         status = "okay";
104         clock-frequency = <355000>;               107         clock-frequency = <355000>;
105                                                   108 
106         /* NXP PN547 NFC */                       109         /* NXP PN547 NFC */
107 };                                                110 };
108                                                   111 
                                                   >> 112 &blsp1_i2c4 {
                                                   >> 113         status = "okay";
                                                   >> 114         clock-frequency = <355000>;
                                                   >> 115 
                                                   >> 116         /* Empty but active */
                                                   >> 117 };
                                                   >> 118 
109 &blsp1_i2c6 {                                     119 &blsp1_i2c6 {
110         status = "okay";                          120         status = "okay";
111         clock-frequency = <355000>;               121         clock-frequency = <355000>;
112                                                   122 
113         touchscreen: rmi4-i2c-dev@2c {            123         touchscreen: rmi4-i2c-dev@2c {
114                 compatible = "syna,rmi4-i2c";     124                 compatible = "syna,rmi4-i2c";
115                 reg = <0x2c>;                     125                 reg = <0x2c>;
116                 #address-cells = <1>;             126                 #address-cells = <1>;
117                 #size-cells = <0>;                127                 #size-cells = <0>;
118                                                   128 
119                 interrupt-parent = <&tlmm>;       129                 interrupt-parent = <&tlmm>;
120                 interrupts = <42 IRQ_TYPE_EDGE    130                 interrupts = <42 IRQ_TYPE_EDGE_FALLING>;
121                                                   131 
122                 pinctrl-names = "default";        132                 pinctrl-names = "default";
123                 pinctrl-0 = <&ts_int_active &t    133                 pinctrl-0 = <&ts_int_active &ts_reset_active>;
124                                                   134 
125                 vdd-supply = <&pm8994_l22>;       135                 vdd-supply = <&pm8994_l22>;
126                 vio-supply = <&pm8994_s4>;        136                 vio-supply = <&pm8994_s4>;
127                                                   137 
128                 syna,reset-delay-ms = <220>;      138                 syna,reset-delay-ms = <220>;
129                 syna,startup-delay-ms = <220>;    139                 syna,startup-delay-ms = <220>;
130                                                   140 
131                 rmi4-f01@1 {                      141                 rmi4-f01@1 {
132                         reg = <0x01>;             142                         reg = <0x01>;
133                         syna,nosleep-mode = <1    143                         syna,nosleep-mode = <1>;
134                 };                                144                 };
135                                                   145 
136                 rmi4-f11@11 {                     146                 rmi4-f11@11 {
137                         reg = <0x11>;             147                         reg = <0x11>;
138                         syna,sensor-type = <1>    148                         syna,sensor-type = <1>;
139                 };                                149                 };
140         };                                        150         };
141 };                                                151 };
142                                                   152 
143 &blsp1_uart2 {                                    153 &blsp1_uart2 {
144         status = "okay";                          154         status = "okay";
145 };                                                155 };
146                                                   156 
147 &blsp2_i2c5 {                                     157 &blsp2_i2c5 {
148         status = "okay";                          158         status = "okay";
149         clock-frequency = <355000>;               159         clock-frequency = <355000>;
150                                                   160 
151         /* sii8620 HDMI/MHL bridge */             161         /* sii8620 HDMI/MHL bridge */
152 };                                                162 };
153                                                   163 
154 &blsp2_uart2 {                                    164 &blsp2_uart2 {
155         status = "okay";                          165         status = "okay";
156 };                                                166 };
157                                                   167 
158 /*                                                168 /*
159  * Kitakami bootloader only turns cont_splash     169  * Kitakami bootloader only turns cont_splash on when it detects
160  * specific downstream MDSS/backlight nodes in    170  * specific downstream MDSS/backlight nodes in the active DTB.
161  * One way to use that framebuffer is to load     171  * One way to use that framebuffer is to load a secondary instance of
162  * LK with the downstream DTB appended and the    172  * LK with the downstream DTB appended and then, only from there, load
163  * mainline Linux.                                173  * mainline Linux.
164  */                                               174  */
165 &cont_splash_mem {                                175 &cont_splash_mem {
166         reg = <0 0x03401000 0 0x2200000>;      !! 176         reg = <0 0x3401000 0 0x2200000>;
167 };                                                177 };
168                                                   178 
169 &pmi8994_spmi_regulators {                        179 &pmi8994_spmi_regulators {
170         /*                                        180         /*
171          * Yeah, this one *is* managed by RPMP    181          * Yeah, this one *is* managed by RPMPD, but also needs
172          * to be hacked up as a-o due to the G    182          * to be hacked up as a-o due to the GPU device only accepting a single
173          * power domain.. which still isn't en    183          * power domain.. which still isn't enough and forces us to bind
174          * OXILI_CX and OXILI_GX together!        184          * OXILI_CX and OXILI_GX together!
175          */                                       185          */
176         vdd_gfx: s2 {                          !! 186         vdd_gfx: s2@1700 {
                                                   >> 187                 reg = <0x1700 0x100>;
177                 regulator-name = "VDD_GFX";       188                 regulator-name = "VDD_GFX";
178                 regulator-min-microvolt = <980    189                 regulator-min-microvolt = <980000>;
179                 regulator-max-microvolt = <980    190                 regulator-max-microvolt = <980000>;
180                                                   191 
181                 /* hack until we rig up the gp    192                 /* hack until we rig up the gpu consumer */
182                 regulator-always-on;              193                 regulator-always-on;
183         };                                        194         };
184 };                                                195 };
185                                                   196 
186 &rpm_requests {                                   197 &rpm_requests {
187         /* PMI8994 should probe first, because !! 198         pm8994_regulators: pm8994-regulators {
188         pmi8994_regulators: regulators-0 {     << 
189                 compatible = "qcom,rpm-pmi8994 << 
190                                                << 
191                 vdd_s1-supply = <&vph_pwr>;    << 
192                 vdd_bst_byp-supply = <&vph_pwr << 
193                                                << 
194                 pmi8994_s1: s1 {               << 
195                         regulator-min-microvol << 
196                         regulator-max-microvol << 
197                 };                             << 
198                                                << 
199                 /* S2 & S3 - VDD_GFX */        << 
200                                                << 
201                 pmi8994_bby: boost-bypass {    << 
202                         regulator-min-microvol << 
203                         regulator-max-microvol << 
204                 };                             << 
205         };                                     << 
206                                                << 
207         pm8994_regulators: regulators-1 {      << 
208                 compatible = "qcom,rpm-pm8994-    199                 compatible = "qcom,rpm-pm8994-regulators";
209                                                   200 
                                                   >> 201                 vdd_s1-supply = <&vph_pwr>;
                                                   >> 202                 vdd_s2-supply = <&vph_pwr>;
210                 vdd_s3-supply = <&vph_pwr>;       203                 vdd_s3-supply = <&vph_pwr>;
211                 vdd_s4-supply = <&vph_pwr>;       204                 vdd_s4-supply = <&vph_pwr>;
212                 vdd_s5-supply = <&vph_pwr>;       205                 vdd_s5-supply = <&vph_pwr>;
213                 vdd_s6-supply = <&vph_pwr>;       206                 vdd_s6-supply = <&vph_pwr>;
214                 vdd_s7-supply = <&vph_pwr>;       207                 vdd_s7-supply = <&vph_pwr>;
                                                   >> 208                 vdd_s8-supply = <&vph_pwr>;
                                                   >> 209                 vdd_s9-supply = <&vph_pwr>;
                                                   >> 210                 vdd_s10-supply = <&vph_pwr>;
                                                   >> 211                 vdd_s11-supply = <&vph_pwr>;
                                                   >> 212                 vdd_s12-supply = <&vph_pwr>;
215                 vdd_l1-supply = <&pmi8994_s1>;    213                 vdd_l1-supply = <&pmi8994_s1>;
216                 vdd_l2_l26_l28-supply = <&pm89    214                 vdd_l2_l26_l28-supply = <&pm8994_s3>;
217                 vdd_l3_l11-supply = <&pm8994_s    215                 vdd_l3_l11-supply = <&pm8994_s3>;
218                 vdd_l4_l27_l31-supply = <&pm89    216                 vdd_l4_l27_l31-supply = <&pm8994_s3>;
                                                   >> 217                 vdd_l5_l7-supply = <&pm8994_s5>;
219                 vdd_l6_l12_l32-supply = <&pm89    218                 vdd_l6_l12_l32-supply = <&pm8994_s5>;
220                 vdd_l8_l16_l30-supply = <&vph_    219                 vdd_l8_l16_l30-supply = <&vph_pwr>;
221                 vdd_l9_l10_l18_l22-supply = <&    220                 vdd_l9_l10_l18_l22-supply = <&pmi8994_bby>;
222                 vdd_l13_l19_l23_l24-supply = <    221                 vdd_l13_l19_l23_l24-supply = <&pmi8994_bby>;
223                 vdd_l14_l15-supply = <&pm8994_    222                 vdd_l14_l15-supply = <&pm8994_s5>;
224                 vdd_l17_l29-supply = <&pmi8994    223                 vdd_l17_l29-supply = <&pmi8994_bby>;
225                 vdd_l20_l21-supply = <&pmi8994    224                 vdd_l20_l21-supply = <&pmi8994_bby>;
226                 vdd_l25-supply = <&pm8994_s3>;    225                 vdd_l25-supply = <&pm8994_s3>;
227                 vdd_lvs1_2-supply = <&pm8994_s !! 226                 vdd_lvs1_lvs2-supply = <&pm8994_s4>;
228                                                   227 
229                 /* S1, S2, S6 and S12 are mana    228                 /* S1, S2, S6 and S12 are managed by RPMPD */
230                                                   229 
231                 pm8994_s3: s3 {                   230                 pm8994_s3: s3 {
232                         regulator-min-microvol    231                         regulator-min-microvolt = <1300000>;
233                         regulator-max-microvol    232                         regulator-max-microvolt = <1300000>;
234                 };                                233                 };
235                                                   234 
236                 pm8994_s4: s4 {                   235                 pm8994_s4: s4 {
237                         regulator-min-microvol    236                         regulator-min-microvolt = <1800000>;
238                         regulator-max-microvol    237                         regulator-max-microvolt = <1800000>;
239                         regulator-system-load  << 
240                         regulator-allow-set-lo    238                         regulator-allow-set-load;
241                         regulator-always-on;      239                         regulator-always-on;
                                                   >> 240                         regulator-system-load = <325000>;
242                 };                                241                 };
243                                                   242 
244                 pm8994_s5: s5 {                   243                 pm8994_s5: s5 {
245                         regulator-min-microvol    244                         regulator-min-microvolt = <2150000>;
246                         regulator-max-microvol    245                         regulator-max-microvolt = <2150000>;
247                 };                                246                 };
248                                                   247 
249                 pm8994_s7: s7 {                   248                 pm8994_s7: s7 {
250                         regulator-min-microvol    249                         regulator-min-microvolt = <1000000>;
251                         regulator-max-microvol    250                         regulator-max-microvolt = <1000000>;
252                 };                                251                 };
253                                                   252 
254                 /*                                253                 /*
255                  * S8 - SPMI-managed VDD_APC0     254                  * S8 - SPMI-managed VDD_APC0
256                  * S9, S10 and S11 (the main o    255                  * S9, S10 and S11 (the main one) - SPMI-managed VDD_APC1
257                  */                               256                  */
258                                                   257 
259                 pm8994_l1: l1 {                   258                 pm8994_l1: l1 {
260                         regulator-min-microvol    259                         regulator-min-microvolt = <1000000>;
261                         regulator-max-microvol    260                         regulator-max-microvolt = <1000000>;
262                 };                                261                 };
263                                                   262 
264                 pm8994_l2: l2 {                   263                 pm8994_l2: l2 {
265                         regulator-min-microvol    264                         regulator-min-microvolt = <1250000>;
266                         regulator-max-microvol    265                         regulator-max-microvolt = <1250000>;
267                         regulator-system-load  << 
268                         regulator-allow-set-lo    266                         regulator-allow-set-load;
                                                   >> 267                         regulator-system-load = <10000>;
269                 };                                268                 };
270                                                   269 
271                 pm8994_l3: l3 {                   270                 pm8994_l3: l3 {
272                         regulator-min-microvol    271                         regulator-min-microvolt = <1100000>;
273                         regulator-max-microvol    272                         regulator-max-microvolt = <1100000>;
274                         regulator-boot-on;     << 
275                 };                                273                 };
276                                                   274 
277                 pm8994_l4: l4 {                   275                 pm8994_l4: l4 {
278                         regulator-min-microvol    276                         regulator-min-microvolt = <1225000>;
279                         regulator-max-microvol    277                         regulator-max-microvolt = <1225000>;
280                 };                                278                 };
281                                                   279 
282                 /* L5 is inaccessible from RPM    280                 /* L5 is inaccessible from RPM */
283                                                   281 
284                 pm8994_l6: l6 {                   282                 pm8994_l6: l6 {
285                         regulator-min-microvol    283                         regulator-min-microvolt = <1800000>;
286                         regulator-max-microvol    284                         regulator-max-microvolt = <1800000>;
287                 };                                285                 };
288                                                   286 
289                 /* L7 is inaccessible from RPM    287                 /* L7 is inaccessible from RPM */
290                                                   288 
291                 pm8994_l8: l8 {                   289                 pm8994_l8: l8 {
292                         regulator-min-microvol    290                         regulator-min-microvolt = <1800000>;
293                         regulator-max-microvol    291                         regulator-max-microvolt = <1800000>;
294                 };                                292                 };
295                                                   293 
296                 pm8994_l9: l9 {                   294                 pm8994_l9: l9 {
297                         regulator-min-microvol    295                         regulator-min-microvolt = <1800000>;
298                         regulator-max-microvol    296                         regulator-max-microvolt = <1800000>;
299                 };                                297                 };
300                                                   298 
301                 pm8994_l10: l10 {                 299                 pm8994_l10: l10 {
302                         regulator-min-microvol    300                         regulator-min-microvolt = <1800000>;
303                         regulator-max-microvol    301                         regulator-max-microvolt = <1800000>;
304                 };                                302                 };
305                                                   303 
306                 pm8994_l11: l11 {                 304                 pm8994_l11: l11 {
307                         regulator-min-microvol    305                         regulator-min-microvolt = <1200000>;
308                         regulator-max-microvol    306                         regulator-max-microvolt = <1200000>;
309                 };                                307                 };
310                                                   308 
311                 pm8994_l12: l12 {                 309                 pm8994_l12: l12 {
312                         regulator-min-microvol    310                         regulator-min-microvolt = <1800000>;
313                         regulator-max-microvol    311                         regulator-max-microvolt = <1800000>;
314                         regulator-system-load  << 
315                         regulator-allow-set-lo    312                         regulator-allow-set-load;
                                                   >> 313                         regulator-system-load = <10000>;
316                 };                                314                 };
317                                                   315 
318                 pm8994_l13: l13 {                 316                 pm8994_l13: l13 {
319                         regulator-min-microvol    317                         regulator-min-microvolt = <1800000>;
320                         regulator-max-microvol    318                         regulator-max-microvolt = <2950000>;
321                 };                                319                 };
322                                                   320 
323                 pm8994_l14: l14 {                 321                 pm8994_l14: l14 {
324                         regulator-min-microvol    322                         regulator-min-microvolt = <1800000>;
325                         regulator-max-microvol    323                         regulator-max-microvolt = <1800000>;
326                         regulator-system-load  << 
327                         regulator-allow-set-lo    324                         regulator-allow-set-load;
328                         regulator-boot-on;     !! 325                         regulator-system-load = <10000>;
329                 };                                326                 };
330                                                   327 
331                 pm8994_l15: l15 {                 328                 pm8994_l15: l15 {
332                         regulator-min-microvol    329                         regulator-min-microvolt = <1800000>;
333                         regulator-max-microvol    330                         regulator-max-microvolt = <1800000>;
334                 };                                331                 };
335                                                   332 
336                 pm8994_l16: l16 {                 333                 pm8994_l16: l16 {
337                         regulator-min-microvol    334                         regulator-min-microvolt = <2700000>;
338                         regulator-max-microvol    335                         regulator-max-microvolt = <2700000>;
339                 };                                336                 };
340                                                   337 
341                 pm8994_l17: l17 {                 338                 pm8994_l17: l17 {
342                         regulator-min-microvol    339                         regulator-min-microvolt = <2200000>;
343                         regulator-max-microvol    340                         regulator-max-microvolt = <2200000>;
344                         regulator-boot-on;     << 
345                 };                                341                 };
346                                                   342 
347                 pm8994_l18: l18 {                 343                 pm8994_l18: l18 {
348                         regulator-min-microvol    344                         regulator-min-microvolt = <2850000>;
349                         regulator-max-microvol    345                         regulator-max-microvolt = <2850000>;
350                         regulator-always-on;      346                         regulator-always-on;
351                         regulator-boot-on;     << 
352                 };                                347                 };
353                                                   348 
354                 pm8994_l19: l19 {                 349                 pm8994_l19: l19 {
355                         regulator-min-microvol    350                         regulator-min-microvolt = <2850000>;
356                         regulator-max-microvol    351                         regulator-max-microvolt = <2850000>;
357                         regulator-boot-on;     << 
358                 };                                352                 };
359                                                   353 
360                 pm8994_l20: l20 {                 354                 pm8994_l20: l20 {
361                         regulator-min-microvol    355                         regulator-min-microvolt = <2950000>;
362                         regulator-max-microvol    356                         regulator-max-microvolt = <2950000>;
363                         regulator-system-load  !! 357                         regulator-always-on;
                                                   >> 358                         regulator-boot-on;
364                         regulator-allow-set-lo    359                         regulator-allow-set-load;
                                                   >> 360                         regulator-system-load = <570000>;
365                 };                                361                 };
366                                                   362 
367                 pm8994_l21: l21 {                 363                 pm8994_l21: l21 {
368                         regulator-min-microvol    364                         regulator-min-microvolt = <2950000>;
369                         regulator-max-microvol    365                         regulator-max-microvolt = <2950000>;
370                         regulator-system-load  !! 366                         regulator-always-on;
371                         regulator-allow-set-lo    367                         regulator-allow-set-load;
                                                   >> 368                         regulator-system-load = <800000>;
372                 };                                369                 };
373                                                   370 
374                 pm8994_l22: l22 {                 371                 pm8994_l22: l22 {
375                         regulator-min-microvol    372                         regulator-min-microvolt = <3000000>;
376                         regulator-max-microvol    373                         regulator-max-microvolt = <3000000>;
377                         regulator-boot-on;     << 
378                 };                                374                 };
379                                                   375 
380                 pm8994_l23: l23 {                 376                 pm8994_l23: l23 {
381                         regulator-min-microvol    377                         regulator-min-microvolt = <2800000>;
382                         regulator-max-microvol    378                         regulator-max-microvolt = <2800000>;
383                         regulator-always-on;   << 
384                         regulator-boot-on;     << 
385                 };                                379                 };
386                                                   380 
387                 pm8994_l24: l24 {                 381                 pm8994_l24: l24 {
388                         regulator-min-microvol    382                         regulator-min-microvolt = <3075000>;
389                         regulator-max-microvol    383                         regulator-max-microvolt = <3150000>;
390                 };                                384                 };
391                                                   385 
392                 pm8994_l25: l25 {                 386                 pm8994_l25: l25 {
393                         regulator-min-microvol    387                         regulator-min-microvolt = <1000000>;
394                         regulator-max-microvol    388                         regulator-max-microvolt = <1000000>;
395                         regulator-boot-on;     << 
396                 };                                389                 };
397                                                   390 
398                 pm8994_l26: l26 {                 391                 pm8994_l26: l26 {
399                         regulator-min-microvol    392                         regulator-min-microvolt = <987500>;
400                         regulator-max-microvol    393                         regulator-max-microvolt = <987500>;
401                 };                                394                 };
402                                                   395 
403                 pm8994_l27: l27 {                 396                 pm8994_l27: l27 {
404                         regulator-min-microvol    397                         regulator-min-microvolt = <1200000>;
405                         regulator-max-microvol    398                         regulator-max-microvolt = <1200000>;
406                         regulator-boot-on;     << 
407                 };                                399                 };
408                                                   400 
409                 pm8994_l28: l28 {                 401                 pm8994_l28: l28 {
410                         regulator-min-microvol    402                         regulator-min-microvolt = <1000000>;
411                         regulator-max-microvol    403                         regulator-max-microvolt = <1000000>;
412                         regulator-system-load  << 
413                         regulator-allow-set-lo    404                         regulator-allow-set-load;
                                                   >> 405                         regulator-system-load = <10000>;
414                 };                                406                 };
415                                                   407 
416                 pm8994_l29: l29 {                 408                 pm8994_l29: l29 {
417                         regulator-min-microvol    409                         regulator-min-microvolt = <2700000>;
418                         regulator-max-microvol    410                         regulator-max-microvolt = <2700000>;
419                         regulator-boot-on;     << 
420                 };                                411                 };
421                                                   412 
422                 pm8994_l30: l30 {                 413                 pm8994_l30: l30 {
423                         regulator-min-microvol    414                         regulator-min-microvolt = <1800000>;
424                         regulator-max-microvol    415                         regulator-max-microvolt = <1800000>;
425                         regulator-boot-on;     << 
426                 };                                416                 };
427                                                   417 
428                 pm8994_l31: l31 {                 418                 pm8994_l31: l31 {
429                         regulator-min-microvol    419                         regulator-min-microvolt = <1200000>;
430                         regulator-max-microvol    420                         regulator-max-microvolt = <1200000>;
431                         regulator-system-load  << 
432                         regulator-allow-set-lo    421                         regulator-allow-set-load;
                                                   >> 422                         regulator-system-load = <10000>;
433                 };                                423                 };
434                                                   424 
435                 pm8994_l32: l32 {                 425                 pm8994_l32: l32 {
436                         regulator-min-microvol    426                         regulator-min-microvolt = <1800000>;
437                         regulator-max-microvol    427                         regulator-max-microvolt = <1800000>;
438                 };                                428                 };
439                                                   429 
440                 pm8994_lvs1: lvs1 {            !! 430                 pm8994_lvs1: lvs1 {};
441                         regulator-boot-on;     !! 431                 pm8994_lvs2: lvs2 {};
                                                   >> 432         };
                                                   >> 433 
                                                   >> 434         pmi8994_regulators: pmi8994-regulators {
                                                   >> 435                 compatible = "qcom,rpm-pmi8994-regulators";
                                                   >> 436 
                                                   >> 437                 vdd_s1-supply = <&vph_pwr>;
                                                   >> 438                 vdd_bst_byp-supply = <&vph_pwr>;
                                                   >> 439 
                                                   >> 440                 pmi8994_s1: s1 {
                                                   >> 441                         regulator-min-microvolt = <1025000>;
                                                   >> 442                         regulator-max-microvolt = <1025000>;
442                 };                                443                 };
443                 pm8994_lvs2: lvs2 {            !! 444 
444                         regulator-boot-on;     !! 445                 /* S2 & S3 - VDD_GFX */
                                                   >> 446 
                                                   >> 447                 pmi8994_bby: boost-bypass {
                                                   >> 448                         regulator-min-microvolt = <3150000>;
                                                   >> 449                         regulator-max-microvolt = <3600000>;
445                 };                                450                 };
446         };                                        451         };
447 };                                                452 };
448                                                   453 
449 &sdhc1 {                                          454 &sdhc1 {
450         /*                                        455         /*
451          * There is an issue with the eMMC cau    456          * There is an issue with the eMMC causing permanent
452          * damage to the card if a quirk isn't    457          * damage to the card if a quirk isn't addressed.
453          * Until it's fixed, disable the MMC s    458          * Until it's fixed, disable the MMC so as not to brick
454          * devices.                               459          * devices.
455          */                                       460          */
456         status = "disabled";                      461         status = "disabled";
457                                                   462 
458         /*                                        463         /*
459          * Downstream pushes 2.95V to the sdhc    464          * Downstream pushes 2.95V to the sdhci device,
460          * but upstream driver REALLY wants to    465          * but upstream driver REALLY wants to make vmmc 1.8v
461          * cause of the hs400-1_8v mode. MMC w    466          * cause of the hs400-1_8v mode. MMC works fine without
462          * that regulator, so let's not use it    467          * that regulator, so let's not use it for now.
463          * vqmmc is also disabled cause driver    468          * vqmmc is also disabled cause driver stll complains.
464          *                                        469          *
465          * vmmc-supply = <&pm8994_l20>;           470          * vmmc-supply = <&pm8994_l20>;
466          * vqmmc-supply = <&pm8994_s4>;           471          * vqmmc-supply = <&pm8994_s4>;
467          */                                       472          */
468 };                                                473 };
469                                                   474 
470 &sdhc2 {                                          475 &sdhc2 {
471         status = "okay";                          476         status = "okay";
472                                                   477 
473         cd-gpios = <&tlmm 100 GPIO_ACTIVE_HIGH !! 478         cd-gpios = <&tlmm 100 0>;
474         vmmc-supply = <&pm8994_l21>;              479         vmmc-supply = <&pm8994_l21>;
475         vqmmc-supply = <&pm8994_l13>;             480         vqmmc-supply = <&pm8994_l13>;
476 };                                                481 };
477                                                   482 
478 &tlmm {                                           483 &tlmm {
479         ts_int_active: ts-int-active-state {   !! 484         ts_int_active: ts-int-active {
480                 pins = "gpio42";                  485                 pins = "gpio42";
481                 function = "gpio";             << 
482                 drive-strength = <2>;             486                 drive-strength = <2>;
483                 bias-disable;                     487                 bias-disable;
                                                   >> 488                 input-enable;
484         };                                        489         };
485                                                   490 
486         ts_reset_active: ts-reset-active-state !! 491         ts_reset_active: ts-reset-active {
487                 pins = "gpio109";                 492                 pins = "gpio109";
488                 function = "gpio";             << 
489                 drive-strength = <2>;             493                 drive-strength = <2>;
490                 bias-disable;                     494                 bias-disable;
491                 output-low;                       495                 output-low;
492         };                                        496         };
493 };                                                497 };
                                                      

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