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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/qcom/qcom-msm8974pro-oneplus-bacon.dts

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/qcom-msm8974pro-oneplus-bacon.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm/qcom/qcom-msm8974pro-oneplus-bacon.dts (Version linux-6.5.13)


  1 // SPDX-License-Identifier: GPL-2.0                 1 // SPDX-License-Identifier: GPL-2.0
  2 #include "qcom-msm8974pro.dtsi"                     2 #include "qcom-msm8974pro.dtsi"
  3 #include "pm8841.dtsi"                         !!   3 #include "qcom-pm8841.dtsi"
  4 #include "pm8941.dtsi"                         !!   4 #include "qcom-pm8941.dtsi"
  5 #include <dt-bindings/input/input.h>                5 #include <dt-bindings/input/input.h>
  6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h      6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
  7                                                     7 
  8 / {                                                 8 / {
  9         model = "OnePlus One";                      9         model = "OnePlus One";
 10         compatible = "oneplus,bacon", "qcom,ms     10         compatible = "oneplus,bacon", "qcom,msm8974pro", "qcom,msm8974";
 11         chassis-type = "handset";                  11         chassis-type = "handset";
 12         qcom,msm-id = <194 0x10000>;               12         qcom,msm-id = <194 0x10000>;
 13         qcom,board-id = <8 0>;                     13         qcom,board-id = <8 0>;
 14                                                    14 
 15         aliases {                                  15         aliases {
 16                 serial0 = &blsp1_uart2;            16                 serial0 = &blsp1_uart2;
 17         };                                         17         };
 18                                                    18 
 19         chosen {                                   19         chosen {
 20                 stdout-path = "serial0:115200n     20                 stdout-path = "serial0:115200n8";
 21         };                                         21         };
 22                                                    22 
 23         gpio-keys {                                23         gpio-keys {
 24                 compatible = "gpio-keys";          24                 compatible = "gpio-keys";
 25                                                    25 
 26                 pinctrl-0 = <&gpio_keys_defaul     26                 pinctrl-0 = <&gpio_keys_default>, <&gpio_hall_sensor_default>;
 27                 pinctrl-names = "default";         27                 pinctrl-names = "default";
 28                                                    28 
 29                 key-volume-down {                  29                 key-volume-down {
 30                         label = "Volume Down";     30                         label = "Volume Down";
 31                         gpios = <&pm8941_gpios     31                         gpios = <&pm8941_gpios 2 GPIO_ACTIVE_LOW>;
 32                         linux,code = <KEY_VOLU     32                         linux,code = <KEY_VOLUMEDOWN>;
 33                         wakeup-source;             33                         wakeup-source;
 34                         debounce-interval = <1     34                         debounce-interval = <15>;
 35                 };                                 35                 };
 36                                                    36 
 37                 key-volume-up {                    37                 key-volume-up {
 38                         label = "Volume Up";       38                         label = "Volume Up";
 39                         gpios = <&pm8941_gpios     39                         gpios = <&pm8941_gpios 5 GPIO_ACTIVE_LOW>;
 40                         linux,code = <KEY_VOLU     40                         linux,code = <KEY_VOLUMEUP>;
 41                         wakeup-source;             41                         wakeup-source;
 42                         debounce-interval = <1     42                         debounce-interval = <15>;
 43                 };                                 43                 };
 44                                                    44 
 45                 event-hall-sensor {                45                 event-hall-sensor {
 46                         label = "Hall Effect S     46                         label = "Hall Effect Sensor";
 47                         gpios = <&tlmm 68 GPIO     47                         gpios = <&tlmm 68 GPIO_ACTIVE_LOW>;
 48                         linux,input-type = <EV     48                         linux,input-type = <EV_SW>;
 49                         linux,code = <SW_LID>;     49                         linux,code = <SW_LID>;
 50                         linux,can-disable;         50                         linux,can-disable;
 51                         debounce-interval = <1     51                         debounce-interval = <150>;
 52                 };                                 52                 };
 53         };                                         53         };
 54                                                << 
 55         vreg_boost: vreg-boost {               << 
 56                 compatible = "regulator-fixed" << 
 57                                                << 
 58                 regulator-name = "vreg-boost"; << 
 59                 regulator-min-microvolt = <315 << 
 60                 regulator-max-microvolt = <315 << 
 61                                                << 
 62                 regulator-always-on;           << 
 63                 regulator-boot-on;             << 
 64                                                << 
 65                 gpio = <&pm8941_gpios 21 GPIO_ << 
 66                 enable-active-high;            << 
 67                                                << 
 68                 pinctrl-names = "default";     << 
 69                 pinctrl-0 = <&boost_bypass_n_p << 
 70         };                                     << 
 71                                                << 
 72         vreg_vph_pwr: vreg-vph-pwr {           << 
 73                 compatible = "regulator-fixed" << 
 74                 regulator-name = "vph-pwr";    << 
 75                                                << 
 76                 regulator-min-microvolt = <360 << 
 77                 regulator-max-microvolt = <360 << 
 78                                                << 
 79                 regulator-always-on;           << 
 80         };                                     << 
 81 };                                                 54 };
 82                                                    55 
 83 &blsp1_i2c1 {                                      56 &blsp1_i2c1 {
 84         status = "okay";                           57         status = "okay";
 85                                                    58 
 86         fuel-gauge@55 {                            59         fuel-gauge@55 {
 87                 compatible = "ti,bq27541";         60                 compatible = "ti,bq27541";
 88                 reg = <0x55>;                      61                 reg = <0x55>;
 89                 power-supplies = <&bq24196_cha     62                 power-supplies = <&bq24196_charger>;
 90         };                                         63         };
 91 };                                                 64 };
 92                                                    65 
 93 &blsp1_i2c2 {                                      66 &blsp1_i2c2 {
 94         status = "okay";                           67         status = "okay";
 95                                                    68 
 96         rmi4-i2c-dev@20 {                          69         rmi4-i2c-dev@20 {
 97                 compatible = "syna,rmi4-i2c";      70                 compatible = "syna,rmi4-i2c";
 98                 reg = <0x20>;                      71                 reg = <0x20>;
 99                                                    72 
100                 syna,startup-delay-ms = <100>;     73                 syna,startup-delay-ms = <100>;
101                                                    74 
102                 interrupts-extended = <&tlmm 6     75                 interrupts-extended = <&tlmm 61 IRQ_TYPE_EDGE_FALLING>;
103                 vdd-supply = <&pm8941_l22>;        76                 vdd-supply = <&pm8941_l22>;
104                 vio-supply = <&pm8941_lvs3>;       77                 vio-supply = <&pm8941_lvs3>;
105                                                    78 
106                 pinctrl-names = "default";         79                 pinctrl-names = "default";
107                 pinctrl-0 = <&touch_default_st     80                 pinctrl-0 = <&touch_default_state>;
108                                                    81 
109                 #address-cells = <1>;              82                 #address-cells = <1>;
110                 #size-cells = <0>;                 83                 #size-cells = <0>;
111                                                    84 
112                 rmi4-f01@1 {                       85                 rmi4-f01@1 {
113                         reg = <0x1>;               86                         reg = <0x1>;
114                         syna,nosleep-mode = <1     87                         syna,nosleep-mode = <1>;
115                 };                                 88                 };
116                                                    89 
117                 rmi4-f12@12 {                      90                 rmi4-f12@12 {
118                         reg = <0x12>;              91                         reg = <0x12>;
119                         syna,sensor-type = <1>     92                         syna,sensor-type = <1>;
120                         /*                         93                         /*
121                          * Touchscreen size is     94                          * Touchscreen size is 2040x1080, y-values between
122                          * 1920-2040 are used      95                          * 1920-2040 are used for touchkey (menu, home & back).
123                          * For now clip it off     96                          * For now clip it off so we don't get touch events
124                          * outside of the disp     97                          * outside of the display area.
125                          */                        98                          */
126                         syna,clip-y-high = <19     99                         syna,clip-y-high = <1920>;
127                 };                                100                 };
128         };                                        101         };
129                                                   102 
130         led-controller@36 {                       103         led-controller@36 {
131                 compatible = "ti,lm3630a";        104                 compatible = "ti,lm3630a";
132                 reg = <0x36>;                     105                 reg = <0x36>;
133                                                   106 
134                 #address-cells = <1>;             107                 #address-cells = <1>;
135                 #size-cells = <0>;                108                 #size-cells = <0>;
136                                                   109 
137                 led@0 {                           110                 led@0 {
138                         reg = <0>;                111                         reg = <0>;
139                         led-sources = <0 1>;      112                         led-sources = <0 1>;
140                         label = "lcd-backlight    113                         label = "lcd-backlight";
141                         default-brightness = <    114                         default-brightness = <80>;
142                 };                                115                 };
143         };                                        116         };
144                                                   117 
145         led-controller@68 {                       118         led-controller@68 {
146                 compatible = "si-en,sn3193";      119                 compatible = "si-en,sn3193";
147                 reg = <0x68>;                     120                 reg = <0x68>;
148                                                   121 
149                 shutdown-gpios = <&tlmm 45 GPI    122                 shutdown-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
150                                                   123 
151                 #address-cells = <1>;             124                 #address-cells = <1>;
152                 #size-cells = <0>;                125                 #size-cells = <0>;
153                                                   126 
154                 led@1 {                           127                 led@1 {
155                         reg = <1>;                128                         reg = <1>;
156                         label = "red:status";     129                         label = "red:status";
157                         led-max-microamp = <17    130                         led-max-microamp = <17500>;
158                 };                                131                 };
159                                                   132 
160                 led@2 {                           133                 led@2 {
161                         reg = <2>;                134                         reg = <2>;
162                         label = "green:status"    135                         label = "green:status";
163                         led-max-microamp = <17    136                         led-max-microamp = <17500>;
164                 };                                137                 };
165                                                   138 
166                 led@3 {                           139                 led@3 {
167                         reg = <3>;                140                         reg = <3>;
168                         label = "blue:status";    141                         label = "blue:status";
169                         led-max-microamp = <17    142                         led-max-microamp = <17500>;
170                 };                                143                 };
171         };                                        144         };
172 };                                                145 };
173                                                   146 
174 &blsp1_i2c6 {                                     147 &blsp1_i2c6 {
175         status = "okay";                          148         status = "okay";
176                                                   149 
177         bq24196_charger: charger@6b {             150         bq24196_charger: charger@6b {
178                 compatible = "ti,bq24196";        151                 compatible = "ti,bq24196";
179                 reg = <0x6b>;                     152                 reg = <0x6b>;
180                 interrupts-extended = <&tlmm 3    153                 interrupts-extended = <&tlmm 31 IRQ_TYPE_EDGE_FALLING>;
181                 omit-battery-class;               154                 omit-battery-class;
182         };                                        155         };
183 };                                                156 };
184                                                   157 
185 &blsp1_uart2 {                                    158 &blsp1_uart2 {
186         status = "okay";                          159         status = "okay";
187 };                                                160 };
188                                                   161 
189 &gcc {                                            162 &gcc {
190         compatible = "qcom,gcc-msm8974pro-ac";    163         compatible = "qcom,gcc-msm8974pro-ac";
191 };                                                164 };
192                                                   165 
193 &pm8941_coincell {                                166 &pm8941_coincell {
194         qcom,rset-ohms = <800>;                   167         qcom,rset-ohms = <800>;
195         qcom,vset-millivolts = <3200>;            168         qcom,vset-millivolts = <3200>;
196                                                   169 
197         status = "okay";                          170         status = "okay";
198 };                                                171 };
199                                                   172 
200 &pm8941_gpios {                                   173 &pm8941_gpios {
201         gpio_keys_default: gpio-keys-active-st    174         gpio_keys_default: gpio-keys-active-state {
202                 pins = "gpio2", "gpio5";          175                 pins = "gpio2", "gpio5";
203                 function = "normal";              176                 function = "normal";
204                 input-enable;                     177                 input-enable;
205                 bias-disable;                     178                 bias-disable;
206                 power-source = <PM8941_GPIO_S3    179                 power-source = <PM8941_GPIO_S3>;
207         };                                        180         };
208 };                                                181 };
209                                                   182 
210 &pm8941_vib {                                     183 &pm8941_vib {
211         status = "okay";                          184         status = "okay";
212 };                                                185 };
213                                                   186 
214 &pronto {                                         187 &pronto {
215         vddmx-supply = <&pm8841_s1>;              188         vddmx-supply = <&pm8841_s1>;
216         vddcx-supply = <&pm8841_s2>;              189         vddcx-supply = <&pm8841_s2>;
217         vddpx-supply = <&pm8941_s3>;              190         vddpx-supply = <&pm8941_s3>;
218                                                   191 
219         pinctrl-names = "default";                192         pinctrl-names = "default";
220         pinctrl-0 = <&wcnss_pin_a>;               193         pinctrl-0 = <&wcnss_pin_a>;
221                                                   194 
222         status = "okay";                          195         status = "okay";
223                                                   196 
224         iris {                                    197         iris {
225                 vddxo-supply = <&pm8941_l6>;      198                 vddxo-supply = <&pm8941_l6>;
226                 vddrfa-supply = <&pm8941_l11>;    199                 vddrfa-supply = <&pm8941_l11>;
227                 vddpa-supply = <&pm8941_l19>;     200                 vddpa-supply = <&pm8941_l19>;
228                 vdddig-supply = <&pm8941_s3>;     201                 vdddig-supply = <&pm8941_s3>;
229         };                                        202         };
230                                                   203 
231         smd-edge {                                204         smd-edge {
232                 qcom,remote-pid = <4>;            205                 qcom,remote-pid = <4>;
233                 label = "pronto";                 206                 label = "pronto";
234                                                   207 
235                 wcnss {                           208                 wcnss {
236                         status = "okay";          209                         status = "okay";
237                 };                                210                 };
238         };                                        211         };
239 };                                                212 };
240                                                   213 
241 &remoteproc_adsp {                                214 &remoteproc_adsp {
242         cx-supply = <&pm8841_s2>;                 215         cx-supply = <&pm8841_s2>;
243                                                   216 
244         status = "okay";                          217         status = "okay";
245 };                                                218 };
246                                                   219 
247 &rpm_requests {                                   220 &rpm_requests {
248         regulators-0 {                            221         regulators-0 {
249                 compatible = "qcom,rpm-pm8841-    222                 compatible = "qcom,rpm-pm8841-regulators";
250                                                   223 
251                 pm8841_s1: s1 {                   224                 pm8841_s1: s1 {
252                         regulator-min-microvol    225                         regulator-min-microvolt = <675000>;
253                         regulator-max-microvol    226                         regulator-max-microvolt = <1050000>;
254                 };                                227                 };
255                                                   228 
256                 pm8841_s2: s2 {                   229                 pm8841_s2: s2 {
257                         regulator-min-microvol    230                         regulator-min-microvolt = <875000>;
258                         regulator-max-microvol    231                         regulator-max-microvolt = <1050000>;
259                         regulator-always-on;      232                         regulator-always-on;
260                 };                                233                 };
261                                                   234 
262                 pm8841_s3: s3 {                   235                 pm8841_s3: s3 {
263                         regulator-min-microvol    236                         regulator-min-microvolt = <1050000>;
264                         regulator-max-microvol    237                         regulator-max-microvolt = <1050000>;
265                 };                                238                 };
266         };                                        239         };
267                                                   240 
268         regulators-1 {                            241         regulators-1 {
269                 compatible = "qcom,rpm-pm8941-    242                 compatible = "qcom,rpm-pm8941-regulators";
270                                                   243 
271                 vdd_l1_l3-supply = <&pm8941_s1    244                 vdd_l1_l3-supply = <&pm8941_s1>;
272                 vdd_l2_lvs1_2_3-supply = <&pm8    245                 vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
273                 vdd_l4_l11-supply = <&pm8941_s    246                 vdd_l4_l11-supply = <&pm8941_s1>;
274                 vdd_l5_l7-supply = <&pm8941_s2    247                 vdd_l5_l7-supply = <&pm8941_s2>;
275                 vdd_l6_l12_l14_l15-supply = <&    248                 vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
276                 vdd_l8_l16_l18_l19-supply = <&    249                 vdd_l8_l16_l18_l19-supply = <&vreg_vph_pwr>;
277                 vdd_l9_l10_l17_l22-supply = <&    250                 vdd_l9_l10_l17_l22-supply = <&vreg_boost>;
278                 vdd_l13_l20_l23_l24-supply = <    251                 vdd_l13_l20_l23_l24-supply = <&vreg_boost>;
279                 vdd_l21-supply = <&vreg_boost>    252                 vdd_l21-supply = <&vreg_boost>;
280                                                   253 
281                 pm8941_s1: s1 {                   254                 pm8941_s1: s1 {
282                         regulator-min-microvol    255                         regulator-min-microvolt = <1300000>;
283                         regulator-max-microvol    256                         regulator-max-microvolt = <1300000>;
284                                                   257 
285                         regulator-always-on;      258                         regulator-always-on;
286                         regulator-boot-on;        259                         regulator-boot-on;
287                 };                                260                 };
288                                                   261 
289                 pm8941_s2: s2 {                   262                 pm8941_s2: s2 {
290                         regulator-min-microvol    263                         regulator-min-microvolt = <2150000>;
291                         regulator-max-microvol    264                         regulator-max-microvolt = <2150000>;
292                                                   265 
293                         regulator-boot-on;        266                         regulator-boot-on;
294                 };                                267                 };
295                                                   268 
296                 pm8941_s3: s3 {                   269                 pm8941_s3: s3 {
297                         regulator-min-microvol    270                         regulator-min-microvolt = <1800000>;
298                         regulator-max-microvol    271                         regulator-max-microvolt = <1800000>;
299                         regulator-system-load     272                         regulator-system-load = <154000>;
300                                                   273 
301                         regulator-always-on;      274                         regulator-always-on;
302                         regulator-boot-on;        275                         regulator-boot-on;
303                         regulator-allow-set-lo    276                         regulator-allow-set-load;
304                 };                                277                 };
305                                                   278 
306                 pm8941_l1: l1 {                   279                 pm8941_l1: l1 {
307                         regulator-min-microvol    280                         regulator-min-microvolt = <1225000>;
308                         regulator-max-microvol    281                         regulator-max-microvolt = <1225000>;
309                                                   282 
310                         regulator-always-on;      283                         regulator-always-on;
311                         regulator-boot-on;        284                         regulator-boot-on;
312                 };                                285                 };
313                                                   286 
314                 pm8941_l2: l2 {                   287                 pm8941_l2: l2 {
315                         regulator-min-microvol    288                         regulator-min-microvolt = <1200000>;
316                         regulator-max-microvol    289                         regulator-max-microvolt = <1200000>;
317                 };                                290                 };
318                                                   291 
319                 pm8941_l3: l3 {                   292                 pm8941_l3: l3 {
320                         regulator-min-microvol    293                         regulator-min-microvolt = <1225000>;
321                         regulator-max-microvol    294                         regulator-max-microvolt = <1225000>;
322                 };                                295                 };
323                                                   296 
324                 pm8941_l4: l4 {                   297                 pm8941_l4: l4 {
325                         regulator-min-microvol    298                         regulator-min-microvolt = <1225000>;
326                         regulator-max-microvol    299                         regulator-max-microvolt = <1225000>;
327                 };                                300                 };
328                                                   301 
329                 pm8941_l5: l5 {                   302                 pm8941_l5: l5 {
330                         regulator-min-microvol    303                         regulator-min-microvolt = <1800000>;
331                         regulator-max-microvol    304                         regulator-max-microvolt = <1800000>;
332                 };                                305                 };
333                                                   306 
334                 pm8941_l6: l6 {                   307                 pm8941_l6: l6 {
335                         regulator-min-microvol    308                         regulator-min-microvolt = <1800000>;
336                         regulator-max-microvol    309                         regulator-max-microvolt = <1800000>;
337                                                   310 
338                         regulator-boot-on;        311                         regulator-boot-on;
339                 };                                312                 };
340                                                   313 
341                 pm8941_l7: l7 {                   314                 pm8941_l7: l7 {
342                         regulator-min-microvol    315                         regulator-min-microvolt = <1800000>;
343                         regulator-max-microvol    316                         regulator-max-microvolt = <1800000>;
344                                                   317 
345                         regulator-boot-on;        318                         regulator-boot-on;
346                 };                                319                 };
347                                                   320 
348                 pm8941_l8: l8 {                   321                 pm8941_l8: l8 {
349                         regulator-min-microvol    322                         regulator-min-microvolt = <1800000>;
350                         regulator-max-microvol    323                         regulator-max-microvolt = <1800000>;
351                 };                                324                 };
352                                                   325 
353                 pm8941_l9: l9 {                   326                 pm8941_l9: l9 {
354                         regulator-min-microvol    327                         regulator-min-microvolt = <1800000>;
355                         regulator-max-microvol    328                         regulator-max-microvolt = <2950000>;
356                 };                                329                 };
357                                                   330 
358                 pm8941_l10: l10 {                 331                 pm8941_l10: l10 {
359                         regulator-min-microvol    332                         regulator-min-microvolt = <1800000>;
360                         regulator-max-microvol    333                         regulator-max-microvolt = <2950000>;
361                 };                                334                 };
362                                                   335 
363                 pm8941_l11: l11 {                 336                 pm8941_l11: l11 {
364                         regulator-min-microvol    337                         regulator-min-microvolt = <1225000>;
365                         regulator-max-microvol    338                         regulator-max-microvolt = <1350000>;
366                 };                                339                 };
367                                                   340 
368                 pm8941_l12: l12 {                 341                 pm8941_l12: l12 {
369                         regulator-min-microvol    342                         regulator-min-microvolt = <1800000>;
370                         regulator-max-microvol    343                         regulator-max-microvolt = <1800000>;
371                                                   344 
372                         regulator-always-on;      345                         regulator-always-on;
373                         regulator-boot-on;        346                         regulator-boot-on;
374                         regulator-allow-set-lo    347                         regulator-allow-set-load;
375                 };                                348                 };
376                                                   349 
377                 pm8941_l13: l13 {                 350                 pm8941_l13: l13 {
378                         regulator-min-microvol    351                         regulator-min-microvolt = <1800000>;
379                         regulator-max-microvol    352                         regulator-max-microvolt = <2950000>;
380                                                   353 
381                         regulator-boot-on;        354                         regulator-boot-on;
382                 };                                355                 };
383                                                   356 
384                 pm8941_l14: l14 {                 357                 pm8941_l14: l14 {
385                         regulator-min-microvol    358                         regulator-min-microvolt = <1800000>;
386                         regulator-max-microvol    359                         regulator-max-microvolt = <1800000>;
387                 };                                360                 };
388                                                   361 
389                 pm8941_l15: l15 {                 362                 pm8941_l15: l15 {
390                         regulator-min-microvol    363                         regulator-min-microvolt = <2050000>;
391                         regulator-max-microvol    364                         regulator-max-microvolt = <2050000>;
392                 };                                365                 };
393                                                   366 
394                 pm8941_l16: l16 {                 367                 pm8941_l16: l16 {
395                         regulator-min-microvol    368                         regulator-min-microvolt = <2700000>;
396                         regulator-max-microvol    369                         regulator-max-microvolt = <2700000>;
397                 };                                370                 };
398                                                   371 
399                 pm8941_l17: l17 {                 372                 pm8941_l17: l17 {
400                         regulator-min-microvol    373                         regulator-min-microvolt = <2850000>;
401                         regulator-max-microvol    374                         regulator-max-microvolt = <2850000>;
402                 };                                375                 };
403                                                   376 
404                 pm8941_l18: l18 {                 377                 pm8941_l18: l18 {
405                         regulator-min-microvol    378                         regulator-min-microvolt = <2850000>;
406                         regulator-max-microvol    379                         regulator-max-microvolt = <2850000>;
407                 };                                380                 };
408                                                   381 
409                 pm8941_l19: l19 {                 382                 pm8941_l19: l19 {
410                         regulator-min-microvol    383                         regulator-min-microvolt = <2900000>;
411                         regulator-max-microvol    384                         regulator-max-microvolt = <3350000>;
412                 };                                385                 };
413                                                   386 
414                 pm8941_l20: l20 {                 387                 pm8941_l20: l20 {
415                         regulator-min-microvol    388                         regulator-min-microvolt = <2950000>;
416                         regulator-max-microvol    389                         regulator-max-microvolt = <2950000>;
417                                                   390 
418                         regulator-system-load     391                         regulator-system-load = <200000>;
419                         regulator-allow-set-lo    392                         regulator-allow-set-load;
420                         regulator-boot-on;        393                         regulator-boot-on;
421                 };                                394                 };
422                                                   395 
423                 pm8941_l21: l21 {                 396                 pm8941_l21: l21 {
424                         regulator-min-microvol    397                         regulator-min-microvolt = <2950000>;
425                         regulator-max-microvol    398                         regulator-max-microvolt = <2950000>;
426                                                   399 
427                         regulator-boot-on;        400                         regulator-boot-on;
428                 };                                401                 };
429                                                   402 
430                 pm8941_l22: l22 {                 403                 pm8941_l22: l22 {
431                         regulator-min-microvol    404                         regulator-min-microvolt = <3000000>;
432                         regulator-max-microvol    405                         regulator-max-microvolt = <3000000>;
433                         regulator-allow-set-lo    406                         regulator-allow-set-load;
434                 };                                407                 };
435                                                   408 
436                 pm8941_l23: l23 {                 409                 pm8941_l23: l23 {
437                         regulator-min-microvol    410                         regulator-min-microvolt = <3000000>;
438                         regulator-max-microvol    411                         regulator-max-microvolt = <3000000>;
439                 };                                412                 };
440                                                   413 
441                 pm8941_l24: l24 {                 414                 pm8941_l24: l24 {
442                         regulator-min-microvol    415                         regulator-min-microvolt = <3075000>;
443                         regulator-max-microvol    416                         regulator-max-microvolt = <3075000>;
444                                                   417 
445                         regulator-boot-on;        418                         regulator-boot-on;
446                 };                                419                 };
447                                                   420 
448                 pm8941_lvs3: lvs3 {};             421                 pm8941_lvs3: lvs3 {};
449         };                                        422         };
450 };                                                423 };
451                                                   424 
452 &sdhc_1 {                                         425 &sdhc_1 {
453         vmmc-supply = <&pm8941_l20>;              426         vmmc-supply = <&pm8941_l20>;
454         vqmmc-supply = <&pm8941_s3>;              427         vqmmc-supply = <&pm8941_s3>;
455                                                   428 
456         pinctrl-names = "default", "sleep";       429         pinctrl-names = "default", "sleep";
457         pinctrl-0 = <&sdc1_on>;                   430         pinctrl-0 = <&sdc1_on>;
458         pinctrl-1 = <&sdc1_off>;                  431         pinctrl-1 = <&sdc1_off>;
459                                                   432 
460         status = "okay";                       << 
461 };                                             << 
462                                                << 
463 &smbb {                                        << 
464         status = "okay";                          433         status = "okay";
465 };                                                434 };
466                                                   435 
467 &tlmm {                                           436 &tlmm {
468         gpio_hall_sensor_default: gpio-hall-se    437         gpio_hall_sensor_default: gpio-hall-sensor-default-state {
469                 pins = "gpio68";                  438                 pins = "gpio68";
470                 function = "gpio";                439                 function = "gpio";
471                 drive-strength = <8>;             440                 drive-strength = <8>;
472                 bias-pull-up;                     441                 bias-pull-up;
473         };                                        442         };
474                                                   443 
475         sdc1_on: sdc1-on-state {                  444         sdc1_on: sdc1-on-state {
476                 clk-pins {                        445                 clk-pins {
477                         pins = "sdc1_clk";        446                         pins = "sdc1_clk";
478                         drive-strength = <4>;     447                         drive-strength = <4>;
479                         bias-disable;             448                         bias-disable;
480                 };                                449                 };
481                                                   450 
482                 cmd-data-pins {                   451                 cmd-data-pins {
483                         pins = "sdc1_cmd", "sd    452                         pins = "sdc1_cmd", "sdc1_data";
484                         drive-strength = <4>;     453                         drive-strength = <4>;
485                         bias-pull-up;             454                         bias-pull-up;
486                 };                                455                 };
487         };                                        456         };
488                                                   457 
489         touch_default_state: touch-default-sta    458         touch_default_state: touch-default-state {
490                 int-pins {                        459                 int-pins {
491                         pins = "gpio61";          460                         pins = "gpio61";
492                         function = "gpio";        461                         function = "gpio";
493                         drive-strength = <2>;     462                         drive-strength = <2>;
494                         bias-disable;             463                         bias-disable;
495                 };                                464                 };
496                                                   465 
497                 reset-pins {                      466                 reset-pins {
498                         pins = "gpio60";          467                         pins = "gpio60";
499                         function = "gpio";        468                         function = "gpio";
500                         drive-strength = <2>;     469                         drive-strength = <2>;
501                         bias-pull-up;             470                         bias-pull-up;
502                 };                                471                 };
503         };                                        472         };
504                                                   473 
505         wcnss_pin_a: wcnss-pin-active-state {     474         wcnss_pin_a: wcnss-pin-active-state {
506                 wlan-pins {                       475                 wlan-pins {
507                         pins = "gpio36", "gpio    476                         pins = "gpio36", "gpio37", "gpio38", "gpio39", "gpio40";
508                         function = "wlan";        477                         function = "wlan";
509                         drive-strength = <6>;     478                         drive-strength = <6>;
510                         bias-pull-down;           479                         bias-pull-down;
511                 };                                480                 };
512                                                   481 
513                 bt-pins {                         482                 bt-pins {
514                         pins = "gpio35", "gpio    483                         pins = "gpio35", "gpio43", "gpio44";
515                         function = "bt";          484                         function = "bt";
516                         drive-strength = <2>;     485                         drive-strength = <2>;
517                         bias-pull-down;           486                         bias-pull-down;
518                 };                                487                 };
519         };                                        488         };
520 };                                                489 };
521                                                   490 
522 &usb {                                            491 &usb {
523         phys = <&usb_hs1_phy>;                    492         phys = <&usb_hs1_phy>;
524         phy-select = <&tcsr 0xb000 0>;            493         phy-select = <&tcsr 0xb000 0>;
525         extcon = <&smbb>, <&usb_id>;              494         extcon = <&smbb>, <&usb_id>;
526         vbus-supply = <&chg_otg>;                 495         vbus-supply = <&chg_otg>;
527                                                   496 
528         hnp-disable;                              497         hnp-disable;
529         srp-disable;                              498         srp-disable;
530         adp-disable;                              499         adp-disable;
531                                                   500 
532         status = "okay";                          501         status = "okay";
533 };                                                502 };
534                                                   503 
535 &usb_hs1_phy {                                    504 &usb_hs1_phy {
536         status = "okay";                          505         status = "okay";
537                                                   506 
538         v1p8-supply = <&pm8941_l6>;               507         v1p8-supply = <&pm8941_l6>;
539         v3p3-supply = <&pm8941_l24>;              508         v3p3-supply = <&pm8941_l24>;
540                                                   509 
541         extcon = <&smbb>;                         510         extcon = <&smbb>;
542         qcom,init-seq = /bits/ 8 <0x1 0x64>;      511         qcom,init-seq = /bits/ 8 <0x1 0x64>;
543 };                                                512 };
                                                      

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