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


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

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