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

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


  1 // SPDX-License-Identifier: GPL-2.0-only            1 // SPDX-License-Identifier: GPL-2.0-only
  2                                                     2 
  3 #include "msm8916-pm8916.dtsi"                      3 #include "msm8916-pm8916.dtsi"
  4 #include "msm8916-modem-qdsp6.dtsi"            << 
  5                                                << 
  6 #include <dt-bindings/gpio/gpio.h>                  4 #include <dt-bindings/gpio/gpio.h>
  7 #include <dt-bindings/input/input.h>                5 #include <dt-bindings/input/input.h>
  8 #include <dt-bindings/interrupt-controller/irq      6 #include <dt-bindings/interrupt-controller/irq.h>
  9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h << 
 10 #include <dt-bindings/sound/apq8016-lpass.h>   << 
 11                                                     7 
 12 / {                                                 8 / {
 13         aliases {                                   9         aliases {
 14                 mmc0 = &sdhc_1; /* eMMC */     !!  10                 serial0 = &blsp1_uart2;
 15                 mmc1 = &sdhc_2; /* SD card */  << 
 16                 serial0 = &blsp_uart2;         << 
 17         };                                         11         };
 18                                                    12 
 19         chosen {                                   13         chosen {
 20                 stdout-path = "serial0";           14                 stdout-path = "serial0";
 21         };                                         15         };
 22                                                    16 
 23         reserved-memory {                          17         reserved-memory {
 24                 /* Additional memory used by S     18                 /* Additional memory used by Samsung firmware modifications */
 25                 tz-apps@85500000 {                 19                 tz-apps@85500000 {
 26                         reg = <0x0 0x85500000      20                         reg = <0x0 0x85500000 0x0 0xb00000>;
 27                         no-map;                    21                         no-map;
 28                 };                                 22                 };
 29         };                                         23         };
 30                                                    24 
 31         battery: battery {                     << 
 32                 compatible = "simple-battery"; << 
 33                 precharge-current-microamp = < << 
 34                 precharge-upper-limit-microvol << 
 35         };                                     << 
 36                                                << 
 37         clk_pwm: pwm {                         << 
 38                 compatible = "clk-pwm";        << 
 39                 #pwm-cells = <2>;              << 
 40                                                << 
 41                 clocks = <&gcc GCC_GP2_CLK>;   << 
 42                                                << 
 43                 pinctrl-names = "default";     << 
 44                 pinctrl-0 = <&motor_pwm_defaul << 
 45                 status = "disabled";           << 
 46         };                                     << 
 47                                                << 
 48         gpio-keys {                                25         gpio-keys {
 49                 compatible = "gpio-keys";          26                 compatible = "gpio-keys";
 50                                                    27 
 51                 pinctrl-names = "default";         28                 pinctrl-names = "default";
 52                 pinctrl-0 = <&gpio_keys_defaul     29                 pinctrl-0 = <&gpio_keys_default>;
 53                                                    30 
 54                 label = "GPIO Buttons";            31                 label = "GPIO Buttons";
 55                                                    32 
 56                 button-volume-up {             !!  33                 volume-up {
 57                         label = "Volume Up";       34                         label = "Volume Up";
 58                         gpios = <&tlmm 107 GPI !!  35                         gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>;
 59                         linux,code = <KEY_VOLU     36                         linux,code = <KEY_VOLUMEUP>;
 60                 };                                 37                 };
 61                                                    38 
 62                 button-home {                  !!  39                 home {
 63                         label = "Home";            40                         label = "Home";
 64                         gpios = <&tlmm 109 GPI !!  41                         gpios = <&msmgpio 109 GPIO_ACTIVE_LOW>;
 65                         linux,code = <KEY_HOME     42                         linux,code = <KEY_HOMEPAGE>;
 66                 };                                 43                 };
 67         };                                         44         };
 68                                                    45 
 69         gpio-hall-sensor {                         46         gpio-hall-sensor {
 70                 compatible = "gpio-keys";          47                 compatible = "gpio-keys";
 71                                                    48 
 72                 pinctrl-names = "default";         49                 pinctrl-names = "default";
 73                 pinctrl-0 = <&gpio_hall_sensor     50                 pinctrl-0 = <&gpio_hall_sensor_default>;
 74                                                    51 
 75                 label = "GPIO Hall Effect Sens     52                 label = "GPIO Hall Effect Sensor";
 76                                                    53 
 77                 event-hall-sensor {            !!  54                 hall-sensor {
 78                         label = "Hall Effect S     55                         label = "Hall Effect Sensor";
 79                         gpios = <&tlmm 52 GPIO !!  56                         gpios = <&msmgpio 52 GPIO_ACTIVE_LOW>;
 80                         linux,input-type = <EV     57                         linux,input-type = <EV_SW>;
 81                         linux,code = <SW_LID>;     58                         linux,code = <SW_LID>;
 82                         linux,can-disable;         59                         linux,can-disable;
 83                 };                                 60                 };
 84         };                                         61         };
 85                                                    62 
 86         /*                                     !!  63         reg_vdd_tsp: regulator-vdd-tsp {
 87          * NOTE: A5 connects GPIO 76 to a regl << 
 88          * driver IC but A3 connects the same  << 
 89          * the driver.                         << 
 90          */                                    << 
 91         reg_motor_vdd: regulator-motor-vdd {   << 
 92                 compatible = "regulator-fixed"     64                 compatible = "regulator-fixed";
 93                 regulator-name = "motor_vdd";  !!  65                 regulator-name = "vdd_tsp";
 94                 regulator-min-microvolt = <300 << 
 95                 regulator-max-microvolt = <300 << 
 96                                                << 
 97                 gpio = <&tlmm 76 GPIO_ACTIVE_H << 
 98                 enable-active-high;            << 
 99                                                << 
100                 pinctrl-names = "default";     << 
101                 pinctrl-0 = <&motor_en_default << 
102         };                                     << 
103                                                << 
104         reg_vdd_tsp_a: regulator-vdd-tsp-a {   << 
105                 compatible = "regulator-fixed" << 
106                 regulator-name = "vdd_tsp_a";  << 
107                 regulator-min-microvolt = <330     66                 regulator-min-microvolt = <3300000>;
108                 regulator-max-microvolt = <330     67                 regulator-max-microvolt = <3300000>;
109                                                    68 
110                 gpio = <&tlmm 73 GPIO_ACTIVE_H !!  69                 gpio = <&msmgpio 73 GPIO_ACTIVE_HIGH>;
111                 enable-active-high;                70                 enable-active-high;
112                                                    71 
113                 pinctrl-names = "default";         72                 pinctrl-names = "default";
114                 pinctrl-0 = <&tsp_en_default>;     73                 pinctrl-0 = <&tsp_en_default>;
115         };                                         74         };
116                                                    75 
117         i2c-muic {                                 76         i2c-muic {
118                 compatible = "i2c-gpio";           77                 compatible = "i2c-gpio";
119                 sda-gpios = <&tlmm 105 (GPIO_A !!  78                 sda-gpios = <&msmgpio 105 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
120                 scl-gpios = <&tlmm 106 (GPIO_A !!  79                 scl-gpios = <&msmgpio 106 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
121                                                    80 
122                 pinctrl-names = "default";         81                 pinctrl-names = "default";
123                 pinctrl-0 = <&muic_i2c_default     82                 pinctrl-0 = <&muic_i2c_default>;
124                                                    83 
125                 #address-cells = <1>;              84                 #address-cells = <1>;
126                 #size-cells = <0>;                 85                 #size-cells = <0>;
127                                                    86 
128                 muic: extcon@25 {                  87                 muic: extcon@25 {
129                         compatible = "siliconm     88                         compatible = "siliconmitus,sm5502-muic";
130                                                    89 
131                         reg = <0x25>;              90                         reg = <0x25>;
132                         interrupt-parent = <&t !!  91                         interrupt-parent = <&msmgpio>;
133                         interrupts = <12 IRQ_T     92                         interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
134                                                    93 
135                         pinctrl-names = "defau     94                         pinctrl-names = "default";
136                         pinctrl-0 = <&muic_int     95                         pinctrl-0 = <&muic_int_default>;
137                                                << 
138                         usb_con: connector {   << 
139                                 compatible = " << 
140                                 label = "micro << 
141                                 type = "micro" << 
142                         };                     << 
143                 };                                 96                 };
144         };                                         97         };
145                                                << 
146         i2c-tkey {                             << 
147                 compatible = "i2c-gpio";       << 
148                 sda-gpios = <&tlmm 16 (GPIO_AC << 
149                 scl-gpios = <&tlmm 17 (GPIO_AC << 
150                                                << 
151                 pinctrl-names = "default";     << 
152                 pinctrl-0 = <&tkey_i2c_default << 
153                                                << 
154                 #address-cells = <1>;          << 
155                 #size-cells = <0>;             << 
156                                                << 
157                 touchkey: touchkey@20 {        << 
158                         /* Note: Actually an A << 
159                         compatible = "corerive << 
160                         reg = <0x20>;          << 
161                                                << 
162                         interrupt-parent = <&t << 
163                         interrupts = <98 IRQ_T << 
164                                                << 
165                         /* vcc/vdd-supply are  << 
166                         vddio-supply = <&pm891 << 
167                                                << 
168                         linux,keycodes = <KEY_ << 
169                                                << 
170                         pinctrl-names = "defau << 
171                         pinctrl-0 = <&tkey_def << 
172                 };                             << 
173         };                                     << 
174                                                << 
175         i2c-nfc {                              << 
176                 compatible = "i2c-gpio";       << 
177                 sda-gpios = <&tlmm 0 (GPIO_ACT << 
178                 scl-gpios = <&tlmm 1 (GPIO_ACT << 
179                                                << 
180                 pinctrl-names = "default";     << 
181                 pinctrl-0 = <&nfc_i2c_default> << 
182                                                << 
183                 #address-cells = <1>;          << 
184                 #size-cells = <0>;             << 
185                                                << 
186                 nfc@27 {                       << 
187                         compatible = "samsung, << 
188                         reg = <0x27>;          << 
189                                                << 
190                         interrupt-parent = <&t << 
191                         interrupts = <21 IRQ_T << 
192                                                << 
193                         en-gpios = <&tlmm 20 G << 
194                         wake-gpios = <&tlmm 49 << 
195                                                << 
196                         clocks = <&rpmcc RPM_S << 
197                                                << 
198                         pinctrl-names = "defau << 
199                         pinctrl-0 = <&nfc_defa << 
200                 };                             << 
201         };                                     << 
202                                                << 
203         vibrator: vibrator {                   << 
204                 compatible = "pwm-vibrator";   << 
205                                                << 
206                 pwms = <&clk_pwm 0 100000>;    << 
207                 pwm-names = "enable";          << 
208                                                << 
209                 vcc-supply = <&reg_motor_vdd>; << 
210                 status = "disabled";           << 
211         };                                     << 
212 };                                             << 
213                                                << 
214 &blsp_i2c1 {                                   << 
215         status = "okay";                       << 
216                                                << 
217         speaker_codec: audio-codec@34 {        << 
218                 compatible = "nxp,tfa9895";    << 
219                 reg = <0x34>;                  << 
220                 vddd-supply = <&pm8916_l5>;    << 
221                 sound-name-prefix = "Speaker"; << 
222                 #sound-dai-cells = <0>;        << 
223         };                                     << 
224 };                                                 98 };
225                                                    99 
226 &blsp_i2c2 {                                      100 &blsp_i2c2 {
227         status = "okay";                          101         status = "okay";
228                                                   102 
229         accelerometer: accelerometer@10 {         103         accelerometer: accelerometer@10 {
230                 compatible = "bosch,bmc150_acc    104                 compatible = "bosch,bmc150_accel";
231                 reg = <0x10>;                     105                 reg = <0x10>;
232                 interrupt-parent = <&tlmm>;    !! 106                 interrupt-parent = <&msmgpio>;
233                 interrupts = <115 IRQ_TYPE_EDG    107                 interrupts = <115 IRQ_TYPE_EDGE_RISING>;
234                                                   108 
235                 vdd-supply = <&pm8916_l17>;       109                 vdd-supply = <&pm8916_l17>;
236                 vddio-supply = <&pm8916_l5>;      110                 vddio-supply = <&pm8916_l5>;
237                                                   111 
238                 pinctrl-names = "default";        112                 pinctrl-names = "default";
239                 pinctrl-0 = <&accel_int_defaul    113                 pinctrl-0 = <&accel_int_default>;
240         };                                        114         };
241                                                   115 
242         magnetometer@12 {                         116         magnetometer@12 {
243                 compatible = "bosch,bmc150_mag    117                 compatible = "bosch,bmc150_magn";
244                 reg = <0x12>;                     118                 reg = <0x12>;
245                                                   119 
246                 vdd-supply = <&pm8916_l17>;       120                 vdd-supply = <&pm8916_l17>;
247                 vddio-supply = <&pm8916_l5>;      121                 vddio-supply = <&pm8916_l5>;
248         };                                        122         };
249 };                                                123 };
250                                                   124 
251 &blsp_i2c4 {                                   !! 125 &blsp1_uart2 {
252         status = "okay";                          126         status = "okay";
253                                                << 
254         fuel-gauge@35 {                        << 
255                 compatible = "richtek,rt5033-b << 
256                 reg = <0x35>;                  << 
257                 interrupt-parent = <&tlmm>;    << 
258                 interrupts = <121 IRQ_TYPE_EDG << 
259                                                << 
260                 pinctrl-names = "default";     << 
261                 pinctrl-0 = <&fg_alert_default << 
262                                                << 
263                 power-supplies = <&charger>;   << 
264         };                                     << 
265 };                                                127 };
266                                                   128 
267 &blsp_i2c6 {                                   !! 129 &dsi0 {
268         status = "okay";                       << 
269                                                << 
270         pmic@34 {                              << 
271                 compatible = "richtek,rt5033"; << 
272                 reg = <0x34>;                  << 
273                                                << 
274                 interrupts-extended = <&tlmm 6 << 
275                                                << 
276                 pinctrl-0 = <&pmic_int_default << 
277                 pinctrl-names = "default";     << 
278                                                << 
279                 regulators {                   << 
280                         rt5033_reg_safe_ldo: S << 
281                                 regulator-min- << 
282                                 regulator-max- << 
283                                 regulator-alwa << 
284                         };                     << 
285                                                << 
286                         /*                     << 
287                          * Needed for camera,  << 
288                          * Define empty nodes  << 
289                          * regulators.         << 
290                          */                    << 
291                         LDO {};                << 
292                         BUCK {};               << 
293                 };                             << 
294                                                << 
295                 charger: charger {             << 
296                         compatible = "richtek, << 
297                         monitored-battery = <& << 
298                         richtek,usb-connector  << 
299                 };                             << 
300         };                                     << 
301 };                                             << 
302                                                << 
303 &blsp_uart2 {                                  << 
304         status = "okay";                       << 
305 };                                             << 
306                                                << 
307 &gpu {                                         << 
308         status = "okay";                       << 
309 };                                             << 
310                                                << 
311 /*                                             << 
312  * For some reason the speaker amplifier is co << 
313  * (MI2S_2_D1) instead of the first (MI2S_2_D0 << 
314  * device tree, otherwise audio will seemingly << 
315  * but the speaker stays silent.               << 
316  *                                             << 
317  * When routing audio via QDSP6 (the default)  << 
318  * the definitions from &q6afedai are used. Wh << 
319  * be alternatively routed directly to the LPA << 
320  * The definitions for &lpass are here for com << 
321  * setup with minor changes to the DT (either  << 
322  */                                            << 
323 &lpass {                                       << 
324         dai-link@3 {                           << 
325                 reg = <MI2S_QUATERNARY>;       << 
326                 qcom,playback-sd-lines = <1>;  << 
327         };                                     << 
328 };                                             << 
329                                                << 
330 &mdss {                                        << 
331         status = "okay";                       << 
332 };                                             << 
333                                                << 
334 &mdss_dsi0 {                                   << 
335         pinctrl-names = "default", "sleep";       130         pinctrl-names = "default", "sleep";
336         pinctrl-0 = <&mdss_default>;              131         pinctrl-0 = <&mdss_default>;
337         pinctrl-1 = <&mdss_sleep>;                132         pinctrl-1 = <&mdss_sleep>;
338 };                                                133 };
339                                                   134 
340 &mpss_mem {                                    !! 135 &mdss {
341         reg = <0x0 0x86800000 0x0 0x5400000>;  !! 136         status = "okay";
342 };                                                137 };
343                                                   138 
344 &pm8916_resin {                                   139 &pm8916_resin {
345         status = "okay";                          140         status = "okay";
346         linux,code = <KEY_VOLUMEDOWN>;            141         linux,code = <KEY_VOLUMEDOWN>;
347 };                                                142 };
348                                                   143 
349 &pm8916_rpm_regulators {                       !! 144 &pronto {
350         pm8916_l17: l17 {                      << 
351                 regulator-min-microvolt = <285 << 
352                 regulator-max-microvolt = <285 << 
353         };                                     << 
354 };                                             << 
355                                                << 
356 &q6afedai {                                    << 
357         dai@22 {                               << 
358                 reg = <QUATERNARY_MI2S_RX>;    << 
359                 qcom,sd-lines = <1>;           << 
360         };                                     << 
361 };                                             << 
362                                                << 
363 &sdhc_1 {                                      << 
364         status = "okay";                          145         status = "okay";
365 };                                                146 };
366                                                   147 
367 &sdhc_2 {                                      !! 148 &sdhc_1 {
368         status = "okay";                          149         status = "okay";
369                                                   150 
370         pinctrl-names = "default", "sleep";       151         pinctrl-names = "default", "sleep";
371         pinctrl-0 = <&sdc2_default &sdc2_cd_de !! 152         pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>;
372         pinctrl-1 = <&sdc2_sleep &sdc2_cd_defa !! 153         pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>;
373                                                << 
374         cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; << 
375 };                                                154 };
376                                                   155 
377 &sound {                                       !! 156 &sdhc_2 {
378         model = "samsung-a2015";               !! 157         status = "okay";
379         audio-routing =                        << 
380                 "AMIC1", "MIC BIAS External1", << 
381                 "AMIC2", "MIC BIAS Internal2", << 
382                 "AMIC3", "MIC BIAS External1"; << 
383                                                   158 
384         pinctrl-0 = <&cdc_pdm_default &sec_mi2 << 
385         pinctrl-1 = <&cdc_pdm_sleep &sec_mi2s_ << 
386         pinctrl-names = "default", "sleep";       159         pinctrl-names = "default", "sleep";
                                                   >> 160         pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
                                                   >> 161         pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
387                                                   162 
388         sound_link_backend2: backend2-dai-link !! 163         cd-gpios = <&msmgpio 38 GPIO_ACTIVE_LOW>;
389                 link-name = "Quaternary MI2S"; << 
390                                                << 
391                 cpu {                          << 
392                         sound-dai = <&q6afedai << 
393                 };                             << 
394                 platform {                     << 
395                         sound-dai = <&q6routin << 
396                 };                             << 
397                 codec {                        << 
398                         sound-dai = <&speaker_ << 
399                 };                             << 
400         };                                     << 
401 };                                                164 };
402                                                   165 
403 &usb {                                            166 &usb {
404         status = "okay";                          167         status = "okay";
405         extcon = <&muic>, <&muic>;                168         extcon = <&muic>, <&muic>;
406 };                                                169 };
407                                                   170 
408 &usb_hs_phy {                                     171 &usb_hs_phy {
409         extcon = <&muic>;                         172         extcon = <&muic>;
410 };                                                173 };
411                                                   174 
412 &venus {                                       !! 175 &smd_rpm_regulators {
413         status = "okay";                       !! 176         vdd_l1_l2_l3-supply = <&pm8916_s3>;
414 };                                             !! 177         vdd_l4_l5_l6-supply = <&pm8916_s4>;
415                                                !! 178         vdd_l7-supply = <&pm8916_s4>;
416 &venus_mem {                                   << 
417         status = "okay";                       << 
418 };                                             << 
419                                                   179 
420 &tlmm {                                        !! 180         s3 {
421         accel_int_default: accel-int-default-s !! 181                 regulator-min-microvolt = <1200000>;
422                 pins = "gpio115";              !! 182                 regulator-max-microvolt = <1300000>;
423                 function = "gpio";             << 
424                                                << 
425                 drive-strength = <2>;          << 
426                 bias-disable;                  << 
427         };                                        183         };
428                                                   184 
429         fg_alert_default: fg-alert-default-sta !! 185         s4 {
430                 pins = "gpio121";              !! 186                 regulator-min-microvolt = <1800000>;
431                 function = "gpio";             !! 187                 regulator-max-microvolt = <2100000>;
432                                                << 
433                 drive-strength = <2>;          << 
434                 bias-disable;                  << 
435         };                                        188         };
436                                                   189 
437         gpio_keys_default: gpio-keys-default-s !! 190         l1 {
438                 pins = "gpio107", "gpio109";   !! 191                 regulator-min-microvolt = <1225000>;
439                 function = "gpio";             !! 192                 regulator-max-microvolt = <1225000>;
440                                                << 
441                 drive-strength = <2>;          << 
442                 bias-pull-up;                  << 
443         };                                        193         };
444                                                   194 
445         gpio_hall_sensor_default: gpio-hall-se !! 195         l2 {
446                 pins = "gpio52";               !! 196                 regulator-min-microvolt = <1200000>;
447                 function = "gpio";             !! 197                 regulator-max-microvolt = <1200000>;
                                                   >> 198         };
448                                                   199 
449                 drive-strength = <2>;          !! 200         l4 {
450                 bias-disable;                  !! 201                 regulator-min-microvolt = <2050000>;
                                                   >> 202                 regulator-max-microvolt = <2050000>;
451         };                                        203         };
452                                                   204 
453         mdss_default: mdss-default-state {     !! 205         l5 {
454                 pins = "gpio25";               !! 206                 regulator-min-microvolt = <1800000>;
455                 function = "gpio";             !! 207                 regulator-max-microvolt = <1800000>;
                                                   >> 208         };
456                                                   209 
457                 drive-strength = <8>;          !! 210         l6 {
458                 bias-disable;                  !! 211                 regulator-min-microvolt = <1800000>;
                                                   >> 212                 regulator-max-microvolt = <1800000>;
459         };                                        213         };
460         mdss_sleep: mdss-sleep-state {         << 
461                 pins = "gpio25";               << 
462                 function = "gpio";             << 
463                                                   214 
464                 drive-strength = <2>;          !! 215         l7 {
465                 bias-pull-down;                !! 216                 regulator-min-microvolt = <1800000>;
                                                   >> 217                 regulator-max-microvolt = <1800000>;
466         };                                        218         };
467                                                   219 
468         motor_en_default: motor-en-default-sta !! 220         l8 {
469                 pins = "gpio76";               !! 221                 regulator-min-microvolt = <2850000>;
470                 function = "gpio";             !! 222                 regulator-max-microvolt = <2900000>;
                                                   >> 223         };
471                                                   224 
472                 drive-strength = <2>;          !! 225         l9 {
473                 bias-disable;                  !! 226                 regulator-min-microvolt = <3300000>;
                                                   >> 227                 regulator-max-microvolt = <3300000>;
474         };                                        228         };
475                                                   229 
476         motor_pwm_default: motor-pwm-default-s !! 230         l10 {
477                 pins = "gpio50";               !! 231                 regulator-min-microvolt = <2700000>;
478                 function = "gcc_gp2_clk_a";    !! 232                 regulator-max-microvolt = <2800000>;
479         };                                        233         };
480                                                   234 
481         muic_i2c_default: muic-i2c-default-sta !! 235         l11 {
482                 pins = "gpio105", "gpio106";   !! 236                 regulator-min-microvolt = <1800000>;
483                 function = "gpio";             !! 237                 regulator-max-microvolt = <2950000>;
                                                   >> 238                 regulator-allow-set-load;
                                                   >> 239                 regulator-system-load = <200000>;
                                                   >> 240         };
484                                                   241 
485                 drive-strength = <2>;          !! 242         l12 {
486                 bias-disable;                  !! 243                 regulator-min-microvolt = <1800000>;
                                                   >> 244                 regulator-max-microvolt = <2950000>;
487         };                                        245         };
488                                                   246 
489         muic_int_default: muic-int-default-sta !! 247         l13 {
490                 pins = "gpio12";               !! 248                 regulator-min-microvolt = <3075000>;
491                 function = "gpio";             !! 249                 regulator-max-microvolt = <3075000>;
                                                   >> 250         };
492                                                   251 
493                 drive-strength = <2>;          !! 252         l14 {
494                 bias-disable;                  !! 253                 regulator-min-microvolt = <1800000>;
                                                   >> 254                 regulator-max-microvolt = <3300000>;
495         };                                        255         };
496                                                   256 
497         nfc_default: nfc-default-state {       !! 257         l15 {
498                 nfc-pins {                     !! 258                 regulator-min-microvolt = <1800000>;
499                         pins = "gpio20", "gpio !! 259                 regulator-max-microvolt = <3300000>;
500                         function = "gpio";     !! 260         };
501                                                   261 
502                         drive-strength = <2>;  !! 262         l16 {
503                         bias-disable;          !! 263                 regulator-min-microvolt = <1800000>;
504                 };                             !! 264                 regulator-max-microvolt = <3300000>;
                                                   >> 265         };
505                                                   266 
506                 irq-pins {                     !! 267         l17 {
507                         pins = "gpio21";       !! 268                 regulator-min-microvolt = <2850000>;
508                         function = "gpio";     !! 269                 regulator-max-microvolt = <2850000>;
                                                   >> 270         };
509                                                   271 
510                         drive-strength = <2>;  !! 272         l18 {
511                         bias-pull-down;        !! 273                 regulator-min-microvolt = <2700000>;
512                 };                             !! 274                 regulator-max-microvolt = <2700000>;
513         };                                        275         };
                                                   >> 276 };
514                                                   277 
515         nfc_i2c_default: nfc-i2c-default-state !! 278 &msmgpio {
516                 pins = "gpio0", "gpio1";       !! 279         accel_int_default: accel-int-default {
                                                   >> 280                 pins = "gpio115";
517                 function = "gpio";                281                 function = "gpio";
518                                                   282 
519                 drive-strength = <2>;             283                 drive-strength = <2>;
520                 bias-disable;                     284                 bias-disable;
521         };                                        285         };
522                                                   286 
523         pmic_int_default: pmic-int-default-sta !! 287         gpio_keys_default: gpio-keys-default {
524                 pins = "gpio62";               !! 288                 pins = "gpio107", "gpio109";
525                 function = "gpio";                289                 function = "gpio";
526                 drive-strength = <2>;          << 
527                 bias-disable;                  << 
528         };                                     << 
529                                                   290 
530         sdc2_cd_default: sdc2-cd-default-state << 
531                 pins = "gpio38";               << 
532                 function = "gpio";             << 
533                 drive-strength = <2>;             291                 drive-strength = <2>;
534                 bias-disable;                  !! 292                 bias-pull-up;
535         };                                        293         };
536                                                   294 
537         tkey_default: tkey-default-state {     !! 295         gpio_hall_sensor_default: gpio-hall-sensor-default {
538                 pins = "gpio98";               !! 296                 pins = "gpio52";
539                 function = "gpio";                297                 function = "gpio";
540                                                   298 
541                 drive-strength = <2>;             299                 drive-strength = <2>;
542                 bias-disable;                     300                 bias-disable;
543         };                                        301         };
544                                                   302 
545         tkey_i2c_default: tkey-i2c-default-sta !! 303         mdss {
546                 pins = "gpio16", "gpio17";     !! 304                 mdss_default: mdss-default {
547                 function = "gpio";             !! 305                         pins = "gpio25";
                                                   >> 306                         function = "gpio";
548                                                   307 
549                 drive-strength = <2>;          !! 308                         drive-strength = <8>;
550                 bias-disable;                  !! 309                         bias-disable;
                                                   >> 310                 };
                                                   >> 311                 mdss_sleep: mdss-sleep {
                                                   >> 312                         pins = "gpio25";
                                                   >> 313                         function = "gpio";
                                                   >> 314 
                                                   >> 315                         drive-strength = <2>;
                                                   >> 316                         bias-pull-down;
                                                   >> 317                 };
551         };                                        318         };
552                                                   319 
553         tsp_en_default: tsp-en-default-state { !! 320         muic_i2c_default: muic-i2c-default {
554                 pins = "gpio73";               !! 321                 pins = "gpio105", "gpio106";
555                 function = "gpio";                322                 function = "gpio";
556                                                   323 
557                 drive-strength = <2>;             324                 drive-strength = <2>;
558                 bias-disable;                     325                 bias-disable;
559         };                                        326         };
560                                                   327 
561         ts_int_default: ts-int-default-state { !! 328         muic_int_default: muic-int-default {
562                 pins = "gpio13";               !! 329                 pins = "gpio12";
563                 function = "gpio";                330                 function = "gpio";
564                                                   331 
565                 drive-strength = <2>;             332                 drive-strength = <2>;
566                 bias-disable;                     333                 bias-disable;
567         };                                        334         };
568 };                                             << 
569                                                   335 
570 &pm8916_gpios {                                !! 336         tsp_en_default: tsp-en-default {
571         nfc_clk_req: nfc-clk-req-state {       !! 337                 pins = "gpio73";
572                 pins = "gpio2";                !! 338                 function = "gpio";
573                 function = "func1";            << 
574                                                   339 
575                 input-enable;                  !! 340                 drive-strength = <2>;
576                 bias-disable;                     341                 bias-disable;
577                 power-source = <PM8916_GPIO_L2 << 
578         };                                        342         };
579 };                                                343 };
                                                      

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