File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
arch/arm64/boot/dts/amlogic Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 22
22
ethernet0 = ðmac;
23
23
};
24
24
25
+ dio2133: analog-amplifier {
26
+ compatible = "simple-audio-amplifier";
27
+ sound-name-prefix = "AU2";
28
+ VCC-supply = <&hdmi_5v>;
29
+ enable-gpios = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>;
30
+ };
31
+
25
32
chosen {
26
33
stdout-path = "serial0:115200n8";
27
34
};
129
136
sound {
130
137
compatible = "amlogic,gx-sound-card";
131
138
model = "GXL-LIBRETECH-S905X-CC";
139
+ audio-aux-devs = <&dio2133>;
140
+ audio-widgets = "Line", "Lineout";
141
+ audio-routing = "AU2 INL", "ACODEC LOLN",
142
+ "AU2 INR", "ACODEC LORN",
143
+ "Lineout", "AU2 OUTL",
144
+ "Lineout", "AU2 OUTR";
132
145
assigned-clocks = <&clkc CLKID_MPLL0>,
133
146
<&clkc CLKID_MPLL1>,
134
147
<&clkc CLKID_MPLL2>;
150
163
codec-0 {
151
164
sound-dai = <&aiu AIU_HDMI CTRL_I2S>;
152
165
};
166
+
167
+ codec-1 {
168
+ sound-dai = <&aiu AIU_ACODEC CTRL_I2S>;
169
+ };
153
170
};
154
171
155
172
dai-link-2 {
159
176
sound-dai = <&hdmi_tx>;
160
177
};
161
178
};
179
+
180
+ dai-link-3 {
181
+ sound-dai = <&aiu AIU_ACODEC CTRL_OUT>;
182
+
183
+ codec-0 {
184
+ sound-dai = <&acodec>;
185
+ };
186
+ };
162
187
};
163
188
};
164
189
190
+ &acodec {
191
+ AVDD-supply = <&vddio_ao18>;
192
+ status = "okay";
193
+ };
194
+
165
195
&aiu {
166
196
status = "okay";
167
197
};
You can’t perform that action at this time.
0 commit comments