Lines Matching +full:x1e80100 +full:- +full:mdss

1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
11 #include "x1e80100.dtsi"
12 #include "x1e80100-pmics.dtsi"
16 compatible = "lenovo,yoga-slim7x", "qcom,x1e80100";
18 pmic-glink {
19 compatible = "qcom,x1e80100-pmic-glink",
20 "qcom,sm8550-pmic-glink",
21 "qcom,pmic-glink";
22 #address-cells = <1>;
23 #size-cells = <0>;
24 orientation-gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>,
28 /* Left-side rear port */
30 compatible = "usb-c-connector";
32 power-role = "dual";
33 data-role = "dual";
36 #address-cells = <1>;
37 #size-cells = <0>;
43 remote-endpoint = <&usb_1_ss0_dwc3_hs>;
51 remote-endpoint = <&usb_1_ss0_qmpphy_out>;
57 /* Left-side front port */
59 compatible = "usb-c-connector";
61 power-role = "dual";
62 data-role = "dual";
65 #address-cells = <1>;
66 #size-cells = <0>;
72 remote-endpoint = <&usb_1_ss1_dwc3_hs>;
80 remote-endpoint = <&usb_1_ss1_qmpphy_out>;
86 /* Right-side port */
88 compatible = "usb-c-connector";
90 power-role = "dual";
91 data-role = "dual";
94 #address-cells = <1>;
95 #size-cells = <0>;
101 remote-endpoint = <&usb_1_ss2_dwc3_hs>;
109 remote-endpoint = <&usb_1_ss2_qmpphy_out>;
116 reserved-memory {
118 compatible = "shared-dma-pool";
121 linux,cma-default;
126 compatible = "qcom,x1e80100-sndcard";
127 model = "X1E80100-LENOVO-Yoga-Slim7x";
128 audio-routing = "WooferLeft IN", "WSA WSA_SPK1 OUT",
133 wsa-dai-link {
134 link-name = "WSA Playback";
137 sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
141 sound-dai = <&left_woofer>, <&left_tweeter>,
148 sound-dai = <&q6apm>;
152 va-dai-link {
153 link-name = "VA Capture";
156 sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>;
160 sound-dai = <&lpass_vamacro 0>;
164 sound-dai = <&q6apm>;
169 vph_pwr: vph-pwr-regulator {
170 compatible = "regulator-fixed";
172 regulator-name = "vph_pwr";
173 regulator-min-microvolt = <3700000>;
174 regulator-max-microvolt = <3700000>;
176 regulator-always-on;
177 regulator-boot-on;
180 vreg_edp_3p3: regulator-edp-3p3 {
181 compatible = "regulator-fixed";
183 regulator-name = "VREG_EDP_3P3";
184 regulator-min-microvolt = <3300000>;
185 regulator-max-microvolt = <3300000>;
188 enable-active-high;
190 pinctrl-0 = <&edp_reg_en>;
191 pinctrl-names = "default";
193 regulator-boot-on;
196 vreg_nvme: regulator-nvme {
197 compatible = "regulator-fixed";
199 regulator-name = "VREG_NVME_3P3";
200 regulator-min-microvolt = <3300000>;
201 regulator-max-microvolt = <3300000>;
204 enable-active-high;
206 pinctrl-0 = <&nvme_reg_en>;
207 pinctrl-names = "default";
209 regulator-boot-on;
214 regulators-0 {
215 compatible = "qcom,pm8550-rpmh-regulators";
216 qcom,pmic-id = "b";
218 vdd-bob1-supply = <&vph_pwr>;
219 vdd-bob2-supply = <&vph_pwr>;
220 vdd-l1-l4-l10-supply = <&vreg_s4c_1p8>;
221 vdd-l2-l13-l14-supply = <&vreg_bob1>;
222 vdd-l5-l16-supply = <&vreg_bob1>;
223 vdd-l6-l7-supply = <&vreg_bob2>;
224 vdd-l8-l9-supply = <&vreg_bob1>;
225 vdd-l12-supply = <&vreg_s5j_1p2>;
226 vdd-l15-supply = <&vreg_s4c_1p8>;
227 vdd-l17-supply = <&vreg_bob2>;
230 regulator-name = "vreg_bob1";
231 regulator-min-microvolt = <3008000>;
232 regulator-max-microvolt = <3960000>;
233 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
237 regulator-name = "vreg_bob2";
238 regulator-min-microvolt = <2504000>;
239 regulator-max-microvolt = <3008000>;
240 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
244 regulator-name = "vreg_l1b_1p8";
245 regulator-min-microvolt = <1800000>;
246 regulator-max-microvolt = <1800000>;
247 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
251 regulator-name = "vreg_l2b_3p0";
252 regulator-min-microvolt = <3072000>;
253 regulator-max-microvolt = <3100000>;
254 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
258 regulator-name = "vreg_l8b_3p0";
259 regulator-min-microvolt = <3072000>;
260 regulator-max-microvolt = <3072000>;
261 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
265 regulator-name = "vreg_l12b_1p2";
266 regulator-min-microvolt = <1200000>;
267 regulator-max-microvolt = <1200000>;
268 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
272 regulator-name = "vreg_l14b_3p0";
273 regulator-min-microvolt = <3072000>;
274 regulator-max-microvolt = <3072000>;
275 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
279 regulator-name = "vreg_l15b_1p8";
280 regulator-min-microvolt = <1800000>;
281 regulator-max-microvolt = <1800000>;
282 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
287 regulators-1 {
288 compatible = "qcom,pm8550ve-rpmh-regulators";
289 qcom,pmic-id = "c";
291 vdd-l1-supply = <&vreg_s5j_1p2>;
292 vdd-l2-supply = <&vreg_s1f_0p7>;
293 vdd-l3-supply = <&vreg_s1f_0p7>;
294 vdd-s4-supply = <&vph_pwr>;
297 regulator-name = "vreg_s4c_1p8";
298 regulator-min-microvolt = <1856000>;
299 regulator-max-microvolt = <2000000>;
300 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
304 regulator-name = "vreg_l1c_1p2";
305 regulator-min-microvolt = <1200000>;
306 regulator-max-microvolt = <1200000>;
307 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
311 regulator-name = "vreg_l2c_0p8";
312 regulator-min-microvolt = <880000>;
313 regulator-max-microvolt = <920000>;
314 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
318 regulator-name = "vreg_l3c_0p8";
319 regulator-min-microvolt = <880000>;
320 regulator-max-microvolt = <920000>;
321 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
325 regulators-2 {
326 compatible = "qcom,pmc8380-rpmh-regulators";
327 qcom,pmic-id = "d";
329 vdd-l1-supply = <&vreg_s1f_0p7>;
330 vdd-l2-supply = <&vreg_s1f_0p7>;
331 vdd-l3-supply = <&vreg_s4c_1p8>;
332 vdd-s1-supply = <&vph_pwr>;
335 regulator-name = "vreg_l1d_0p8";
336 regulator-min-microvolt = <880000>;
337 regulator-max-microvolt = <920000>;
338 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
342 regulator-name = "vreg_l2d_0p9";
343 regulator-min-microvolt = <912000>;
344 regulator-max-microvolt = <920000>;
345 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
349 regulator-name = "vreg_l3d_1p8";
350 regulator-min-microvolt = <1800000>;
351 regulator-max-microvolt = <1800000>;
352 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
356 regulators-3 {
357 compatible = "qcom,pmc8380-rpmh-regulators";
358 qcom,pmic-id = "e";
360 vdd-l2-supply = <&vreg_s1f_0p7>;
361 vdd-l3-supply = <&vreg_s5j_1p2>;
364 regulator-name = "vreg_l2e_0p8";
365 regulator-min-microvolt = <880000>;
366 regulator-max-microvolt = <920000>;
367 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
371 regulator-name = "vreg_l3e_1p2";
372 regulator-min-microvolt = <1200000>;
373 regulator-max-microvolt = <1200000>;
374 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
378 regulators-4 {
379 compatible = "qcom,pmc8380-rpmh-regulators";
380 qcom,pmic-id = "f";
382 vdd-l1-supply = <&vreg_s5j_1p2>;
383 vdd-l2-supply = <&vreg_s5j_1p2>;
384 vdd-l3-supply = <&vreg_s5j_1p2>;
385 vdd-s1-supply = <&vph_pwr>;
388 regulator-name = "vreg_s1f_0p7";
389 regulator-min-microvolt = <700000>;
390 regulator-max-microvolt = <1100000>;
391 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
395 regulator-name = "vreg_l1f_1p0";
396 regulator-min-microvolt = <1024000>;
397 regulator-max-microvolt = <1024000>;
398 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
402 regulator-name = "vreg_l2f_1p0";
403 regulator-min-microvolt = <1024000>;
404 regulator-max-microvolt = <1024000>;
405 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
409 regulator-name = "vreg_l3f_1p0";
410 regulator-min-microvolt = <1024000>;
411 regulator-max-microvolt = <1024000>;
412 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
416 regulators-6 {
417 compatible = "qcom,pm8550ve-rpmh-regulators";
418 qcom,pmic-id = "i";
420 vdd-l1-supply = <&vreg_s4c_1p8>;
421 vdd-l2-supply = <&vreg_s5j_1p2>;
422 vdd-l3-supply = <&vreg_s1f_0p7>;
423 vdd-s1-supply = <&vph_pwr>;
424 vdd-s2-supply = <&vph_pwr>;
427 regulator-name = "vreg_s1i_0p9";
428 regulator-min-microvolt = <900000>;
429 regulator-max-microvolt = <920000>;
430 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
434 regulator-name = "vreg_s2i_1p0";
435 regulator-min-microvolt = <1000000>;
436 regulator-max-microvolt = <1100000>;
437 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
441 regulator-name = "vreg_l1i_1p8";
442 regulator-min-microvolt = <1800000>;
443 regulator-max-microvolt = <1800000>;
444 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
448 regulator-name = "vreg_l2i_1p2";
449 regulator-min-microvolt = <1200000>;
450 regulator-max-microvolt = <1200000>;
451 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
455 regulator-name = "vreg_l3i_0p8";
456 regulator-min-microvolt = <880000>;
457 regulator-max-microvolt = <920000>;
458 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
462 regulators-7 {
463 compatible = "qcom,pm8550ve-rpmh-regulators";
464 qcom,pmic-id = "j";
466 vdd-l1-supply = <&vreg_s1f_0p7>;
467 vdd-l2-supply = <&vreg_s5j_1p2>;
468 vdd-l3-supply = <&vreg_s1f_0p7>;
469 vdd-s5-supply = <&vph_pwr>;
472 regulator-name = "vreg_s5j_1p2";
473 regulator-min-microvolt = <1256000>;
474 regulator-max-microvolt = <1304000>;
475 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
479 regulator-name = "vreg_l1j_0p8";
480 regulator-min-microvolt = <880000>;
481 regulator-max-microvolt = <920000>;
482 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
486 regulator-name = "vreg_l2j_1p2";
487 regulator-min-microvolt = <1200000>;
488 regulator-max-microvolt = <1200000>;
489 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
493 regulator-name = "vreg_l3j_0p8";
494 regulator-min-microvolt = <880000>;
495 regulator-max-microvolt = <920000>;
496 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
504 zap-shader {
505 firmware-name = "qcom/x1e80100/LENOVO/83ED/qcdxkmsuc8380.mbn";
510 clock-frequency = <400000>;
515 compatible = "hid-over-i2c";
518 hid-descr-addr = <0x20>;
519 interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>;
521 pinctrl-0 = <&tpad_default>;
522 pinctrl-names = "default";
524 wakeup-source;
528 compatible = "hid-over-i2c";
531 hid-descr-addr = <0x1>;
532 interrupts-extended = <&tlmm 67 IRQ_TYPE_LEVEL_LOW>;
534 pinctrl-0 = <&kybd_default>;
535 pinctrl-names = "default";
537 wakeup-source;
542 clock-frequency = <400000>;
547 compatible = "hid-over-i2c";
550 hid-descr-addr = <0x1>;
551 interrupts-extended = <&tlmm 51 IRQ_TYPE_LEVEL_LOW>;
553 pinctrl-0 = <&ts0_default>;
554 pinctrl-names = "default";
559 spkr_01_sd_n_active: spkr-01-sd-n-active-state {
562 drive-strength = <16>;
563 bias-disable;
564 output-low;
567 spkr_23_sd_n_active: spkr-23-sd-n-active-state {
570 drive-strength = <16>;
571 bias-disable;
572 output-low;
577 pinctrl-0 = <&dmic01_default>, <&dmic23_default>;
578 pinctrl-names = "default";
580 vdd-micb-supply = <&vreg_l1b_1p8>;
581 qcom,dmic-sample-rate = <4800000>;
584 &mdss {
589 compatible = "qcom,x1e80100-dp";
590 /delete-property/ #sound-dai-cells;
594 aux-bus {
597 enable-gpios = <&pmc8380_3_gpios 4 GPIO_ACTIVE_HIGH>;
598 power-supply = <&vreg_edp_3p3>;
600 pinctrl-0 = <&edp_bl_en>;
601 pinctrl-names = "default";
605 remote-endpoint = <&mdss_dp3_out>;
616 data-lanes = <0 1 2 3>;
617 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
619 remote-endpoint = <&edp_panel_in>;
626 vdda-phy-supply = <&vreg_l3j_0p8>;
627 vdda-pll-supply = <&vreg_l2j_1p2>;
633 perst-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>;
634 wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
636 pinctrl-0 = <&pcie4_default>;
637 pinctrl-names = "default";
643 vdda-phy-supply = <&vreg_l3i_0p8>;
644 vdda-pll-supply = <&vreg_l3e_1p2>;
654 qcom,ath12k-calibration-variant = "LES790";
659 perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
660 wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>;
662 vddpe-3v3-supply = <&vreg_nvme>;
664 pinctrl-0 = <&pcie6a_default>;
665 pinctrl-names = "default";
671 vdda-phy-supply = <&vreg_l1d_0p8>;
672 vdda-pll-supply = <&vreg_l2j_1p2>;
678 edp_bl_en: edp-bl-en-state {
681 power-source = <0>;
682 input-disable;
683 output-enable;
700 firmware-name = "qcom/x1e80100/LENOVO/83ED/qcadsp8380.mbn",
701 "qcom/x1e80100/LENOVO/83ED/adsp_dtbs.elf";
706 firmware-name = "qcom/x1e80100/LENOVO/83ED/qccdsp8380.mbn",
707 "qcom/x1e80100/LENOVO/83ED/cdsp_dtbs.elf";
713 vdd18-supply = <&vreg_l3d_1p8>;
714 vdd3-supply = <&vreg_l2b_3p0>;
718 vdd18-supply = <&vreg_l3d_1p8>;
719 vdd3-supply = <&vreg_l14b_3p0>;
727 vdd18-supply = <&vreg_l3d_1p8>;
728 vdd3-supply = <&vreg_l8b_3p0>;
734 pinctrl-0 = <&wsa_swr_active>, <&spkr_01_sd_n_active>;
735 pinctrl-names = "default";
741 reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>;
742 #sound-dai-cells = <0>;
743 sound-name-prefix = "WooferLeft";
744 vdd-1p8-supply = <&vreg_l15b_1p8>;
745 vdd-io-supply = <&vreg_l12b_1p2>;
746 qcom,port-mapping = <1 2 3 7 10 13>;
753 reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>;
754 #sound-dai-cells = <0>;
755 sound-name-prefix = "TweeterLeft";
756 vdd-1p8-supply = <&vreg_l15b_1p8>;
757 vdd-io-supply = <&vreg_l12b_1p2>;
758 qcom,port-mapping = <4 5 6 7 11 13>;
766 pinctrl-0 = <&wsa2_swr_active>, <&spkr_23_sd_n_active>;
767 pinctrl-names = "default";
773 reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>;
774 #sound-dai-cells = <0>;
775 sound-name-prefix = "WooferRight";
776 vdd-1p8-supply = <&vreg_l15b_1p8>;
777 vdd-io-supply = <&vreg_l12b_1p2>;
778 qcom,port-mapping = <1 2 3 7 10 13>;
785 reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>;
786 #sound-dai-cells = <0>;
787 sound-name-prefix = "TweeterRight";
788 vdd-1p8-supply = <&vreg_l15b_1p8>;
789 vdd-io-supply = <&vreg_l12b_1p2>;
790 qcom,port-mapping = <4 5 6 7 11 13>;
795 gpio-reserved-ranges = <34 2>, /* Unused */
799 edp_reg_en: edp-reg-en-state {
802 drive-strength = <16>;
803 bias-disable;
806 kybd_default: kybd-default-state {
809 bias-disable;
812 nvme_reg_en: nvme-reg-en-state {
815 drive-strength = <2>;
816 bias-disable;
819 pcie4_default: pcie4-default-state {
820 clkreq-n-pins {
823 drive-strength = <2>;
824 bias-pull-up;
827 perst-n-pins {
830 drive-strength = <2>;
831 bias-disable;
834 wake-n-pins {
837 drive-strength = <2>;
838 bias-pull-up;
842 pcie6a_default: pcie6a-default-state {
843 clkreq-n-pins {
846 drive-strength = <2>;
847 bias-pull-up;
850 perst-n-pins {
853 drive-strength = <2>;
854 bias-disable;
857 wake-n-pins {
860 drive-strength = <2>;
861 bias-pull-up;
865 tpad_default: tpad-default-state {
868 bias-disable;
871 ts0_default: ts0-default-state {
872 int-n-pins {
875 bias-disable;
878 reset-n-pins {
881 output-high;
882 drive-strength = <16>;
889 vdd-supply = <&vreg_l3j_0p8>;
890 vdda12-supply = <&vreg_l2j_1p2>;
898 vdda-phy-supply = <&vreg_l3e_1p2>;
899 vdda-pll-supply = <&vreg_l1j_0p8>;
901 orientation-switch;
915 remote-endpoint = <&pmic_glink_ss0_hs_in>;
919 remote-endpoint = <&pmic_glink_ss0_ss_in>;
923 vdd-supply = <&vreg_l3j_0p8>;
924 vdda12-supply = <&vreg_l2j_1p2>;
932 vdda-phy-supply = <&vreg_l3e_1p2>;
933 vdda-pll-supply = <&vreg_l2d_0p9>;
935 orientation-switch;
949 remote-endpoint = <&pmic_glink_ss1_hs_in>;
953 remote-endpoint = <&pmic_glink_ss1_ss_in>;
957 vdd-supply = <&vreg_l3j_0p8>;
958 vdda12-supply = <&vreg_l2j_1p2>;
966 vdda-phy-supply = <&vreg_l3e_1p2>;
967 vdda-pll-supply = <&vreg_l2d_0p9>;
981 remote-endpoint = <&pmic_glink_ss2_hs_in>;
985 remote-endpoint = <&pmic_glink_ss2_ss_in>;