This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/PCM1862: ASoC: no sink widget found for ADC

Part Number: PCM1862
Other Parts Discussed in Thread: PCM1865

Tool/software: Linux

I'm trying to capture audio using the ALSA system in linux. I'm getting the following error messages when the driver is loaded:

[    1.549143] pcm186x 1-004b: ASoC: no sink widget found for ADC
[    1.555107] pcm186x 1-004b: ASoC: Failed to add route ADC Left Capture Source -> direct -> ADC
[    1.563788] pcm186x 1-004b: ASoC: no sink widget found for ADC
[    1.569653] pcm186x 1-004b: ASoC: Failed to add route ADC Right Capture Source -> direct -> ADC

Here's the sound definition from the dts file:

  sound {
                compatible = "simple-audio-card";
                simple-audio-card,name = "PCM1862 Sound";
                simple-audio-card,widgets =
                        "Line", "Line In Jack 1",
                        "Line", "Line In Jack 2",
                        "Line", "Line In Jack 3",
                        "Line", "Line In Jack 4";
                simple-audio-card,routing =
                        "Line In Jack 1", "VINL1",
                        "Line In Jack 1", "VINR1",
                        "Line In Jack 2", "VINL2",
                        "Line In Jack 2", "VINR2",
                        "Line In Jack 3", "VINL3",
                        "Line In Jack 3", "VINR3",
                        "Line In Jack 4", "VINL4",
                        "Line In Jack 4", "VINR4";

                simple-audio-card,format = "i2s";

                simple-audio-card,bitclock-master = <&sound0_master>;
                simple-audio-card,frame-master = <&sound0_master>;

                simple-audio-card,cpu {
                        sound-dai = <&mcasp0>;
                        system-clock-frequency = <24000000>;
                        system-clock-direction = "out";
                };

                sound0_master: simple-audio-card,codec {
                        sound-dai = <&pcm1862>;
                        system-clock-frequency = <12288000>;
                };
        };

The driver source that I'm using is pcm186x.c and pcm186x-i2c.c. I don't understand the linkage between the driver and the dts file well enough to figure out what is wrong. The dts file entries are from an example that claims it worked with the driver for a pcm1865. 

Any help would be greatly appreciated.

  • Hi Nick,

    Regarding the Linux driver support for the PCM186x device family, our team no longer supports the linux drivers. We are actively looking at providing support in the future but at this moment, we do not support the same unfortunately. 

    Thanks and best regards,

    Ravi