主题中讨论的其他器件: TAS2562、 TAS2781、 AM623
工具与软件:
您好!
我将 TAS2563 编解码器用于音频、我将使用 TAS2562驱动器。 我已经添加了器件树配置、以便将编解码器用于扬声器、并可以利用"aplay"。 但是、我正在尝试配置编解码器以用于麦克风、但无法确定如何设置麦克风的 route 属性、无法在 tas2562驱动程序中看到值。
您能否指导我如何更新设备树以启用麦克风支持。
下面是我使用的器件树配置。
sound { compatible = "simple-audio-card"; simple-audio-card,name = "AM62x-SKEVM"; simple-audio-card,widgets = "Speaker", "Internal Speaker", simple-audio-card,routing = "Internal Speaker", "OUT", simple-audio-card,format = "i2s"; simple-audio-card,bitclock-master = <&sound_master>; simple-audio-card,frame-master = <&sound_master>; simple-audio-card,mclk-fs = <256>; simple-audio-card,bitclock-inversion; sound_master: simple-audio-card,cpu { sound-dai = <&mcasp2>; dai-tdm-slot-num = <2>; dai-tdm-slot-width = <32>; }; simple-audio-card,codec { sound-dai = <&tas2563>; }; };
tas2563: tas2563@4c{ status = "okay"; reg = <0x4c>; compatible = "ti,tas2563"; #sound-dai-cells = <0>; ti,imon-slot-no = <0>; ti,vmon-slot-no = <0>; ti,asi-format = <0>; };