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


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

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