On Wed, Nov 25, 2009 at 10:39:59AM +0000, Mark Brown wrote: > On Wed, Nov 25, 2009 at 08:46:31AM +0100, Sascha Hauer wrote: > > > The problem here is that I don't really understand what arguments I > > should supply to this function and how to parse them to archieve what I > > want. > > > The MC13783 Voice Codec always uses a network mode to send data. It has > > a fixed width of four slots. > > > PMIC_SSI_NETWORK[2:3] defines the slot for primary transmit/receive > > PMIC_SSI_NETWORK[4:5] defines the secondary transmit timeslot > > PMIC_SSI_NETWORK[6:7] defines the secondary receive timeslot > > > The Codec has two channels and it's not primarily desgined to do stereo > > Audio. I want to put the primary channel into the first timeslot and > > the secondary channel into the second timeslot. > > What are "primary" and "secondary" here? If they are broadly unrelated > except for the clocking (which is what this sounds like) then they > probably should be handled as separate DAIs. I thought about this, but can I do stereo with two seperate DAIs? Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel