Lines Matching +full:mm2 +full:- +full:dai +full:- +full:link
1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
9 #include <dt-bindings/sound/qcom,q6afe.h>
10 #include <dt-bindings/sound/qcom,q6asm.h>
11 #include <dt-bindings/gpio/gpio.h>
20 compatible = "qcom,sm8250-mtp", "qcom,sm8250";
21 chassis-type = "handset";
27 wcd938x: audio-codec {
28 compatible = "qcom,wcd9380-codec";
30 reset-gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
32 vdd-buck-supply = <&vreg_s4a_1p8>;
33 vdd-rxtx-supply = <&vreg_s4a_1p8>;
34 vdd-io-supply = <&vreg_s4a_1p8>;
35 vdd-mic-bias-supply = <&vreg_bob>;
37 qcom,micbias1-microvolt = <1800000>;
38 qcom,micbias2-microvolt = <1800000>;
39 qcom,micbias3-microvolt = <1800000>;
40 qcom,micbias4-microvolt = <1800000>;
41 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
42 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
43 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
44 qcom,rx-device = <&wcd_rx>;
45 qcom,tx-device = <&wcd_tx>;
47 #sound-dai-cells = <1>;
51 stdout-path = "serial0:115200n8";
54 thermal-zones {
55 camera-thermal {
56 thermal-sensors = <&pm8150l_adc_tm 0>;
59 active-config0 {
67 conn-thermal {
68 thermal-sensors = <&pm8150b_adc_tm 0>;
71 active-config0 {
79 mmw-pa1-thermal {
80 thermal-sensors = <&pm8150_adc_tm 2>;
83 active-config0 {
91 mmw-pa2-thermal {
92 thermal-sensors = <&pm8150l_adc_tm 2>;
95 active-config0 {
103 skin-msm-thermal {
104 thermal-sensors = <&pm8150l_adc_tm 1>;
107 active-config0 {
115 skin-thermal {
116 thermal-sensors = <&pm8150_adc_tm 1>;
119 active-config0 {
127 xo-thermal {
128 thermal-sensors = <&pm8150_adc_tm 0>;
131 active-config0 {
140 vph_pwr: vph-pwr-regulator {
141 compatible = "regulator-fixed";
142 regulator-name = "vph_pwr";
143 regulator-min-microvolt = <3700000>;
144 regulator-max-microvolt = <3700000>;
147 vreg_s4a_1p8: pm8150-s4 {
148 compatible = "regulator-fixed";
149 regulator-name = "vreg_s4a_1p8";
151 regulator-min-microvolt = <1800000>;
152 regulator-max-microvolt = <1800000>;
154 regulator-always-on;
155 regulator-boot-on;
157 vin-supply = <&vph_pwr>;
160 vreg_s6c_0p88: smpc6-regulator {
161 compatible = "regulator-fixed";
162 regulator-name = "vreg_s6c_0p88";
164 regulator-min-microvolt = <880000>;
165 regulator-max-microvolt = <880000>;
166 regulator-always-on;
167 vin-supply = <&vph_pwr>;
173 firmware-name = "qcom/sm8250/adsp.mbn";
177 regulators-0 {
178 compatible = "qcom,pm8150-rpmh-regulators";
179 qcom,pmic-id = "a";
181 vdd-s1-supply = <&vph_pwr>;
182 vdd-s2-supply = <&vph_pwr>;
183 vdd-s3-supply = <&vph_pwr>;
184 vdd-s4-supply = <&vph_pwr>;
185 vdd-s5-supply = <&vph_pwr>;
186 vdd-s6-supply = <&vph_pwr>;
187 vdd-s7-supply = <&vph_pwr>;
188 vdd-s8-supply = <&vph_pwr>;
189 vdd-s9-supply = <&vph_pwr>;
190 vdd-s10-supply = <&vph_pwr>;
191 vdd-l1-l8-l11-supply = <&vreg_s6c_0p88>;
192 vdd-l2-l10-supply = <&vreg_bob>;
193 vdd-l3-l4-l5-l18-supply = <&vreg_s6a_0p95>;
194 vdd-l6-l9-supply = <&vreg_s8c_1p3>;
195 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_1p9>;
196 vdd-l13-l16-l17-supply = <&vreg_bob>;
199 regulator-name = "vreg_s5a_1p9";
200 regulator-min-microvolt = <1904000>;
201 regulator-max-microvolt = <2000000>;
202 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
206 regulator-name = "vreg_s6a_0p95";
207 regulator-min-microvolt = <920000>;
208 regulator-max-microvolt = <1128000>;
209 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
213 regulator-name = "vreg_l2a_3p1";
214 regulator-min-microvolt = <3072000>;
215 regulator-max-microvolt = <3072000>;
216 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
220 regulator-name = "vreg_l3a_0p9";
221 regulator-min-microvolt = <928000>;
222 regulator-max-microvolt = <932000>;
223 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
227 regulator-name = "vreg_l5a_0p875";
228 regulator-min-microvolt = <880000>;
229 regulator-max-microvolt = <880000>;
230 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
234 regulator-name = "vreg_l6a_1p2";
235 regulator-min-microvolt = <1200000>;
236 regulator-max-microvolt = <1200000>;
237 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
241 regulator-name = "vreg_l7a_1p7";
242 regulator-min-microvolt = <1704000>;
243 regulator-max-microvolt = <1800000>;
244 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
248 regulator-name = "vreg_l9a_1p2";
249 regulator-min-microvolt = <1200000>;
250 regulator-max-microvolt = <1200000>;
251 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
255 regulator-name = "vreg_l10a_1p8";
256 regulator-min-microvolt = <1800000>;
257 regulator-max-microvolt = <1800000>;
258 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
262 regulator-name = "vreg_l12a_1p8";
263 regulator-min-microvolt = <1800000>;
264 regulator-max-microvolt = <1800000>;
265 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
269 regulator-name = "vreg_l13a_ts_3p0";
270 regulator-min-microvolt = <3008000>;
271 regulator-max-microvolt = <3008000>;
272 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
276 regulator-name = "vreg_l14a_1p8";
277 regulator-min-microvolt = <1800000>;
278 regulator-max-microvolt = <1880000>;
279 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
283 regulator-name = "vreg_l15a_11ad_io_1p8";
284 regulator-min-microvolt = <1800000>;
285 regulator-max-microvolt = <1800000>;
286 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
290 regulator-name = "vreg_l16a_2p7";
291 regulator-min-microvolt = <2704000>;
292 regulator-max-microvolt = <2960000>;
293 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
297 regulator-name = "vreg_l17a_3p0";
298 regulator-min-microvolt = <2856000>;
299 regulator-max-microvolt = <3008000>;
300 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
304 regulator-name = "vreg_l18a_0p9";
305 regulator-min-microvolt = <912000>;
306 regulator-max-microvolt = <912000>;
307 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
311 regulators-1 {
312 compatible = "qcom,pm8150l-rpmh-regulators";
313 qcom,pmic-id = "c";
315 vdd-s1-supply = <&vph_pwr>;
316 vdd-s2-supply = <&vph_pwr>;
317 vdd-s3-supply = <&vph_pwr>;
318 vdd-s4-supply = <&vph_pwr>;
319 vdd-s5-supply = <&vph_pwr>;
320 vdd-s6-supply = <&vph_pwr>;
321 vdd-s7-supply = <&vph_pwr>;
322 vdd-s8-supply = <&vph_pwr>;
323 vdd-l1-l8-supply = <&vreg_s4a_1p8>;
324 vdd-l2-l3-supply = <&vreg_s8c_1p3>;
325 vdd-l4-l5-l6-supply = <&vreg_bob>;
326 vdd-l7-l11-supply = <&vreg_bob>;
327 vdd-l9-l10-supply = <&vreg_bob>;
328 vdd-bob-supply = <&vph_pwr>;
331 regulator-name = "vreg_bob";
332 regulator-min-microvolt = <3008000>;
333 regulator-max-microvolt = <4000000>;
334 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
338 regulator-name = "vreg_s8c_1p3";
339 regulator-min-microvolt = <1352000>;
340 regulator-max-microvolt = <1352000>;
341 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
345 regulator-name = "vreg_l1c_1p8";
346 regulator-min-microvolt = <1800000>;
347 regulator-max-microvolt = <1800000>;
348 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
352 regulator-name = "vreg_l2c_1p2";
353 regulator-min-microvolt = <1200000>;
354 regulator-max-microvolt = <1200000>;
355 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
359 regulator-name = "vreg_l3c_0p92";
360 regulator-min-microvolt = <920000>;
361 regulator-max-microvolt = <920000>;
362 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
366 regulator-name = "vreg_l4c_1p7";
367 regulator-min-microvolt = <1704000>;
368 regulator-max-microvolt = <2928000>;
369 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
373 regulator-name = "vreg_l5c_1p8";
374 regulator-min-microvolt = <1800000>;
375 regulator-max-microvolt = <2928000>;
376 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
380 regulator-name = "vreg_l6c_2p9";
381 regulator-min-microvolt = <1800000>;
382 regulator-max-microvolt = <2960000>;
383 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
387 regulator-name = "vreg_l7c_cam_vcm0_2p85";
388 regulator-min-microvolt = <2856000>;
389 regulator-max-microvolt = <3104000>;
390 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
394 regulator-name = "vreg_l8c_1p8";
395 regulator-min-microvolt = <1800000>;
396 regulator-max-microvolt = <1800000>;
397 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
401 regulator-name = "vreg_l9c_2p9";
402 regulator-min-microvolt = <2704000>;
403 regulator-max-microvolt = <2960000>;
404 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
408 regulator-name = "vreg_l10c_3p0";
409 regulator-min-microvolt = <3000000>;
410 regulator-max-microvolt = <3000000>;
411 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
415 regulator-name = "vreg_l11c_3p3";
416 regulator-min-microvolt = <3000000>;
417 regulator-max-microvolt = <3312000>;
418 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
422 regulators-2 {
423 compatible = "qcom,pm8009-rpmh-regulators";
424 qcom,pmic-id = "f";
426 vdd-s1-supply = <&vph_pwr>;
427 vdd-s2-supply = <&vreg_bob>;
428 vdd-l2-supply = <&vreg_s8c_1p3>;
429 vdd-l5-l6-supply = <&vreg_bob>;
430 vdd-l7-supply = <&vreg_s4a_1p8>;
433 regulator-name = "vreg_l1f_cam_dvdd1_1p1";
434 regulator-min-microvolt = <1104000>;
435 regulator-max-microvolt = <1104000>;
436 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
440 regulator-name = "vreg_l2f_cam_dvdd0_1p2";
441 regulator-min-microvolt = <1200000>;
442 regulator-max-microvolt = <1200000>;
443 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
447 regulator-name = "vreg_l3f_cam_dvdd2_1p05";
448 regulator-min-microvolt = <1056000>;
449 regulator-max-microvolt = <1056000>;
450 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
454 regulator-name = "vreg_l5f_cam_avdd0_2p85";
455 regulator-min-microvolt = <2800000>;
456 regulator-max-microvolt = <2800000>;
457 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
461 regulator-name = "vreg_l6f_cam_avdd1_2p85";
462 regulator-min-microvolt = <2856000>;
463 regulator-max-microvolt = <2856000>;
464 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
468 regulator-name = "vreg_l7f_1p8";
469 regulator-min-microvolt = <1800000>;
470 regulator-max-microvolt = <1800000>;
471 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
478 firmware-name = "qcom/sm8250/cdsp.mbn";
488 zap-shader {
489 memory-region = <&gpu_mem>;
490 firmware-name = "qcom/sm8250/a650_zap.mbn";
496 clock-frequency = <1000000>;
518 qcom,hw-settle-time = <200>;
525 qcom,hw-settle-time = <200>;
532 qcom,hw-settle-time = <200>;
540 xo-therm@0 {
542 io-channels = <&pm8150_adc ADC5_XO_THERM_100K_PU>;
544 qcom,hw-settle-time-us = <200>;
547 skin-therm@1 {
549 io-channels = <&pm8150_adc ADC5_AMUX_THM1_100K_PU>;
551 qcom,hw-settle-time-us = <200>;
554 pa-therm1@2 {
556 io-channels = <&pm8150_adc ADC5_AMUX_THM2_100K_PU>;
558 qcom,hw-settle-time-us = <200>;
566 qcom,hw-settle-time = <200>;
574 conn-therm@0 {
576 io-channels = <&pm8150b_adc ADC5_AMUX_THM3_100K_PU>;
578 qcom,hw-settle-time-us = <200>;
585 camera-flash-therm@0 {
587 io-channels = <&pm8150l_adc ADC5_AMUX_THM1_100K_PU>;
589 qcom,hw-settle-time-us = <200>;
592 skin-msm-therm@1 {
594 io-channels = <&pm8150l_adc ADC5_AMUX_THM2_100K_PU>;
596 qcom,hw-settle-time-us = <200>;
599 pa-therm2@2 {
601 io-channels = <&pm8150l_adc ADC5_AMUX_THM3_100K_PU>;
603 qcom,hw-settle-time-us = <200>;
611 qcom,hw-settle-time = <200>;
618 qcom,hw-settle-time = <200>;
625 qcom,hw-settle-time = <200>;
648 firmware-name = "qcom/sm8250/slpi.mbn";
652 compatible = "qcom,sm8250-sndcard";
653 model = "SM8250-MTP-WCD9380-WSA8810-VA-DMIC";
654 audio-routing =
677 mm1-dai-link {
678 link-name = "MultiMedia1";
680 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
684 mm2-dai-link {
685 link-name = "MultiMedia2";
687 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>;
691 mm3-dai-link {
692 link-name = "MultiMedia3";
694 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>;
698 wcd-playback-dai-link {
699 link-name = "WCD Playback";
701 sound-dai = <&q6afedai RX_CODEC_DMA_RX_0>;
704 sound-dai = <&wcd938x 0>, <&swr1 0>, <&rxmacro 0>;
707 sound-dai = <&q6routing>;
711 wcd-capture-dai-link {
712 link-name = "WCD Capture";
714 sound-dai = <&q6afedai TX_CODEC_DMA_TX_3>;
718 sound-dai = <&wcd938x 1>, <&swr2 0>, <&txmacro 0>;
721 sound-dai = <&q6routing>;
725 wsa-dai-link {
726 link-name = "WSA Playback";
728 sound-dai = <&q6afedai WSA_CODEC_DMA_RX_0>;
732 sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&wsamacro 0>;
735 sound-dai = <&q6routing>;
739 va-dai-link {
740 link-name = "VA Capture";
742 sound-dai = <&q6afedai VA_CODEC_DMA_TX_0>;
746 sound-dai = <&q6routing>;
750 sound-dai = <&vamacro 0>;
761 powerdown-gpios = <&tlmm 26 GPIO_ACTIVE_LOW>;
762 #thermal-sensor-cells = <0>;
763 sound-name-prefix = "SpkrLeft";
764 #sound-dai-cells = <0>;
770 powerdown-gpios = <&tlmm 127 GPIO_ACTIVE_LOW>;
771 #thermal-sensor-cells = <0>;
772 sound-name-prefix = "SpkrRight";
773 #sound-dai-cells = <0>;
780 wcd_rx: wcd9380-rx@0,4 {
783 qcom,rx-port-mapping = <1 2 3 4 5>;
790 wcd_tx: wcd9380-tx@0,3 {
793 qcom,tx-port-mapping = <2 3 4 5>;
798 gpio-reserved-ranges = <28 4>, <40 4>;
800 wcd938x_reset_default: wcd938x-reset-default-state {
803 drive-strength = <16>;
804 output-high;
807 wcd938x_reset_sleep: wcd938x-reset-sleep-state {
810 drive-strength = <16>;
811 bias-disable;
812 output-low;
827 vcc-supply = <&vreg_l17a_3p0>;
828 vcc-max-microamp = <750000>;
829 vccq-supply = <&vreg_l6a_1p2>;
830 vccq-max-microamp = <700000>;
831 vccq2-supply = <&vreg_s4a_1p8>;
832 vccq2-max-microamp = <750000>;
838 vdda-phy-supply = <&vreg_l5a_0p875>;
839 vdda-pll-supply = <&vreg_l9a_1p2>;
853 vdda-pll-supply = <&vreg_l5a_0p875>;
854 vdda18-supply = <&vreg_l12a_1p8>;
855 vdda33-supply = <&vreg_l2a_3p1>;
861 vdda-phy-supply = <&vreg_l9a_1p2>;
862 vdda-pll-supply = <&vreg_l18a_0p9>;
876 vdda-pll-supply = <&vreg_l5a_0p875>;
877 vdda18-supply = <&vreg_l12a_1p8>;
878 vdda33-supply = <&vreg_l2a_3p1>;
884 vdda-phy-supply = <&vreg_l9a_1p2>;
885 vdda-pll-supply = <&vreg_l18a_0p9>;