主题:TLV320AIC3104 中讨论的其他器件
工具/软件:
你好。
编解码器通过 I2C 连接到定制 Linux PC。
但编解码器的 I2S 接口未连接到此 CPU(连接到调制解调器)。
是否仍有办法在 Linux 中注册 TLV 编解码器以通过 ALSA amixer 进行控制? (例如,使用一些虚拟输入/输出)。
我尝试了以下 DTS:
/ {
sound {
compatible = "simple-audio-card";
simple-audio-card,name = "AIC3104";
simple-audio-card,widgets =
"Line", "Line Out",
"Line", "Line In";
simple-audio-card,routing =
"Line Out", "LLOUT",
"Line Out", "RLOUT",
"MIC2L", "Line In",
"MIC2R", "Line In";
simple-audio-card,dai-link@0 {
reg = <0>;
format = "dsp_a";
bitclock-master = <&aic3104>;
frame-master = <&aic3104>;
cpu {
sound-dai = <&dummy_dai>;
};
codec {
sound-dai = <&aic3104>;
system-clock-frequency = <512000>; // 512kHz
};
};
};
dummy_dai: sound-dummy {
compatible = "linux,snd-soc-dummy";
#sound-dai-cells = <0>;
};
};
&i2c2{
aic3104: codec@18{
compatible = "ti,tlv320aic3104";
reg = <0x18>;
#sound-dai-cells = <0>;
reset-gpios = <&gpiof 9 GPIO_ACTIVE_LOW>;
AVDD-supply = <&v1v8_audio>;
IOVDD-supply = <&v3v3>;
DRVDD-supply = <&v3v3>;
DVDD-supply = <&v1v8_audio>;
};
};
谢谢你
