Lines Matching +full:msm8996 +full:- +full:camss

1 // SPDX-License-Identifier: GPL-2.0-only
6 #include "msm8996.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
12 #include <dt-bindings/sound/qcom,q6afe.h>
13 #include <dt-bindings/sound/qcom,q6asm.h>
14 #include <dt-bindings/sound/qcom,wcd9335.h>
23 compatible = "simple-battery";
25 constant-charge-current-max-microamp = <3000000>;
26 voltage-min-design-microvolt = <3400000>;
30 stdout-path = "serial1:115200n8";
34 div1_mclk: div1-clk {
35 compatible = "gpio-gate-clock";
36 pinctrl-names = "default";
37 pinctrl-0 = <&audio_mclk>;
38 #clock-cells = <0>;
40 enable-gpios = <&pm8994_gpios 15 GPIO_ACTIVE_HIGH>;
43 divclk4: div4-clk {
44 compatible = "fixed-clock";
45 pinctrl-names = "default";
46 pinctrl-0 = <&divclk4_pin_a>;
47 #clock-cells = <0>;
48 clock-frequency = <32768>;
49 clock-output-names = "divclk4";
53 reserved-memory {
57 record-size = <0x20000>;
58 console-size = <0x100000>;
59 pmsg-size = <0x80000>;
63 vph_pwr: vph-pwr-regulator {
64 compatible = "regulator-fixed";
65 regulator-name = "vph_pwr";
66 regulator-min-microvolt = <3700000>;
67 regulator-max-microvolt = <3700000>;
68 regulator-always-on;
69 regulator-boot-on;
72 wlan_en: wlan-en-regulator {
73 compatible = "regulator-fixed";
74 pinctrl-names = "default";
75 pinctrl-0 = <&wlan_en_gpios>;
76 regulator-name = "wlan-en-regulator";
77 regulator-min-microvolt = <1800000>;
78 regulator-max-microvolt = <1800000>;
83 startup-delay-us = <70000>;
84 enable-active-high;
91 tfa9890_amp: audio-codec@36 {
94 #sound-dai-cells = <0>;
101 bq27541: fuel-gauge@55 {
108 label = "BT-UART";
109 uart-has-rtscts;
113 compatible = "qcom,qca6174-bt";
114 pinctrl-names = "default";
115 pinctrl-0 = <&bt_en_gpios>;
116 enable-gpios = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>;
129 compatible = "syna,rmi4-i2c";
131 #address-cells = <1>;
132 #size-cells = <0>;
133 interrupts-extended = <&tlmm 125 IRQ_TYPE_EDGE_FALLING>;
134 pinctrl-names = "default", "sleep";
135 pinctrl-0 = <&touch_default>;
136 pinctrl-1 = <&touch_suspend>;
137 vdd-supply = <&vreg_l22a_3p0>;
138 vio-supply = <&vreg_s4a_1p8>;
139 syna,reset-delay-ms = <200>;
140 syna,startup-delay-ms = <200>;
142 rmi4-f01@1 {
144 syna,nosleep-mode = <1>;
147 rmi4-f12@12 {
149 syna,sensor-type = <1>;
150 touchscreen-x-mm = <68>;
151 touchscreen-y-mm = <122>;
157 pinctrl-names = "default", "sleep";
158 pinctrl-0 = <&blsp2_uart2_2pins_default>;
159 pinctrl-1 = <&blsp2_uart2_2pins_sleep>;
163 &camss {
164 vdda-supply = <&vreg_l2a_1p25>;
168 vdd-supply = <&vreg_l28a_0p925>;
169 vdda-pll-supply = <&vreg_l12a_1p8>;
170 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
175 vdd-supply = <&vreg_l28a_0p925>;
176 vdda-pll-supply = <&vreg_l12a_1p8>;
177 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
190 vdda-supply = <&vreg_l2a_1p25>;
191 vcca-supply = <&vreg_l22a_3p0>;
196 data-lanes = <0 1 2 3>;
200 vcca-supply = <&vreg_l28a_0p925>;
205 vdd-gfx-supply = <&vdd_gfx>;
209 pll-supply = <&vreg_l12a_1p8>;
213 perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
214 vddpe-3v3-supply = <&wlan_en>;
215 vdda-supply = <&vreg_l28a_0p925>;
220 vdda-phy-supply = <&vreg_l28a_0p925>;
221 vdda-pll-supply = <&vreg_l12a_1p8>;
226 bt_en_gpios: bt-en-gpios-state {
229 output-low;
230 power-source = <PM8994_GPIO_S4>;
231 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
232 bias-pull-down;
235 wlan_en_gpios: wlan-en-gpios-state {
238 output-low;
239 power-source = <PM8994_GPIO_S4>;
240 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
241 bias-pull-down;
244 audio_mclk: divclk1-state {
247 power-source = <PM8994_GPIO_S4>;
250 divclk4_pin_a: divclk4-state {
253 bias-disable;
254 power-source = <PM8994_GPIO_S4>;
259 qcom,saw-reg = <&saw3>;
262 qcom,saw-slave;
266 qcom,saw-slave;
270 qcom,saw-leader;
271 regulator-min-microvolt = <1140000>;
272 regulator-max-microvolt = <1140000>;
273 regulator-max-step-microvolt = <150000>;
274 regulator-always-on;
280 regulator-name = "vdd-gfx";
281 regulator-min-microvolt = <980000>;
282 regulator-max-microvolt = <1230000>;
287 #address-cells = <1>;
288 #size-cells = <0>;
305 compatible = "qcom,rpm-pm8994-regulators";
308 regulator-name = "vreg_s3a_1p3";
309 regulator-min-microvolt = <1300000>;
310 regulator-max-microvolt = <1300000>;
314 regulator-name = "vreg_s4a_1p8";
315 regulator-min-microvolt = <1800000>;
316 regulator-max-microvolt = <1800000>;
317 regulator-always-on;
321 regulator-name = "vreg_s5a_2p15";
322 regulator-min-microvolt = <2150000>;
323 regulator-max-microvolt = <2150000>;
327 regulator-name = "vreg_s7a_0p8";
328 regulator-min-microvolt = <800000>;
329 regulator-max-microvolt = <800000>;
333 regulator-name = "vreg_l1a_1p0";
334 regulator-min-microvolt = <1000000>;
335 regulator-max-microvolt = <1000000>;
339 regulator-name = "vreg_l2a_1p25";
340 regulator-min-microvolt = <1250000>;
341 regulator-max-microvolt = <1250000>;
342 regulator-allow-set-load;
346 regulator-name = "vreg_l3a_1p1";
347 regulator-min-microvolt = <1100000>;
348 regulator-max-microvolt = <1100000>;
352 regulator-name = "vreg_l4a_1p225";
353 regulator-min-microvolt = <1225000>;
354 regulator-max-microvolt = <1225000>;
358 regulator-name = "vreg_l6a_1p2";
359 regulator-min-microvolt = <1200000>;
360 regulator-max-microvolt = <1200000>;
364 regulator-name = "vreg_l7a_1p8";
365 regulator-min-microvolt = <1800000>;
366 regulator-max-microvolt = <1800000>;
370 regulator-name = "vreg_l9a_1p8";
371 regulator-min-microvolt = <1800000>;
372 regulator-max-microvolt = <1800000>;
376 regulator-name = "vreg_l10a_1p8";
377 regulator-min-microvolt = <1800000>;
378 regulator-max-microvolt = <1800000>;
382 regulator-name = "vreg_l11a_1p15";
383 regulator-min-microvolt = <1150000>;
384 regulator-max-microvolt = <1150000>;
388 regulator-name = "vreg_l12a_1p8";
389 regulator-min-microvolt = <1800000>;
390 regulator-max-microvolt = <1800000>;
391 regulator-allow-set-load;
395 regulator-name = "vreg_l13a_2p95";
396 regulator-min-microvolt = <2950000>;
397 regulator-max-microvolt = <2950000>;
401 regulator-name = "vreg_l16a_2p7";
402 regulator-min-microvolt = <2700000>;
403 regulator-max-microvolt = <2700000>;
407 regulator-name = "vreg_l17a_2p6";
408 regulator-min-microvolt = <2600000>;
409 regulator-max-microvolt = <2600000>;
413 regulator-name = "vreg_l18a_3p3";
414 regulator-min-microvolt = <3300000>;
415 regulator-max-microvolt = <3300000>;
419 regulator-name = "vreg_l19a_3p0";
420 regulator-min-microvolt = <3000000>;
421 regulator-max-microvolt = <3000000>;
425 regulator-name = "vreg_l20a_2p95";
426 regulator-min-microvolt = <2950000>;
427 regulator-max-microvolt = <2950000>;
428 regulator-allow-set-load;
432 regulator-name = "vreg_l21a_2p95";
433 regulator-min-microvolt = <2950000>;
434 regulator-max-microvolt = <2950000>;
435 regulator-allow-set-load;
436 regulator-system-load = <200000>;
440 regulator-name = "vreg_l22a_3p0";
441 regulator-min-microvolt = <3000000>;
442 regulator-max-microvolt = <3300000>;
446 regulator-name = "vreg_l23a_2p8";
447 regulator-min-microvolt = <2800000>;
448 regulator-max-microvolt = <2800000>;
452 regulator-name = "vreg_l24a_3p075";
453 regulator-min-microvolt = <3075000>;
454 regulator-max-microvolt = <3075000>;
458 regulator-name = "vreg_l25a_1p2";
459 regulator-min-microvolt = <1200000>;
460 regulator-max-microvolt = <1200000>;
461 regulator-allow-set-load;
462 regulator-always-on;
466 regulator-name = "vreg_l27a_1p2";
467 regulator-min-microvolt = <1200000>;
468 regulator-max-microvolt = <1200000>;
472 regulator-name = "vreg_l28a_0p925";
473 regulator-min-microvolt = <925000>;
474 regulator-max-microvolt = <925000>;
475 regulator-allow-set-load;
479 regulator-name = "vreg_l29a_2p8";
480 regulator-min-microvolt = <2800000>;
481 regulator-max-microvolt = <2800000>;
485 regulator-name = "vreg_l30a_1p8";
486 regulator-min-microvolt = <1800000>;
487 regulator-max-microvolt = <1800000>;
491 regulator-name = "vreg_l32a_1p8";
492 regulator-min-microvolt = <1800000>;
493 regulator-max-microvolt = <1800000>;
503 #address-cells = <2>;
504 #size-cells = <0>;
506 tasha_ifd: tas-ifd@0,0 {
515 clock-names = "mclk", "slimbus";
518 interrupt-parent = <&tlmm>;
521 interrupt-names = "intr1", "intr2";
522 interrupt-controller;
523 #interrupt-cells = <1>;
525 pinctrl-0 = <&cdc_reset_active &wcd_intr_default>;
526 pinctrl-names = "default";
528 reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>;
529 slim-ifc-dev = <&tasha_ifd>;
531 #sound-dai-cells = <1>;
533 vdd-buck-supply = <&vreg_s4a_1p8>;
534 vdd-buck-sido-supply = <&vreg_s4a_1p8>;
535 vdd-tx-supply = <&vreg_s4a_1p8>;
536 vdd-rx-supply = <&vreg_s4a_1p8>;
537 vdd-io-supply = <&vreg_s4a_1p8>;
543 compatible = "qcom,apq8096-sndcard";
545 audio-routing = "RX_BIAS", "MCLK",
553 mm1-dai-link {
554 link-name = "MultiMedia1";
557 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
561 mm2-dai-link {
562 link-name = "MultiMedia2";
565 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>;
569 mm3-dai-link {
570 link-name = "MultiMedia3";
573 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>;
577 mm4-dai-link {
578 link-name = "MultiMedia4";
581 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA4>;
585 mm5-dai-link {
586 link-name = "MultiMedia5";
589 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA5>;
593 mm6-dai-link {
594 link-name = "MultiMedia6";
597 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA6>;
601 mm7-dai-link {
602 link-name = "MultiMedia7";
605 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA7>;
609 mm8-dai-link {
610 link-name = "MultiMedia8";
613 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA8>;
617 mm9-dai-link {
618 link-name = "MultiMedia9";
621 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA9>;
625 mm10-dai-link {
626 link-name = "MultiMedia10";
629 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA10>;
633 mm11-dai-link {
634 link-name = "MultiMedia11";
637 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA11>;
641 mm12-dai-link {
642 link-name = "MultiMedia12";
645 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA12>;
649 mm13-dai-link {
650 link-name = "MultiMedia13";
653 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA13>;
657 mm14-dai-link {
658 link-name = "MultiMedia14";
661 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA14>;
665 mm15-dai-link {
666 link-name = "MultiMedia15";
669 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA15>;
673 mm16-dai-link {
674 link-name = "MultiMedia16";
677 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA16>;
681 slim-dai-link {
682 link-name = "SLIM Playback";
685 sound-dai = <&q6afedai SLIMBUS_6_RX>;
689 sound-dai = <&q6routing>;
693 sound-dai = <&wcd9335 AIF4_PB>;
697 slimcap-dai-link {
698 link-name = "SLIM Capture";
701 sound-dai = <&q6afedai SLIMBUS_0_TX>;
705 sound-dai = <&q6routing>;
709 sound-dai = <&wcd9335 AIF1_CAP>;
713 speaker-dai-link {
714 link-name = "Speaker";
717 sound-dai = <&q6afedai QUATERNARY_MI2S_RX>;
721 sound-dai = <&tfa9890_amp>;
727 gpio-reserved-ranges = <81 4>;
729 mdss_dsi_active: mdss-dsi-active-state {
732 drive-strength = <8>;
733 bias-disable;
736 mdss_dsi_suspend: mdss-dsi-suspend-state {
739 drive-strength = <2>;
740 bias-pull-down;
743 mdss_te_active: mdss-te-active-state {
746 drive-strength = <2>;
747 bias-pull-down;
750 mdss_te_suspend: mdss-te-suspend-state {
753 drive-strength = <2>;
754 bias-pull-down;
757 touch_default: touch-default-state {
760 drive-strength = <16>;
761 bias-pull-up;
764 touch_suspend: touch-suspend-state {
767 drive-strength = <2>;
768 bias-disable;
773 vdda-phy-supply = <&vreg_l28a_0p925>;
774 vdda-pll-supply = <&vreg_l12a_1p8>;
780 vcc-supply = <&vreg_l20a_2p95>;
781 vccq-supply = <&vreg_l25a_1p2>;
782 vccq2-supply = <&vreg_s4a_1p8>;
783 vdd-hba-supply = <&vreg_l25a_1p2>;
785 vcc-max-microamp = <600000>;
786 vccq-max-microamp = <450000>;
787 vccq2-max-microamp = <450000>;
798 phy-names = "usb2-phy";
800 maximum-speed = "high-speed";