~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/qcom/msm8916-lg-m216.dts

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-lg-m216.dts (Architecture i386) and /scripts/dtc/include-prefixes/arm64/qcom/msm8916-lg-m216.dts (Architecture sparc64)


  1 // SPDX-License-Identifier: GPL-2.0-only            1 // SPDX-License-Identifier: GPL-2.0-only
  2                                                     2 
  3 /dts-v1/;                                           3 /dts-v1/;
  4                                                     4 
  5 #include "msm8916-pm8916.dtsi"                      5 #include "msm8916-pm8916.dtsi"
  6 #include "msm8916-modem-qdsp6.dtsi"                 6 #include "msm8916-modem-qdsp6.dtsi"
  7                                                     7 
  8 #include <dt-bindings/gpio/gpio.h>                  8 #include <dt-bindings/gpio/gpio.h>
  9                                                     9 
 10 / {                                                10 / {
 11         model = "LG K10 (K420n)";                  11         model = "LG K10 (K420n)";
 12         compatible = "lg,m216", "qcom,msm8916"     12         compatible = "lg,m216", "qcom,msm8916";
 13         chassis-type = "handset";                  13         chassis-type = "handset";
 14                                                    14 
 15         aliases {                                  15         aliases {
 16                 mmc0 = &sdhc_1; /* eMMC */         16                 mmc0 = &sdhc_1; /* eMMC */
 17                 mmc1 = &sdhc_2; /* SD card */      17                 mmc1 = &sdhc_2; /* SD card */
 18                 serial0 = &blsp_uart2;             18                 serial0 = &blsp_uart2;
 19         };                                         19         };
 20                                                    20 
 21         chosen {                                   21         chosen {
 22                 stdout-path = "serial0";           22                 stdout-path = "serial0";
 23         };                                         23         };
 24                                                    24 
 25         battery: battery {                         25         battery: battery {
 26                 compatible = "simple-battery";     26                 compatible = "simple-battery";
 27                 voltage-min-design-microvolt =     27                 voltage-min-design-microvolt = <3300000>;
 28                 voltage-max-design-microvolt =     28                 voltage-max-design-microvolt = <4350000>;
 29                 energy-full-design-microwatt-h     29                 energy-full-design-microwatt-hours = <8800000>;
 30                 charge-full-design-microamp-ho     30                 charge-full-design-microamp-hours = <2300000>;
 31                                                    31 
 32                 ocv-capacity-celsius = <25>;       32                 ocv-capacity-celsius = <25>;
 33                 ocv-capacity-table-0 = <434200     33                 ocv-capacity-table-0 = <4342000 100>, <4266000 95>, <4206000 90>,
 34                         <4148000 85>, <4094000     34                         <4148000 85>, <4094000 80>, <4046000 75>, <3994000 70>,
 35                         <3956000 65>, <3916000     35                         <3956000 65>, <3916000 60>, <3866000 55>, <3831000 50>,
 36                         <3808000 45>, <3789000     36                         <3808000 45>, <3789000 40>, <3776000 35>, <3769000 30>,
 37                         <3760000 25>, <3740000     37                         <3760000 25>, <3740000 20>, <3712000 16>, <3684000 13>,
 38                         <3676000 11>, <3674000     38                         <3676000 11>, <3674000 10>, <3672000 9>, <3669000 8>,
 39                         <3665000 7>, <3660000      39                         <3665000 7>, <3660000 6>, <3643000 5>, <3602000 4>,
 40                         <3542000 3>, <3458000      40                         <3542000 3>, <3458000 2>, <3326000 1>, <3000000 0>;
 41         };                                         41         };
 42                                                    42 
 43         gpio-keys {                                43         gpio-keys {
 44                 compatible = "gpio-keys";          44                 compatible = "gpio-keys";
 45                                                    45 
 46                 pinctrl-0 = <&gpio_keys_defaul     46                 pinctrl-0 = <&gpio_keys_default>;
 47                 pinctrl-names = "default";         47                 pinctrl-names = "default";
 48                                                    48 
 49                 label = "GPIO Buttons";            49                 label = "GPIO Buttons";
 50                                                    50 
 51                 volume-up-button {                 51                 volume-up-button {
 52                         label = "Volume Up";       52                         label = "Volume Up";
 53                         gpios = <&tlmm 107 GPI     53                         gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
 54                         linux,code = <KEY_VOLU     54                         linux,code = <KEY_VOLUMEUP>;
 55                 };                                 55                 };
 56                                                    56 
 57                 volume-down-button {               57                 volume-down-button {
 58                         label = "Volume Down";     58                         label = "Volume Down";
 59                         gpios = <&tlmm 108 GPI     59                         gpios = <&tlmm 108 GPIO_ACTIVE_LOW>;
 60                         linux,code = <KEY_VOLU     60                         linux,code = <KEY_VOLUMEDOWN>;
 61                 };                                 61                 };
 62         };                                         62         };
 63 };                                                 63 };
 64                                                    64 
 65 &blsp_i2c2 {                                       65 &blsp_i2c2 {
 66         status = "okay";                           66         status = "okay";
 67                                                    67 
 68         accelerometer@11 {                         68         accelerometer@11 {
 69                 compatible = "bosch,bmc150_acc     69                 compatible = "bosch,bmc150_accel";
 70                 reg = <0x11>;                      70                 reg = <0x11>;
 71                                                    71 
 72                 interrupts-extended = <&tlmm 1     72                 interrupts-extended = <&tlmm 115 IRQ_TYPE_EDGE_RISING>;
 73                                                    73 
 74                 mount-matrix =   "0", "1", "0"     74                 mount-matrix =   "0", "1", "0",
 75                                 "-1", "0", "0"     75                                 "-1", "0", "0",
 76                                  "0", "0", "1"     76                                  "0", "0", "1";
 77                                                    77 
 78                 vdd-supply = <&pm8916_l17>;        78                 vdd-supply = <&pm8916_l17>;
 79                 vddio-supply = <&pm8916_l6>;       79                 vddio-supply = <&pm8916_l6>;
 80                                                    80 
 81                 pinctrl-0 = <&accel_int_defaul     81                 pinctrl-0 = <&accel_int_default>;
 82                 pinctrl-names = "default";         82                 pinctrl-names = "default";
 83         };                                         83         };
 84                                                    84 
 85         magnetometer@13 {                          85         magnetometer@13 {
 86                 compatible = "bosch,bmc150_mag     86                 compatible = "bosch,bmc150_magn";
 87                 reg = <0x13>;                      87                 reg = <0x13>;
 88                                                    88 
 89                 interrupts-extended = <&tlmm 6     89                 interrupts-extended = <&tlmm 69 IRQ_TYPE_EDGE_RISING>;
 90                                                    90 
 91                 vdd-supply = <&pm8916_l17>;        91                 vdd-supply = <&pm8916_l17>;
 92                 vddio-supply = <&pm8916_l6>;       92                 vddio-supply = <&pm8916_l6>;
 93                                                    93 
 94                 pinctrl-0 = <&magn_int_default     94                 pinctrl-0 = <&magn_int_default>;
 95                 pinctrl-names = "default";         95                 pinctrl-names = "default";
 96         };                                         96         };
 97 };                                                 97 };
 98                                                    98 
 99 &blsp_i2c5 {                                       99 &blsp_i2c5 {
100         status = "okay";                          100         status = "okay";
101                                                   101 
102         touchscreen@34 {                          102         touchscreen@34 {
103                 compatible = "melfas,mip4_ts";    103                 compatible = "melfas,mip4_ts";
104                 reg = <0x34>;                     104                 reg = <0x34>;
105                                                   105 
106                 interrupts-extended = <&tlmm 1    106                 interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>;
107                 ce-gpios = <&tlmm 12 GPIO_ACTI    107                 ce-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
108                                                   108 
109                 pinctrl-0 = <&touchscreen_defa    109                 pinctrl-0 = <&touchscreen_default>;
110                 pinctrl-names = "default";        110                 pinctrl-names = "default";
111         };                                        111         };
112 };                                                112 };
113                                                   113 
114 &blsp_uart2 {                                     114 &blsp_uart2 {
115         status = "okay";                          115         status = "okay";
116 };                                                116 };
117                                                   117 
118 &mpss_mem {                                       118 &mpss_mem {
119         reg = <0x0 0x86800000 0x0 0x4a00000>;     119         reg = <0x0 0x86800000 0x0 0x4a00000>;
120 };                                                120 };
121                                                   121 
122 &pm8916_bms {                                     122 &pm8916_bms {
123         monitored-battery = <&battery>;           123         monitored-battery = <&battery>;
124         power-supplies = <&pm8916_charger>;       124         power-supplies = <&pm8916_charger>;
125                                                   125 
126         status = "okay";                          126         status = "okay";
127 };                                                127 };
128                                                   128 
129 &pm8916_charger {                                 129 &pm8916_charger {
130         qcom,fast-charge-safe-current = <70000    130         qcom,fast-charge-safe-current = <700000>;
131         qcom,fast-charge-safe-voltage = <43000    131         qcom,fast-charge-safe-voltage = <4300000>;
132                                                   132 
133         monitored-battery = <&battery>;           133         monitored-battery = <&battery>;
134         status = "okay";                          134         status = "okay";
135 };                                                135 };
136                                                   136 
137 &pm8916_codec {                                   137 &pm8916_codec {
138         qcom,micbias1-ext-cap;                    138         qcom,micbias1-ext-cap;
139         qcom,micbias-lvl = <2800>;                139         qcom,micbias-lvl = <2800>;
140         qcom,mbhc-vthreshold-low = <75 100 120    140         qcom,mbhc-vthreshold-low = <75 100 120 180 500>;
141         qcom,mbhc-vthreshold-high = <75 100 12    141         qcom,mbhc-vthreshold-high = <75 100 120 180 500>;
142         qcom,hphl-jack-type-normally-open;        142         qcom,hphl-jack-type-normally-open;
143 };                                                143 };
144                                                   144 
145 &pm8916_rpm_regulators {                          145 &pm8916_rpm_regulators {
146         pm8916_l17: l17 {                         146         pm8916_l17: l17 {
147                 regulator-min-microvolt = <285    147                 regulator-min-microvolt = <2850000>;
148                 regulator-max-microvolt = <285    148                 regulator-max-microvolt = <2850000>;
149         };                                        149         };
150 };                                                150 };
151                                                   151 
152 &pm8916_vib {                                     152 &pm8916_vib {
153         status = "okay";                          153         status = "okay";
154 };                                                154 };
155                                                   155 
156 &sdhc_1 {                                         156 &sdhc_1 {
157         status = "okay";                          157         status = "okay";
158 };                                                158 };
159                                                   159 
160 &sdhc_2 {                                         160 &sdhc_2 {
161         pinctrl-0 = <&sdc2_default &sdc2_cd_de    161         pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
162         pinctrl-1 = <&sdc2_sleep &sdc2_cd_defa    162         pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
163         pinctrl-names = "default", "sleep";       163         pinctrl-names = "default", "sleep";
164                                                   164 
165         cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;    165         cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
166                                                   166 
167         status = "okay";                          167         status = "okay";
168 };                                                168 };
169                                                   169 
170 &sound {                                          170 &sound {
171         audio-routing =                           171         audio-routing =
172                 "AMIC1", "MIC BIAS External1",    172                 "AMIC1", "MIC BIAS External1",
173                 "AMIC2", "MIC BIAS Internal2",    173                 "AMIC2", "MIC BIAS Internal2",
174                 "AMIC3", "MIC BIAS External1";    174                 "AMIC3", "MIC BIAS External1";
175 };                                                175 };
176                                                   176 
177 &usb {                                            177 &usb {
178         dr_mode = "peripheral";                   178         dr_mode = "peripheral";
179         extcon = <&pm8916_charger>;               179         extcon = <&pm8916_charger>;
180         status = "okay";                          180         status = "okay";
181 };                                                181 };
182                                                   182 
183 &usb_hs_phy {                                     183 &usb_hs_phy {
184         extcon = <&pm8916_charger>;               184         extcon = <&pm8916_charger>;
185 };                                                185 };
186                                                   186 
187 &venus {                                          187 &venus {
188         status = "okay";                          188         status = "okay";
189 };                                                189 };
190                                                   190 
191 &venus_mem {                                      191 &venus_mem {
192         status = "okay";                          192         status = "okay";
193 };                                                193 };
194                                                   194 
195 &wcnss {                                          195 &wcnss {
196         status = "okay";                          196         status = "okay";
197 };                                                197 };
198                                                   198 
199 &wcnss_iris {                                     199 &wcnss_iris {
200         compatible = "qcom,wcn3620";              200         compatible = "qcom,wcn3620";
201 };                                                201 };
202                                                   202 
203 &wcnss_mem {                                      203 &wcnss_mem {
204         status = "okay";                          204         status = "okay";
205 };                                                205 };
206                                                   206 
207 &tlmm {                                           207 &tlmm {
208         accel_int_default: accel-int-default-s    208         accel_int_default: accel-int-default-state {
209                 pins = "gpio115";                 209                 pins = "gpio115";
210                 function = "gpio";                210                 function = "gpio";
211                 drive-strength = <2>;             211                 drive-strength = <2>;
212                 bias-disable;                     212                 bias-disable;
213         };                                        213         };
214                                                   214 
215         gpio_keys_default: gpio-keys-default-s    215         gpio_keys_default: gpio-keys-default-state {
216                 pins = "gpio107", "gpio108";      216                 pins = "gpio107", "gpio108";
217                 function = "gpio";                217                 function = "gpio";
218                 drive-strength = <2>;             218                 drive-strength = <2>;
219                 bias-pull-up;                     219                 bias-pull-up;
220         };                                        220         };
221                                                   221 
222         magn_int_default: magn-int-default-sta    222         magn_int_default: magn-int-default-state {
223                 pins = "gpio69";                  223                 pins = "gpio69";
224                 function = "gpio";                224                 function = "gpio";
225                 drive-strength = <2>;             225                 drive-strength = <2>;
226                 bias-disable;                     226                 bias-disable;
227         };                                        227         };
228                                                   228 
229         sdc2_cd_default: sdc2-cd-default-state    229         sdc2_cd_default: sdc2-cd-default-state {
230                 pins = "gpio38";                  230                 pins = "gpio38";
231                 function = "gpio";                231                 function = "gpio";
232                 drive-strength = <2>;             232                 drive-strength = <2>;
233                 bias-disable;                     233                 bias-disable;
234         };                                        234         };
235                                                   235 
236         touchscreen_default: touchscreen-defau    236         touchscreen_default: touchscreen-default-state {
237                 touchscreen-pins {                237                 touchscreen-pins {
238                         pins = "gpio13";          238                         pins = "gpio13";
239                         function = "gpio";        239                         function = "gpio";
240                         drive-strength = <2>;     240                         drive-strength = <2>;
241                         bias-pull-up;             241                         bias-pull-up;
242                 };                                242                 };
243                                                   243 
244                 ce-pins {                         244                 ce-pins {
245                         pins = "gpio12";          245                         pins = "gpio12";
246                         function = "gpio";        246                         function = "gpio";
247                         drive-strength = <2>;     247                         drive-strength = <2>;
248                         bias-disable;             248                         bias-disable;
249                 };                                249                 };
250         };                                        250         };
251 };                                                251 };
                                                      

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