[alsa-devel] Device Tree simple-audio-card without codec HOWTO ?

Aurelien Bouin a_bouin at yahoo.fr
Thu Dec 18 10:55:30 CET 2014


Hello,

I use the iMX6 ESAI bus to send audio datas to other processors ... but actually I don't have any codec behind ...
I am wondering if there is any solution with the devicetree to implement such configuration with "simple-audio-card"
That will configure tdm slots and width.
I tried without success that :
sound {
    compatible = "simple-audio-card";
    simple-audio-card,name = "Generic-ESAI-Sound-Card";
    simple-audio-card,format = "left_j";
    simple-audio-card,cpu {
        sound-dai = <&esai 0>;
        dai-tdm-slot-num = <32>;
        dai-tdm-slot-width = <8>;
    };
    simple-audio-card,codec {
        sound-dai = <0 0>;
    };
};

Because for the moment I have not find another solution than doing a module : http://pastebin.com/cnGwnEjn
Thank you for your help,
Regards,

Aurelien BOUIN


More information about the Alsa-devel mailing list