-
Notifications
You must be signed in to change notification settings - Fork 0
/
xiaomi-sm8475-common.dtsi
139 lines (121 loc) · 3.03 KB
/
xiaomi-sm8475-common.dtsi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
#include "waipio-audio-overlay.dtsi"
&swr_haptics {
status = "ok";
};
&wsa_macro {
status = "disabled";
};
&cdc_tert_mi2s_gpios {
status = "disabled";
};
&wsa_swr_gpios {
status = "disabled";
};
&wsa2_swr_gpios {
status = "disabled";
};
&cdc_dmic01_gpios {
status = "disabled";
};
&cdc_dmic23_gpios {
status = "disabled";
};
&cdc_dmic45_gpios {
status = "disabled";
};
&cdc_dmic67_gpios {
status = "disabled";
};
&wsa_spkr_en1 {
status = "disabled";
};
&wsa_spkr_en2 {
status = "disabled";
};
&wsa2_spkr_en1 {
status = "disabled";
};
&wsa2_spkr_en2 {
status = "disabled";
};
&waipio_snd {
qcom,tert-mi2s-gpios = <&cdc_tert_tdm_gpios>;
qcom,uart-audio-sw-gpio = <&sbu_uart_en>;
qcom,tdm-audio-intf = <1>;
qcom,ext-disp-audio-rx = <0>;
qcom,audio-routing =
"AMIC1", "Analog Mic1",
"AMIC1", "MIC BIAS1",
"AMIC2", "Analog Mic2",
"AMIC2", "MIC BIAS2",
"AMIC3", "Analog Mic3",
"AMIC3", "MIC BIAS3",
"AMIC4", "Analog Mic4",
"AMIC4", "MIC BIAS3",
"AMIC5", "Analog Mic5",
"AMIC5", "MIC BIAS4",
"VA AMIC1", "Analog Mic1",
"VA AMIC1", "VA MIC BIAS1",
"VA AMIC2", "Analog Mic2",
"VA AMIC2", "VA MIC BIAS2",
"VA AMIC3", "Analog Mic3",
"VA AMIC3", "VA MIC BIAS3",
"VA AMIC4", "Analog Mic4",
"VA AMIC4", "VA MIC BIAS3",
"VA AMIC5", "Analog Mic5",
"VA AMIC5", "VA MIC BIAS4",
"TX DMIC0", "Digital Mic0",
"Digital Mic0", "MIC BIAS3",
"TX DMIC1", "Digital Mic1",
"Digital Mic1", "MIC BIAS3",
"TX DMIC2", "Digital Mic2",
"Digital Mic2", "MIC BIAS1",
"TX DMIC3", "Digital Mic3",
"Digital Mic3", "MIC BIAS1",
"IN1_HPHL", "HPHL_OUT",
"IN2_HPHR", "HPHR_OUT",
"IN3_AUX", "AUX_OUT",
"RX_TX DEC0_INP", "TX DEC0 MUX",
"RX_TX DEC1_INP", "TX DEC1 MUX",
"RX_TX DEC2_INP", "TX DEC2 MUX",
"RX_TX DEC3_INP", "TX DEC3 MUX",
"TX SWR_INPUT", "WCD_TX_OUTPUT",
"VA SWR_INPUT", "VA_SWR_CLK",
"VA SWR_INPUT", "WCD_TX_OUTPUT",
"VA_AIF1 CAP", "VA_SWR_CLK",
"VA_AIF2 CAP", "VA_SWR_CLK",
"VA_AIF3 CAP", "VA_SWR_CLK",
"VA DMIC0", "Digital Mic0",
"VA DMIC1", "Digital Mic1",
"VA DMIC2", "Digital Mic2",
"VA DMIC3", "Digital Mic3",
"Digital Mic0", "VA MIC BIAS3",
"Digital Mic1", "VA MIC BIAS3",
"Digital Mic2", "VA MIC BIAS1",
"Digital Mic3", "VA MIC BIAS1";
qcom,msm-mbhc-usbc-audio-supported = <1>;
qcom,msm-mbhc-hphl-swh = <0>;
qcom,msm-mbhc-gnd-swh = <0>;
qcom,wsa-max-devs = <0>;
};
&spf_core_platform {
cdc_tert_tdm_gpios: tert_tdm_pinctrl {
status= "ok";
compatible = "qcom,msm-cdc-pinctrl";
pinctrl-names = "aud_active", "aud_sleep";
pinctrl-0 = <&tert_tdm_clk_active &tert_tdm_ws_active
&tert_tdm_din_active &tert_tdm_dout_active>;
pinctrl-1 = <&tert_tdm_clk_sleep &tert_tdm_ws_sleep
&tert_tdm_din_sleep &tert_tdm_dout_sleep>;
#gpio-cells = <0>;
};
};
&lpass_cdc {
qcom,num-macros = <3>;
};
&wcd938x_codec {
qcom,cdc-micbias1-mv = <2750>;
qcom,cdc-micbias2-mv = <2750>;
qcom,cdc-micbias3-mv = <2750>;
qcom,cdc-micbias4-mv = <2750>;
};