Lines Matching +full:spmi +full:- +full:adc7
1 // SPDX-License-Identifier: BSD-3-Clause
7 /dts-v1/;
9 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/gpio-keys.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/leds/common.h>
14 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
17 #include "sc8280xp-pmics.dtsi"
21 compatible = "lenovo,thinkpad-x13s", "qcom,sc8280xp";
29 wcd938x: audio-codec {
30 compatible = "qcom,wcd9380-codec";
32 pinctrl-names = "default";
33 pinctrl-0 = <&wcd_default>;
35 reset-gpios = <&tlmm 106 GPIO_ACTIVE_LOW>;
37 vdd-buck-supply = <&vreg_s10b>;
38 vdd-rxtx-supply = <&vreg_s10b>;
39 vdd-io-supply = <&vreg_s10b>;
40 vdd-mic-bias-supply = <&vreg_bob>;
42 qcom,micbias1-microvolt = <1800000>;
43 qcom,micbias2-microvolt = <1800000>;
44 qcom,micbias3-microvolt = <1800000>;
45 qcom,micbias4-microvolt = <1800000>;
46 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
47 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
48 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
49 qcom,rx-device = <&wcd_rx>;
50 qcom,tx-device = <&wcd_tx>;
52 #sound-dai-cells = <1>;
56 compatible = "pwm-backlight";
58 enable-gpios = <&pmc8280_1_gpios 8 GPIO_ACTIVE_HIGH>;
59 power-supply = <&vreg_edp_bl>;
61 pinctrl-names = "default";
62 pinctrl-0 = <&edp_bl_en>, <&edp_bl_pwm>;
65 gpio-keys {
66 compatible = "gpio-keys";
68 pinctrl-names = "default";
69 pinctrl-0 = <&hall_int_n_default>;
71 switch-lid {
73 linux,input-type = <EV_SW>;
75 wakeup-source;
76 wakeup-event-action = <EV_ACT_DEASSERTED>;
81 compatible = "gpio-leds";
83 pinctrl-names = "default";
84 pinctrl-0 = <&cam_indicator_en>;
86 led-camera-indicator {
87 label = "white:camera-indicator";
91 linux,default-trigger = "none";
92 default-state = "off";
94 panic-indicator;
98 pmic-glink {
99 compatible = "qcom,sc8280xp-pmic-glink", "qcom,pmic-glink";
101 #address-cells = <1>;
102 #size-cells = <0>;
103 orientation-gpios = <&tlmm 166 GPIO_ACTIVE_HIGH>,
107 compatible = "usb-c-connector";
109 power-role = "dual";
110 data-role = "dual";
113 #address-cells = <1>;
114 #size-cells = <0>;
120 remote-endpoint = <&usb_0_dwc3_hs>;
128 remote-endpoint = <&usb_0_qmpphy_out>;
136 remote-endpoint = <&usb0_sbu_mux>;
143 compatible = "usb-c-connector";
145 power-role = "dual";
146 data-role = "dual";
149 #address-cells = <1>;
150 #size-cells = <0>;
155 remote-endpoint = <&usb_1_dwc3_hs>;
163 remote-endpoint = <&usb_1_qmpphy_out>;
171 remote-endpoint = <&usb1_sbu_mux>;
178 vreg_edp_3p3: regulator-edp-3p3 {
179 compatible = "regulator-fixed";
181 regulator-name = "VCC3LCD";
182 regulator-min-microvolt = <3300000>;
183 regulator-max-microvolt = <3300000>;
186 enable-active-high;
188 pinctrl-names = "default";
189 pinctrl-0 = <&edp_reg_en>;
191 regulator-boot-on;
194 vreg_edp_bl: regulator-edp-bl {
195 compatible = "regulator-fixed";
197 regulator-name = "VBL9";
198 regulator-min-microvolt = <3600000>;
199 regulator-max-microvolt = <3600000>;
202 enable-active-high;
204 pinctrl-names = "default";
205 pinctrl-0 = <&edp_bl_reg_en>;
207 regulator-boot-on;
210 vreg_misc_3p3: regulator-misc-3p3 {
211 compatible = "regulator-fixed";
213 regulator-name = "VCC3B";
214 regulator-min-microvolt = <3300000>;
215 regulator-max-microvolt = <3300000>;
218 enable-active-high;
220 pinctrl-names = "default";
221 pinctrl-0 = <&misc_3p3_reg_en>;
223 regulator-boot-on;
224 regulator-always-on;
227 vreg_nvme: regulator-nvme {
228 compatible = "regulator-fixed";
230 regulator-name = "VCC3_SSD";
231 regulator-min-microvolt = <3300000>;
232 regulator-max-microvolt = <3300000>;
235 enable-active-high;
237 pinctrl-names = "default";
238 pinctrl-0 = <&nvme_reg_en>;
240 regulator-boot-on;
243 vreg_vph_pwr: regulator-vph-pwr {
244 compatible = "regulator-fixed";
246 regulator-name = "VPH_VCC3R9";
247 regulator-min-microvolt = <3900000>;
248 regulator-max-microvolt = <3900000>;
250 regulator-always-on;
253 vreg_wlan: regulator-wlan {
254 compatible = "regulator-fixed";
256 regulator-name = "VCC_WLAN_3R9";
257 regulator-min-microvolt = <3900000>;
258 regulator-max-microvolt = <3900000>;
261 enable-active-high;
263 pinctrl-names = "default";
264 pinctrl-0 = <&hastings_reg_en>;
266 regulator-boot-on;
269 vreg_wwan: regulator-wwan {
270 compatible = "regulator-fixed";
272 regulator-name = "VCC3B_WAN";
273 regulator-min-microvolt = <3300000>;
274 regulator-max-microvolt = <3300000>;
277 enable-active-high;
279 pinctrl-names = "default";
280 pinctrl-0 = <&wwan_sw_en>;
282 regulator-boot-on;
285 reserved-memory {
286 gpu_mem: gpu-mem@8bf00000 {
288 no-map;
292 compatible = "shared-dma-pool";
295 linux,cma-default;
299 thermal-zones {
300 pm8008-thermal {
301 polling-delay-passive = <100>;
302 polling-delay = <0>;
304 thermal-sensors = <&pm8008>;
321 skin-temp-thermal {
322 polling-delay-passive = <250>;
324 thermal-sensors = <&pmk8280_adc_tm 5>;
327 skin_temp_alert0: trip-point0 {
333 skin_temp_alert1: trip-point1 {
339 skin-temp-crit {
346 cooling-maps {
349 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
357 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
366 usb0-sbu-mux {
367 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
369 enable-gpios = <&tlmm 101 GPIO_ACTIVE_LOW>;
370 select-gpios = <&tlmm 164 GPIO_ACTIVE_HIGH>;
372 pinctrl-names = "default";
373 pinctrl-0 = <&usb0_sbu_default>;
375 mode-switch;
376 orientation-switch;
380 remote-endpoint = <&pmic_glink_con0_sbu>;
385 usb1-sbu-mux {
386 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
388 enable-gpios = <&tlmm 48 GPIO_ACTIVE_LOW>;
389 select-gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
391 pinctrl-names = "default";
392 pinctrl-0 = <&usb1_sbu_default>;
394 mode-switch;
395 orientation-switch;
399 remote-endpoint = <&pmic_glink_con1_sbu>;
404 wcn6855-pmu {
405 compatible = "qcom,wcn6855-pmu";
407 pinctrl-0 = <&bt_default>, <&wlan_en>;
408 pinctrl-names = "default";
410 wlan-enable-gpios = <&tlmm 134 GPIO_ACTIVE_HIGH>;
411 bt-enable-gpios = <&tlmm 133 GPIO_ACTIVE_HIGH>;
412 swctrl-gpios = <&tlmm 132 GPIO_ACTIVE_HIGH>;
414 vddio-supply = <&vreg_s10b>;
415 vddaon-supply = <&vreg_s12b>;
416 vddpmu-supply = <&vreg_s12b>;
417 vddpmumx-supply = <&vreg_s12b>;
418 vddpmucx-supply = <&vreg_s12b>;
419 vddrfa0p95-supply = <&vreg_s12b>;
420 vddrfa1p3-supply = <&vreg_s11b>;
421 vddrfa1p9-supply = <&vreg_s1c>;
422 vddpcie1p3-supply = <&vreg_s11b>;
423 vddpcie1p9-supply = <&vreg_s1c>;
427 regulator-name = "vreg_pmu_rfa_cmn_0p8";
431 regulator-name = "vreg_pmu_aon_0p8";
435 regulator-name = "vreg_pmu_wlcx_0p8";
439 regulator-name = "vreg_pmu_wlmx_0p8";
443 regulator-name = "vreg_pmu_btcmx_0p8";
447 regulator-name = "vreg_pmu_pcie_1p8";
451 regulator-name = "vreg_pmu_pcie_0p9";
455 regulator-name = "vreg_pmu_rfa_0p8";
459 regulator-name = "vreg_pmu_rfa_1p2";
463 regulator-name = "vreg_pmu_rfa_1p7";
470 regulators-0 {
471 compatible = "qcom,pm8350-rpmh-regulators";
472 qcom,pmic-id = "b";
474 vdd-l1-l4-supply = <&vreg_s12b>;
475 vdd-l2-l7-supply = <&vreg_bob>;
476 vdd-l3-l5-supply = <&vreg_s11b>;
477 vdd-l6-l9-l10-supply = <&vreg_s12b>;
478 vdd-l8-supply = <&vreg_s12b>;
481 regulator-name = "vreg_s10b";
482 regulator-min-microvolt = <1800000>;
483 regulator-max-microvolt = <1800000>;
484 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
485 regulator-always-on;
489 regulator-name = "vreg_s11b";
490 regulator-min-microvolt = <1272000>;
491 regulator-max-microvolt = <1272000>;
492 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
496 regulator-name = "vreg_s12b";
497 regulator-min-microvolt = <984000>;
498 regulator-max-microvolt = <984000>;
499 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
503 regulator-name = "vreg_l1b";
504 regulator-min-microvolt = <912000>;
505 regulator-max-microvolt = <912000>;
506 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
510 regulator-name = "vreg_l3b";
511 regulator-min-microvolt = <1200000>;
512 regulator-max-microvolt = <1200000>;
513 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
514 regulator-boot-on;
518 regulator-name = "vreg_l4b";
519 regulator-min-microvolt = <912000>;
520 regulator-max-microvolt = <912000>;
521 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
525 regulator-name = "vreg_l6b";
526 regulator-min-microvolt = <880000>;
527 regulator-max-microvolt = <880000>;
528 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
529 regulator-boot-on;
533 regulators-1 {
534 compatible = "qcom,pm8350c-rpmh-regulators";
535 qcom,pmic-id = "c";
537 vdd-bob-supply = <&vreg_vph_pwr>;
538 vdd-l1-l12-supply = <&vreg_s1c>;
539 vdd-l2-l8-supply = <&vreg_s1c>;
540 vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob>;
541 vdd-l6-l9-l11-supply = <&vreg_bob>;
542 vdd-l10-supply = <&vreg_s11b>;
545 regulator-name = "vreg_s1c";
546 regulator-min-microvolt = <1880000>;
547 regulator-max-microvolt = <1900000>;
548 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
549 regulator-always-on;
553 regulator-name = "vreg_l1c";
554 regulator-min-microvolt = <1800000>;
555 regulator-max-microvolt = <1800000>;
556 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
560 regulator-name = "vreg_l8c";
561 regulator-min-microvolt = <1800000>;
562 regulator-max-microvolt = <1800000>;
563 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
567 regulator-name = "vreg_l12c";
568 regulator-min-microvolt = <1800000>;
569 regulator-max-microvolt = <1800000>;
570 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
574 regulator-name = "vreg_l13c";
575 regulator-min-microvolt = <3072000>;
576 regulator-max-microvolt = <3072000>;
577 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
581 regulator-name = "vreg_bob";
582 regulator-min-microvolt = <3008000>;
583 regulator-max-microvolt = <3960000>;
584 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
585 regulator-always-on;
589 regulators-2 {
590 compatible = "qcom,pm8350-rpmh-regulators";
591 qcom,pmic-id = "d";
593 vdd-l1-l4-supply = <&vreg_s11b>;
594 vdd-l2-l7-supply = <&vreg_bob>;
595 vdd-l3-l5-supply = <&vreg_s11b>;
596 vdd-l6-l9-l10-supply = <&vreg_s12b>;
597 vdd-l8-supply = <&vreg_s12b>;
600 regulator-name = "vreg_l2d";
601 regulator-min-microvolt = <3072000>;
602 regulator-max-microvolt = <3072000>;
603 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
607 regulator-name = "vreg_l3d";
608 regulator-min-microvolt = <1200000>;
609 regulator-max-microvolt = <1200000>;
610 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
614 regulator-name = "vreg_l4d";
615 regulator-min-microvolt = <1200000>;
616 regulator-max-microvolt = <1200000>;
617 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
621 regulator-name = "vreg_l6d";
622 regulator-min-microvolt = <880000>;
623 regulator-max-microvolt = <880000>;
624 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
628 regulator-name = "vreg_l7d";
629 regulator-min-microvolt = <3072000>;
630 regulator-max-microvolt = <3072000>;
631 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
635 regulator-name = "vreg_l8d";
636 regulator-min-microvolt = <912000>;
637 regulator-max-microvolt = <912000>;
638 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
642 regulator-name = "vreg_l9d";
643 regulator-min-microvolt = <912000>;
644 regulator-max-microvolt = <912000>;
645 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
649 regulator-name = "vreg_l10d";
650 regulator-min-microvolt = <912000>;
651 regulator-max-microvolt = <912000>;
652 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
658 vdda-phy-supply = <&vreg_l6d>;
659 vdda-pll-supply = <&vreg_l4d>;
667 clock-lanes = <7>;
668 data-lanes = <0 1>;
669 remote-endpoint = <&ov5675_ep>;
684 reset-gpios = <&tlmm 15 GPIO_ACTIVE_LOW>;
685 pinctrl-names = "default";
686 pinctrl-0 = <&cam_rgb_default>;
692 avdd-supply = <&vreg_l6q>;
693 dvdd-supply = <&vreg_l2q>;
694 dovdd-supply = <&vreg_l7q>;
698 data-lanes = <1 2>;
699 link-frequencies = /bits/ 64 <450000000>;
700 remote-endpoint = <&csiphy0_lanes01_ep>;
714 zap-shader {
715 memory-region = <&gpu_mem>;
716 firmware-name = "qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn";
729 data-lanes = <0 1>;
730 remote-endpoint = <&usb_0_qmpphy_dp_in>;
738 data-lanes = <0 1>;
739 remote-endpoint = <&usb_1_qmpphy_dp_in>;
743 compatible = "qcom,sc8280xp-edp";
744 /delete-property/ #sound-dai-cells;
746 data-lanes = <0 1 2 3>;
750 aux-bus {
752 compatible = "edp-panel";
755 power-supply = <&vreg_edp_3p3>;
759 remote-endpoint = <&mdss0_dp3_out>;
769 remote-endpoint = <&edp_panel_in>;
776 compatible = "qcom,sc8280xp-edp-phy";
777 vdda-phy-supply = <&vreg_l6b>;
778 vdda-pll-supply = <&vreg_l3b>;
784 clock-frequency = <400000>;
786 pinctrl-names = "default";
787 pinctrl-0 = <&i2c4_default>;
795 interrupts-extended = <&tlmm 175 IRQ_TYPE_LEVEL_LOW>;
796 reset-gpios = <&tlmm 99 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
797 no-reset-on-power-off;
799 vcc33-supply = <&vreg_misc_3p3>;
800 vccio-supply = <&vreg_misc_3p3>;
802 pinctrl-names = "default";
803 pinctrl-0 = <&ts0_default>;
808 clock-frequency = <400000>;
810 pinctrl-names = "default";
811 pinctrl-0 = <&i2c11_default>;
819 interrupts-extended = <&tlmm 41 IRQ_TYPE_EDGE_RISING>;
820 reset-gpios = <&tlmm 42 GPIO_ACTIVE_LOW>;
822 vdd-l1-l2-supply = <&vreg_s11b>;
823 vdd-l3-l4-supply = <&vreg_bob>;
824 vdd-l5-supply = <&vreg_bob>;
825 vdd-l6-supply = <&vreg_bob>;
826 vdd-l7-supply = <&vreg_bob>;
828 pinctrl-names = "default";
829 pinctrl-0 = <&pm8008_default>;
831 gpio-controller;
832 #gpio-cells = <2>;
833 gpio-ranges = <&pm8008 0 0 2>;
835 interrupt-controller;
836 #interrupt-cells = <2>;
838 #thermal-sensor-cells = <0>;
842 regulator-name = "vreg_l1q";
843 regulator-min-microvolt = <1200000>;
844 regulator-max-microvolt = <1200000>;
848 regulator-name = "vreg_l2q";
849 regulator-min-microvolt = <1200000>;
850 regulator-max-microvolt = <1200000>;
854 regulator-name = "vreg_l3q";
855 regulator-min-microvolt = <2800000>;
856 regulator-max-microvolt = <2800000>;
860 regulator-name = "vreg_l4q";
861 regulator-min-microvolt = <2800000>;
862 regulator-max-microvolt = <2800000>;
866 regulator-name = "vreg_l5q";
867 regulator-min-microvolt = <1800000>;
868 regulator-max-microvolt = <1800000>;
872 regulator-name = "vreg_l6q";
873 regulator-min-microvolt = <1800000>;
874 regulator-max-microvolt = <1800000>;
878 regulator-name = "vreg_l7q";
879 regulator-min-microvolt = <2800000>;
880 regulator-max-microvolt = <2800000>;
887 clock-frequency = <400000>;
889 pinctrl-names = "default";
890 pinctrl-0 = <&i2c21_default>, <&tpad_default>;
895 compatible = "hid-over-i2c";
898 hid-descr-addr = <0x1>;
899 interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>;
900 vdd-supply = <&vreg_misc_3p3>;
901 vddl-supply = <&vreg_s10b>;
903 wakeup-source;
907 compatible = "hid-over-i2c";
910 hid-descr-addr = <0x20>;
911 interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>;
912 vdd-supply = <&vreg_misc_3p3>;
913 vddl-supply = <&vreg_s10b>;
915 wakeup-source;
919 compatible = "hid-over-i2c";
922 hid-descr-addr = <0x1>;
923 interrupts-extended = <&tlmm 104 IRQ_TYPE_LEVEL_LOW>;
924 vdd-supply = <&vreg_misc_3p3>;
925 vddl-supply = <&vreg_s10b>;
927 pinctrl-names = "default";
928 pinctrl-0 = <&kybd_default>;
930 wakeup-source;
935 perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>;
936 wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;
938 vddpe-3v3-supply = <&vreg_nvme>;
940 pinctrl-names = "default";
941 pinctrl-0 = <&pcie2a_default>;
947 vdda-phy-supply = <&vreg_l6d>;
948 vdda-pll-supply = <&vreg_l4d>;
954 perst-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>;
955 wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
957 vddpe-3v3-supply = <&vreg_wwan>;
959 pinctrl-names = "default";
960 pinctrl-0 = <&pcie3a_default>;
966 vdda-phy-supply = <&vreg_l6d>;
967 vdda-pll-supply = <&vreg_l4d>;
973 max-link-speed = <2>;
975 perst-gpios = <&tlmm 141 GPIO_ACTIVE_LOW>;
976 wake-gpios = <&tlmm 139 GPIO_ACTIVE_LOW>;
978 vddpe-3v3-supply = <&vreg_wlan>;
980 pinctrl-names = "default";
981 pinctrl-0 = <&pcie4_default>;
991 vddrfacmn-supply = <&vreg_pmu_rfa_cmn_0p8>;
992 vddaon-supply = <&vreg_pmu_aon_0p8>;
993 vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
994 vddwlmx-supply = <&vreg_pmu_wlmx_0p8>;
995 vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>;
996 vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>;
997 vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
998 vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
999 vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>;
1001 qcom,calibration-variant = "LE_X13S";
1006 vdda-phy-supply = <&vreg_l6d>;
1007 vdda-pll-supply = <&vreg_l4d>;
1019 sys-therm@0 {
1021 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM1_100K_PU(1)>;
1022 qcom,hw-settle-time-us = <200>;
1023 qcom,avg-samples = <2>;
1027 sys-therm@1 {
1029 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM2_100K_PU(1)>;
1030 qcom,hw-settle-time-us = <200>;
1031 qcom,avg-samples = <2>;
1035 sys-therm@2 {
1037 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM3_100K_PU(1)>;
1038 qcom,hw-settle-time-us = <200>;
1039 qcom,avg-samples = <2>;
1043 sys-therm@3 {
1045 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM4_100K_PU(1)>;
1046 qcom,hw-settle-time-us = <200>;
1047 qcom,avg-samples = <2>;
1051 sys-therm@4 {
1053 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM1_100K_PU(3)>;
1054 qcom,hw-settle-time-us = <200>;
1055 qcom,avg-samples = <2>;
1059 sys-therm@5 {
1061 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM2_100K_PU(3)>;
1062 qcom,hw-settle-time-us = <200>;
1063 qcom,avg-samples = <2>;
1067 sys-therm@6 {
1069 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM3_100K_PU(3)>;
1070 qcom,hw-settle-time-us = <200>;
1071 qcom,avg-samples = <2>;
1075 sys-therm@7 {
1077 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM4_100K_PU(3)>;
1078 qcom,hw-settle-time-us = <200>;
1079 qcom,avg-samples = <2>;
1093 qcom,uefi-rtc-info;
1101 qcom,hw-settle-time = <200>;
1108 qcom,hw-settle-time = <200>;
1115 qcom,hw-settle-time = <200>;
1122 qcom,hw-settle-time = <200>;
1129 qcom,hw-settle-time = <200>;
1136 qcom,hw-settle-time = <200>;
1143 qcom,hw-settle-time = <200>;
1150 qcom,hw-settle-time = <200>;
1169 firmware-name = "qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn";
1175 firmware-name = "qcom/sc8280xp/LENOVO/21BX/qccdsp8280.mbn";
1181 firmware-name = "qcom/sc8280xp/LENOVO/21BX/qcslpi8280.mbn";
1191 compatible = "qcom,sc8280xp-sndcard";
1192 model = "SC8280XP-LENOVO-X13S";
1193 audio-routing =
1204 wcd-playback-dai-link {
1205 link-name = "WCD Playback";
1207 sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>;
1211 sound-dai = <&wcd938x 0>, <&swr1 0>, <&rxmacro 0>;
1215 sound-dai = <&q6apm>;
1219 wcd-capture-dai-link {
1220 link-name = "WCD Capture";
1222 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>;
1226 sound-dai = <&wcd938x 1>, <&swr2 0>, <&txmacro 0>;
1230 sound-dai = <&q6apm>;
1234 wsa-dai-link {
1235 link-name = "WSA Playback";
1237 sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
1241 sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&wsamacro 0>;
1245 sound-dai = <&q6apm>;
1249 va-dai-link {
1250 link-name = "VA Capture";
1252 sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>;
1256 sound-dai = <&q6apm>;
1260 sound-dai = <&vamacro 0>;
1268 left_spkr: wsa8830-left@0,1 {
1271 pinctrl-names = "default";
1272 pinctrl-0 = <&spkr_1_sd_n_default>;
1273 powerdown-gpios = <&tlmm 178 GPIO_ACTIVE_LOW>;
1274 #thermal-sensor-cells = <0>;
1275 sound-name-prefix = "SpkrLeft";
1276 #sound-dai-cells = <0>;
1277 vdd-supply = <&vreg_s10b>;
1280 right_spkr: wsa8830-right@0,2 {
1283 pinctrl-names = "default";
1284 pinctrl-0 = <&spkr_2_sd_n_default>;
1285 powerdown-gpios = <&tlmm 179 GPIO_ACTIVE_LOW>;
1286 #thermal-sensor-cells = <0>;
1287 sound-name-prefix = "SpkrRight";
1288 #sound-dai-cells = <0>;
1289 vdd-supply = <&vreg_s10b>;
1296 wcd_rx: wcd9380-rx@0,4 {
1299 qcom,rx-port-mapping = <1 2 3 4 5>;
1306 wcd_tx: wcd9380-tx@0,3 {
1309 qcom,tx-port-mapping = <1 1 2 3>;
1318 pinctrl-0 = <&uart2_default>;
1319 pinctrl-names = "default";
1324 compatible = "qcom,wcn6855-bt";
1326 vddrfacmn-supply = <&vreg_pmu_rfa_cmn_0p8>;
1327 vddaon-supply = <&vreg_pmu_aon_0p8>;
1328 vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
1329 vddwlmx-supply = <&vreg_pmu_wlmx_0p8>;
1330 vddbtcmx-supply = <&vreg_pmu_btcmx_0p8>;
1331 vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
1332 vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
1333 vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>;
1335 max-speed = <3200000>;
1348 remote-endpoint = <&pmic_glink_con0_hs>;
1352 vdda-pll-supply = <&vreg_l9d>;
1353 vdda18-supply = <&vreg_l1c>;
1354 vdda33-supply = <&vreg_l7d>;
1360 vdda-phy-supply = <&vreg_l9d>;
1361 vdda-pll-supply = <&vreg_l4d>;
1363 orientation-switch;
1369 remote-endpoint = <&mdss0_dp0_out>;
1373 remote-endpoint = <&pmic_glink_con0_ss>;
1385 remote-endpoint = <&pmic_glink_con1_hs>;
1389 vdda-pll-supply = <&vreg_l4b>;
1390 vdda18-supply = <&vreg_l1c>;
1391 vdda33-supply = <&vreg_l13c>;
1397 vdda-phy-supply = <&vreg_l4b>;
1398 vdda-pll-supply = <&vreg_l3b>;
1400 orientation-switch;
1406 remote-endpoint = <&mdss0_dp1_out>;
1410 remote-endpoint = <&pmic_glink_con1_ss>;
1418 vdda-pll-supply = <&vreg_l1b>;
1419 vdda18-supply = <&vreg_l1c>;
1420 vdda33-supply = <&vreg_l7d>;
1426 vdda-pll-supply = <&vreg_l8d>;
1427 vdda18-supply = <&vreg_l1c>;
1428 vdda33-supply = <&vreg_l7d>;
1434 vdda-pll-supply = <&vreg_l10d>;
1435 vdda18-supply = <&vreg_l8c>;
1436 vdda33-supply = <&vreg_l2d>;
1442 vdda-pll-supply = <&vreg_l10d>;
1443 vdda18-supply = <&vreg_l8c>;
1444 vdda33-supply = <&vreg_l2d>;
1450 vdda-phy-supply = <&vreg_l1b>;
1451 vdda-pll-supply = <&vreg_l4d>;
1457 vdda-phy-supply = <&vreg_l8d>;
1458 vdda-pll-supply = <&vreg_l4d>;
1464 pinctrl-0 = <&dmic01_default>, <&dmic23_default>;
1465 pinctrl-names = "default";
1467 vdd-micb-supply = <&vreg_s10b>;
1469 qcom,dmic-sample-rate = <4800000>;
1479 clock-frequency = <38400000>;
1489 edp_bl_en: edp-bl-en-state {
1494 edp_bl_reg_en: edp-bl-reg-en-state {
1499 misc_3p3_reg_en: misc-3p3-reg-en-state {
1506 wwan_sw_en: wwan-sw-en-state {
1513 edp_bl_pwm: edp-bl-pwm-state {
1520 hastings_reg_en: hastings-reg-en-state {
1527 gpio-reserved-ranges = <70 2>, <74 6>, <125 2>, <128 2>, <154 4>;
1529 bt_default: bt-default-state {
1530 hstp-bt-en-pins {
1533 drive-strength = <16>;
1534 bias-disable;
1537 hstp-sw-ctrl-pins {
1540 bias-pull-down;
1544 cam_indicator_en: cam-indicator-en-state {
1547 drive-strength = <2>;
1548 bias-disable;
1551 cam_rgb_default: cam-rgb-default-state {
1552 mclk-pins {
1555 drive-strength = <16>;
1556 bias-disable;
1559 sc-rgb-xshut-n-pins {
1562 drive-strength = <2>;
1563 bias-disable;
1567 edp_reg_en: edp-reg-en-state {
1570 drive-strength = <16>;
1571 bias-disable;
1574 hall_int_n_default: hall-int-n-state {
1577 bias-disable;
1580 i2c4_default: i2c4-default-state {
1583 drive-strength = <16>;
1584 bias-disable;
1587 i2c11_default: i2c11-default-state {
1590 drive-strength = <16>;
1591 bias-disable;
1594 i2c21_default: i2c21-default-state {
1597 drive-strength = <16>;
1598 bias-disable;
1601 kybd_default: kybd-default-state {
1602 disable-pins {
1605 output-low;
1608 int-n-pins {
1611 bias-disable;
1614 reset-pins {
1617 bias-disable;
1621 nvme_reg_en: nvme-reg-en-state {
1624 drive-strength = <2>;
1625 bias-disable;
1628 pcie2a_default: pcie2a-default-state {
1629 clkreq-n-pins {
1632 drive-strength = <2>;
1633 bias-pull-up;
1636 perst-n-pins {
1639 drive-strength = <2>;
1640 bias-disable;
1643 wake-n-pins {
1646 drive-strength = <2>;
1647 bias-pull-up;
1651 pcie3a_default: pcie3a-default-state {
1652 clkreq-n-pins {
1655 drive-strength = <2>;
1656 bias-pull-up;
1659 perst-n-pins {
1662 drive-strength = <2>;
1663 bias-disable;
1666 wake-n-pins {
1669 drive-strength = <2>;
1670 bias-pull-up;
1674 pcie4_default: pcie4-default-state {
1675 clkreq-n-pins {
1678 drive-strength = <2>;
1679 bias-pull-up;
1682 perst-n-pins {
1685 drive-strength = <2>;
1686 bias-disable;
1689 wake-n-pins {
1692 drive-strength = <2>;
1693 bias-pull-up;
1697 pm8008_default: pm8008-default-state {
1698 int-pins {
1701 drive-strength = <2>;
1702 bias-pull-down;
1705 reset-n-pins {
1708 drive-strength = <2>;
1709 bias-disable;
1713 spkr_1_sd_n_default: spkr-1-sd-n-default-state {
1714 perst-n-pins {
1717 drive-strength = <16>;
1718 bias-disable;
1719 output-high;
1723 spkr_2_sd_n_default: spkr-2-sd-n-default-state {
1724 perst-n-pins {
1727 drive-strength = <16>;
1728 bias-disable;
1729 output-high;
1733 tpad_default: tpad-default-state {
1734 int-n-pins {
1737 bias-disable;
1741 ts0_default: ts0-default-state {
1742 int-n-pins {
1745 bias-disable;
1748 reset-n-pins {
1751 drive-strength = <2>;
1752 bias-disable;
1756 uart2_default: uart2-default-state {
1757 cts-pins {
1760 bias-bus-hold;
1763 rts-pins {
1766 drive-strength = <2>;
1767 bias-disable;
1770 rx-pins {
1773 bias-pull-up;
1776 tx-pins {
1779 drive-strength = <2>;
1780 bias-disable;
1784 usb0_sbu_default: usb0-sbu-state {
1785 oe-n-pins {
1788 bias-disable;
1789 drive-strength = <16>;
1790 output-high;
1793 sel-pins {
1796 bias-disable;
1797 drive-strength = <16>;
1801 usb1_sbu_default: usb1-sbu-state {
1802 oe-n-pins {
1805 bias-disable;
1806 drive-strength = <16>;
1807 output-high;
1810 sel-pins {
1813 bias-disable;
1814 drive-strength = <16>;
1818 wcd_default: wcd-default-state {
1819 reset-pins {
1822 bias-disable;
1826 wlan_en: wlan-en-state {
1829 drive-strength = <8>;
1830 bias-pull-down;