Other Parts Discussed in Thread: TAS2562, TAS2781, AM623
Tool/software:
Hi,
I'm using TAS2563 codec for audio, I'm using TAS2562 driver. I have added device tree configuration to use the codec for speaker and can utilize "aplay". However, I'm trying to configure the codec for microphone use, but I'm unable to determine how to set the route property for microphone, I couldn't see a value in the tas2562 driver.
Could you guide me on how to update the device tree to enable microphone support.
Below is the device tree configuration I'm using.
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>; };