~ [ 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.8.18)


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

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