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


  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                                                   131 
138                         usb_con: connector {      132                         usb_con: connector {
139                                 compatible = "    133                                 compatible = "usb-b-connector";
140                                 label = "micro    134                                 label = "micro-USB";
141                                 type = "micro"    135                                 type = "micro";
142                         };                        136                         };
143                 };                                137                 };
144         };                                        138         };
145                                                   139 
146         i2c-tkey {                                140         i2c-tkey {
147                 compatible = "i2c-gpio";          141                 compatible = "i2c-gpio";
148                 sda-gpios = <&tlmm 16 (GPIO_AC    142                 sda-gpios = <&tlmm 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
149                 scl-gpios = <&tlmm 17 (GPIO_AC    143                 scl-gpios = <&tlmm 17 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
150                                                   144 
151                 pinctrl-names = "default";        145                 pinctrl-names = "default";
152                 pinctrl-0 = <&tkey_i2c_default    146                 pinctrl-0 = <&tkey_i2c_default>;
153                                                   147 
154                 #address-cells = <1>;             148                 #address-cells = <1>;
155                 #size-cells = <0>;                149                 #size-cells = <0>;
156                                                   150 
157                 touchkey: touchkey@20 {           151                 touchkey: touchkey@20 {
158                         /* Note: Actually an A    152                         /* Note: Actually an ABOV MCU that implements same interface */
159                         compatible = "corerive    153                         compatible = "coreriver,tc360-touchkey";
160                         reg = <0x20>;             154                         reg = <0x20>;
161                                                   155 
162                         interrupt-parent = <&t    156                         interrupt-parent = <&tlmm>;
163                         interrupts = <98 IRQ_T    157                         interrupts = <98 IRQ_TYPE_EDGE_FALLING>;
164                                                   158 
165                         /* vcc/vdd-supply are     159                         /* vcc/vdd-supply are board-specific */
166                         vddio-supply = <&pm891    160                         vddio-supply = <&pm8916_l6>;
167                                                   161 
168                         linux,keycodes = <KEY_    162                         linux,keycodes = <KEY_APPSELECT KEY_BACK>;
169                                                   163 
170                         pinctrl-names = "defau    164                         pinctrl-names = "default";
171                         pinctrl-0 = <&tkey_def    165                         pinctrl-0 = <&tkey_default>;
172                 };                                166                 };
173         };                                        167         };
174                                                   168 
175         i2c-nfc {                                 169         i2c-nfc {
176                 compatible = "i2c-gpio";          170                 compatible = "i2c-gpio";
177                 sda-gpios = <&tlmm 0 (GPIO_ACT    171                 sda-gpios = <&tlmm 0 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
178                 scl-gpios = <&tlmm 1 (GPIO_ACT    172                 scl-gpios = <&tlmm 1 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
179                                                   173 
180                 pinctrl-names = "default";        174                 pinctrl-names = "default";
181                 pinctrl-0 = <&nfc_i2c_default>    175                 pinctrl-0 = <&nfc_i2c_default>;
182                                                   176 
183                 #address-cells = <1>;             177                 #address-cells = <1>;
184                 #size-cells = <0>;                178                 #size-cells = <0>;
185                                                   179 
186                 nfc@27 {                          180                 nfc@27 {
187                         compatible = "samsung,    181                         compatible = "samsung,s3fwrn5-i2c";
188                         reg = <0x27>;             182                         reg = <0x27>;
189                                                   183 
190                         interrupt-parent = <&t    184                         interrupt-parent = <&tlmm>;
191                         interrupts = <21 IRQ_T    185                         interrupts = <21 IRQ_TYPE_EDGE_RISING>;
192                                                   186 
193                         en-gpios = <&tlmm 20 G    187                         en-gpios = <&tlmm 20 GPIO_ACTIVE_LOW>;
194                         wake-gpios = <&tlmm 49    188                         wake-gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>;
195                                                   189 
196                         clocks = <&rpmcc RPM_S    190                         clocks = <&rpmcc RPM_SMD_BB_CLK2_PIN>;
197                                                   191 
198                         pinctrl-names = "defau    192                         pinctrl-names = "default";
199                         pinctrl-0 = <&nfc_defa    193                         pinctrl-0 = <&nfc_default &nfc_clk_req>;
200                 };                                194                 };
201         };                                        195         };
202                                                   196 
203         vibrator: vibrator {                      197         vibrator: vibrator {
204                 compatible = "pwm-vibrator";      198                 compatible = "pwm-vibrator";
205                                                   199 
206                 pwms = <&clk_pwm 0 100000>;       200                 pwms = <&clk_pwm 0 100000>;
207                 pwm-names = "enable";             201                 pwm-names = "enable";
208                                                   202 
209                 vcc-supply = <&reg_motor_vdd>;    203                 vcc-supply = <&reg_motor_vdd>;
210                 status = "disabled";              204                 status = "disabled";
211         };                                        205         };
212 };                                                206 };
213                                                   207 
214 &blsp_i2c1 {                                      208 &blsp_i2c1 {
215         status = "okay";                          209         status = "okay";
216                                                   210 
217         speaker_codec: audio-codec@34 {           211         speaker_codec: audio-codec@34 {
218                 compatible = "nxp,tfa9895";       212                 compatible = "nxp,tfa9895";
219                 reg = <0x34>;                     213                 reg = <0x34>;
220                 vddd-supply = <&pm8916_l5>;       214                 vddd-supply = <&pm8916_l5>;
221                 sound-name-prefix = "Speaker";    215                 sound-name-prefix = "Speaker";
222                 #sound-dai-cells = <0>;           216                 #sound-dai-cells = <0>;
223         };                                        217         };
224 };                                                218 };
225                                                   219 
226 &blsp_i2c2 {                                      220 &blsp_i2c2 {
227         status = "okay";                          221         status = "okay";
228                                                   222 
229         accelerometer: accelerometer@10 {         223         accelerometer: accelerometer@10 {
230                 compatible = "bosch,bmc150_acc    224                 compatible = "bosch,bmc150_accel";
231                 reg = <0x10>;                     225                 reg = <0x10>;
232                 interrupt-parent = <&tlmm>;       226                 interrupt-parent = <&tlmm>;
233                 interrupts = <115 IRQ_TYPE_EDG    227                 interrupts = <115 IRQ_TYPE_EDGE_RISING>;
234                                                   228 
235                 vdd-supply = <&pm8916_l17>;       229                 vdd-supply = <&pm8916_l17>;
236                 vddio-supply = <&pm8916_l5>;      230                 vddio-supply = <&pm8916_l5>;
237                                                   231 
238                 pinctrl-names = "default";        232                 pinctrl-names = "default";
239                 pinctrl-0 = <&accel_int_defaul    233                 pinctrl-0 = <&accel_int_default>;
240         };                                        234         };
241                                                   235 
242         magnetometer@12 {                         236         magnetometer@12 {
243                 compatible = "bosch,bmc150_mag    237                 compatible = "bosch,bmc150_magn";
244                 reg = <0x12>;                     238                 reg = <0x12>;
245                                                   239 
246                 vdd-supply = <&pm8916_l17>;       240                 vdd-supply = <&pm8916_l17>;
247                 vddio-supply = <&pm8916_l5>;      241                 vddio-supply = <&pm8916_l5>;
248         };                                        242         };
249 };                                                243 };
250                                                   244 
251 &blsp_i2c4 {                                      245 &blsp_i2c4 {
252         status = "okay";                          246         status = "okay";
253                                                   247 
254         fuel-gauge@35 {                        !! 248         battery@35 {
255                 compatible = "richtek,rt5033-b    249                 compatible = "richtek,rt5033-battery";
256                 reg = <0x35>;                     250                 reg = <0x35>;
257                 interrupt-parent = <&tlmm>;       251                 interrupt-parent = <&tlmm>;
258                 interrupts = <121 IRQ_TYPE_EDG    252                 interrupts = <121 IRQ_TYPE_EDGE_BOTH>;
259                                                   253 
260                 pinctrl-names = "default";        254                 pinctrl-names = "default";
261                 pinctrl-0 = <&fg_alert_default    255                 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         };                                        256         };
301 };                                                257 };
302                                                   258 
303 &blsp_uart2 {                                     259 &blsp_uart2 {
304         status = "okay";                          260         status = "okay";
305 };                                                261 };
306                                                   262 
307 &gpu {                                            263 &gpu {
308         status = "okay";                          264         status = "okay";
309 };                                                265 };
310                                                   266 
311 /*                                                267 /*
312  * For some reason the speaker amplifier is co    268  * For some reason the speaker amplifier is connected to the second SD line
313  * (MI2S_2_D1) instead of the first (MI2S_2_D0    269  * (MI2S_2_D1) instead of the first (MI2S_2_D0). This must be configured in the
314  * device tree, otherwise audio will seemingly    270  * device tree, otherwise audio will seemingly play fine on the wrong SD line
315  * but the speaker stays silent.                  271  * but the speaker stays silent.
316  *                                                272  *
317  * When routing audio via QDSP6 (the default)     273  * When routing audio via QDSP6 (the default) the &lpass node is reserved and
318  * the definitions from &q6afedai are used. Wh    274  * the definitions from &q6afedai are used. When the modem is disabled audio can
319  * be alternatively routed directly to the LPA    275  * be alternatively routed directly to the LPASS hardware with reduced latency.
320  * The definitions for &lpass are here for com    276  * The definitions for &lpass are here for completeness to simplify changing the
321  * setup with minor changes to the DT (either     277  * setup with minor changes to the DT (either manually or with DT overlays).
322  */                                               278  */
323 &lpass {                                          279 &lpass {
324         dai-link@3 {                              280         dai-link@3 {
325                 reg = <MI2S_QUATERNARY>;          281                 reg = <MI2S_QUATERNARY>;
326                 qcom,playback-sd-lines = <1>;     282                 qcom,playback-sd-lines = <1>;
327         };                                        283         };
328 };                                                284 };
329                                                   285 
330 &mdss {                                           286 &mdss {
331         status = "okay";                          287         status = "okay";
332 };                                                288 };
333                                                   289 
334 &mdss_dsi0 {                                      290 &mdss_dsi0 {
335         pinctrl-names = "default", "sleep";       291         pinctrl-names = "default", "sleep";
336         pinctrl-0 = <&mdss_default>;              292         pinctrl-0 = <&mdss_default>;
337         pinctrl-1 = <&mdss_sleep>;                293         pinctrl-1 = <&mdss_sleep>;
338 };                                                294 };
339                                                   295 
340 &mpss_mem {                                       296 &mpss_mem {
341         reg = <0x0 0x86800000 0x0 0x5400000>;     297         reg = <0x0 0x86800000 0x0 0x5400000>;
342 };                                                298 };
343                                                   299 
344 &pm8916_resin {                                   300 &pm8916_resin {
345         status = "okay";                          301         status = "okay";
346         linux,code = <KEY_VOLUMEDOWN>;            302         linux,code = <KEY_VOLUMEDOWN>;
347 };                                                303 };
348                                                   304 
349 &pm8916_rpm_regulators {                          305 &pm8916_rpm_regulators {
350         pm8916_l17: l17 {                         306         pm8916_l17: l17 {
351                 regulator-min-microvolt = <285    307                 regulator-min-microvolt = <2850000>;
352                 regulator-max-microvolt = <285    308                 regulator-max-microvolt = <2850000>;
353         };                                        309         };
354 };                                                310 };
355                                                   311 
356 &q6afedai {                                       312 &q6afedai {
357         dai@22 {                                  313         dai@22 {
358                 reg = <QUATERNARY_MI2S_RX>;       314                 reg = <QUATERNARY_MI2S_RX>;
359                 qcom,sd-lines = <1>;              315                 qcom,sd-lines = <1>;
360         };                                        316         };
361 };                                                317 };
362                                                   318 
363 &sdhc_1 {                                         319 &sdhc_1 {
364         status = "okay";                          320         status = "okay";
365 };                                                321 };
366                                                   322 
367 &sdhc_2 {                                         323 &sdhc_2 {
368         status = "okay";                          324         status = "okay";
369                                                   325 
370         pinctrl-names = "default", "sleep";       326         pinctrl-names = "default", "sleep";
371         pinctrl-0 = <&sdc2_default &sdc2_cd_de    327         pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
372         pinctrl-1 = <&sdc2_sleep &sdc2_cd_defa    328         pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
373                                                   329 
374         cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;    330         cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
375 };                                                331 };
376                                                   332 
377 &sound {                                          333 &sound {
378         model = "samsung-a2015";                  334         model = "samsung-a2015";
379         audio-routing =                           335         audio-routing =
380                 "AMIC1", "MIC BIAS External1",    336                 "AMIC1", "MIC BIAS External1",
381                 "AMIC2", "MIC BIAS Internal2",    337                 "AMIC2", "MIC BIAS Internal2",
382                 "AMIC3", "MIC BIAS External1";    338                 "AMIC3", "MIC BIAS External1";
383                                                   339 
384         pinctrl-0 = <&cdc_pdm_default &sec_mi2    340         pinctrl-0 = <&cdc_pdm_default &sec_mi2s_default>;
385         pinctrl-1 = <&cdc_pdm_sleep &sec_mi2s_    341         pinctrl-1 = <&cdc_pdm_sleep &sec_mi2s_sleep>;
386         pinctrl-names = "default", "sleep";       342         pinctrl-names = "default", "sleep";
387                                                   343 
388         sound_link_backend2: backend2-dai-link    344         sound_link_backend2: backend2-dai-link {
389                 link-name = "Quaternary MI2S";    345                 link-name = "Quaternary MI2S";
390                                                   346 
391                 cpu {                             347                 cpu {
392                         sound-dai = <&q6afedai    348                         sound-dai = <&q6afedai QUATERNARY_MI2S_RX>;
393                 };                                349                 };
394                 platform {                        350                 platform {
395                         sound-dai = <&q6routin    351                         sound-dai = <&q6routing>;
396                 };                                352                 };
397                 codec {                           353                 codec {
398                         sound-dai = <&speaker_    354                         sound-dai = <&speaker_codec>;
399                 };                                355                 };
400         };                                        356         };
401 };                                                357 };
402                                                   358 
403 &usb {                                            359 &usb {
404         status = "okay";                          360         status = "okay";
405         extcon = <&muic>, <&muic>;                361         extcon = <&muic>, <&muic>;
406 };                                                362 };
407                                                   363 
408 &usb_hs_phy {                                     364 &usb_hs_phy {
409         extcon = <&muic>;                         365         extcon = <&muic>;
410 };                                                366 };
411                                                   367 
412 &venus {                                          368 &venus {
413         status = "okay";                          369         status = "okay";
414 };                                                370 };
415                                                   371 
416 &venus_mem {                                      372 &venus_mem {
417         status = "okay";                          373         status = "okay";
418 };                                                374 };
419                                                   375 
420 &tlmm {                                           376 &tlmm {
421         accel_int_default: accel-int-default-s    377         accel_int_default: accel-int-default-state {
422                 pins = "gpio115";                 378                 pins = "gpio115";
423                 function = "gpio";                379                 function = "gpio";
424                                                   380 
425                 drive-strength = <2>;             381                 drive-strength = <2>;
426                 bias-disable;                     382                 bias-disable;
427         };                                        383         };
428                                                   384 
429         fg_alert_default: fg-alert-default-sta    385         fg_alert_default: fg-alert-default-state {
430                 pins = "gpio121";                 386                 pins = "gpio121";
431                 function = "gpio";                387                 function = "gpio";
432                                                   388 
433                 drive-strength = <2>;             389                 drive-strength = <2>;
434                 bias-disable;                     390                 bias-disable;
435         };                                        391         };
436                                                   392 
437         gpio_keys_default: gpio-keys-default-s    393         gpio_keys_default: gpio-keys-default-state {
438                 pins = "gpio107", "gpio109";      394                 pins = "gpio107", "gpio109";
439                 function = "gpio";                395                 function = "gpio";
440                                                   396 
441                 drive-strength = <2>;             397                 drive-strength = <2>;
442                 bias-pull-up;                     398                 bias-pull-up;
443         };                                        399         };
444                                                   400 
445         gpio_hall_sensor_default: gpio-hall-se    401         gpio_hall_sensor_default: gpio-hall-sensor-default-state {
446                 pins = "gpio52";                  402                 pins = "gpio52";
447                 function = "gpio";                403                 function = "gpio";
448                                                   404 
449                 drive-strength = <2>;             405                 drive-strength = <2>;
450                 bias-disable;                     406                 bias-disable;
451         };                                        407         };
452                                                   408 
453         mdss_default: mdss-default-state {        409         mdss_default: mdss-default-state {
454                 pins = "gpio25";                  410                 pins = "gpio25";
455                 function = "gpio";                411                 function = "gpio";
456                                                   412 
457                 drive-strength = <8>;             413                 drive-strength = <8>;
458                 bias-disable;                     414                 bias-disable;
459         };                                        415         };
460         mdss_sleep: mdss-sleep-state {            416         mdss_sleep: mdss-sleep-state {
461                 pins = "gpio25";                  417                 pins = "gpio25";
462                 function = "gpio";                418                 function = "gpio";
463                                                   419 
464                 drive-strength = <2>;             420                 drive-strength = <2>;
465                 bias-pull-down;                   421                 bias-pull-down;
466         };                                        422         };
467                                                   423 
468         motor_en_default: motor-en-default-sta    424         motor_en_default: motor-en-default-state {
469                 pins = "gpio76";                  425                 pins = "gpio76";
470                 function = "gpio";                426                 function = "gpio";
471                                                   427 
472                 drive-strength = <2>;             428                 drive-strength = <2>;
473                 bias-disable;                     429                 bias-disable;
474         };                                        430         };
475                                                   431 
476         motor_pwm_default: motor-pwm-default-s    432         motor_pwm_default: motor-pwm-default-state {
477                 pins = "gpio50";                  433                 pins = "gpio50";
478                 function = "gcc_gp2_clk_a";       434                 function = "gcc_gp2_clk_a";
479         };                                        435         };
480                                                   436 
481         muic_i2c_default: muic-i2c-default-sta    437         muic_i2c_default: muic-i2c-default-state {
482                 pins = "gpio105", "gpio106";      438                 pins = "gpio105", "gpio106";
483                 function = "gpio";                439                 function = "gpio";
484                                                   440 
485                 drive-strength = <2>;             441                 drive-strength = <2>;
486                 bias-disable;                     442                 bias-disable;
487         };                                        443         };
488                                                   444 
489         muic_int_default: muic-int-default-sta    445         muic_int_default: muic-int-default-state {
490                 pins = "gpio12";                  446                 pins = "gpio12";
491                 function = "gpio";                447                 function = "gpio";
492                                                   448 
493                 drive-strength = <2>;             449                 drive-strength = <2>;
494                 bias-disable;                     450                 bias-disable;
495         };                                        451         };
496                                                   452 
497         nfc_default: nfc-default-state {          453         nfc_default: nfc-default-state {
498                 nfc-pins {                        454                 nfc-pins {
499                         pins = "gpio20", "gpio    455                         pins = "gpio20", "gpio49";
500                         function = "gpio";        456                         function = "gpio";
501                                                   457 
502                         drive-strength = <2>;     458                         drive-strength = <2>;
503                         bias-disable;             459                         bias-disable;
504                 };                                460                 };
505                                                   461 
506                 irq-pins {                        462                 irq-pins {
507                         pins = "gpio21";          463                         pins = "gpio21";
508                         function = "gpio";        464                         function = "gpio";
509                                                   465 
510                         drive-strength = <2>;     466                         drive-strength = <2>;
511                         bias-pull-down;           467                         bias-pull-down;
512                 };                                468                 };
513         };                                        469         };
514                                                   470 
515         nfc_i2c_default: nfc-i2c-default-state    471         nfc_i2c_default: nfc-i2c-default-state {
516                 pins = "gpio0", "gpio1";          472                 pins = "gpio0", "gpio1";
517                 function = "gpio";                473                 function = "gpio";
518                                                   474 
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>;             475                 drive-strength = <2>;
527                 bias-disable;                     476                 bias-disable;
528         };                                        477         };
529                                                   478 
530         sdc2_cd_default: sdc2-cd-default-state    479         sdc2_cd_default: sdc2-cd-default-state {
531                 pins = "gpio38";                  480                 pins = "gpio38";
532                 function = "gpio";                481                 function = "gpio";
533                 drive-strength = <2>;             482                 drive-strength = <2>;
534                 bias-disable;                     483                 bias-disable;
535         };                                        484         };
536                                                   485 
537         tkey_default: tkey-default-state {        486         tkey_default: tkey-default-state {
538                 pins = "gpio98";                  487                 pins = "gpio98";
539                 function = "gpio";                488                 function = "gpio";
540                                                   489 
541                 drive-strength = <2>;             490                 drive-strength = <2>;
542                 bias-disable;                     491                 bias-disable;
543         };                                        492         };
544                                                   493 
545         tkey_i2c_default: tkey-i2c-default-sta    494         tkey_i2c_default: tkey-i2c-default-state {
546                 pins = "gpio16", "gpio17";        495                 pins = "gpio16", "gpio17";
547                 function = "gpio";                496                 function = "gpio";
548                                                   497 
549                 drive-strength = <2>;             498                 drive-strength = <2>;
550                 bias-disable;                     499                 bias-disable;
551         };                                        500         };
552                                                   501 
553         tsp_en_default: tsp-en-default-state {    502         tsp_en_default: tsp-en-default-state {
554                 pins = "gpio73";                  503                 pins = "gpio73";
555                 function = "gpio";                504                 function = "gpio";
556                                                   505 
557                 drive-strength = <2>;             506                 drive-strength = <2>;
558                 bias-disable;                     507                 bias-disable;
559         };                                        508         };
560                                                   509 
561         ts_int_default: ts-int-default-state {    510         ts_int_default: ts-int-default-state {
562                 pins = "gpio13";                  511                 pins = "gpio13";
563                 function = "gpio";                512                 function = "gpio";
564                                                   513 
565                 drive-strength = <2>;             514                 drive-strength = <2>;
566                 bias-disable;                     515                 bias-disable;
567         };                                        516         };
568 };                                                517 };
569                                                   518 
570 &pm8916_gpios {                                   519 &pm8916_gpios {
571         nfc_clk_req: nfc-clk-req-state {          520         nfc_clk_req: nfc-clk-req-state {
572                 pins = "gpio2";                   521                 pins = "gpio2";
573                 function = "func1";               522                 function = "func1";
574                                                   523 
575                 input-enable;                     524                 input-enable;
576                 bias-disable;                     525                 bias-disable;
577                 power-source = <PM8916_GPIO_L2    526                 power-source = <PM8916_GPIO_L2>;
578         };                                        527         };
579 };                                                528 };
                                                      

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