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


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

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