[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180327205110.GI5700@atomide.com>
Date: Tue, 27 Mar 2018 13:51:10 -0700
From: Tony Lindgren <tony@...mide.com>
To: Pavel Machek <pavel@....cz>
Cc: Sebastian Reichel <sebastian.reichel@...labora.co.uk>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Lee Jones <lee.jones@...aro.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, alsa-devel@...a-project.org,
linux-omap@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel@...labora.com
Subject: Re: omap4-droid4: voice call support was Re: [PATCHv5,5/5] ARM: dts:
omap4-droid4: add soundcard
* Pavel Machek <pavel@....cz> [180327 20:42]:
> But Motorola code seems to do different magic according to modem type,
> so things may not be as easy.
>
> if (pdata->voice_type == VOICE_TYPE_STE) {
> /* STE_M570 */
> ret = cpcap_audio_reg_write(codec, 2, 0xAE06);
> if (rate == 16000)
> ret |= cpcap_audio_reg_write(codec, 1, 0x8720);
> else
> ret |= cpcap_audio_reg_write(codec, 1, 0x8120);
> } else if (pdata->voice_type == VOICE_TYPE_QC) {
> /* MDM6600 */
> ret = cpcap_audio_reg_write(codec, 2, 0xAE02);
> if (rate == 16000) {
> ret |= cpcap_audio_reg_write(codec, 1, 0x6720);
> } else {
> ret |= cpcap_audio_reg_write(codec, 1, 0x6120);
> }
The parts not related to mdm6600 can be ignored until somebody
gets some device other modems working with mainline kernel.
And if there are any refrerences to W3GLTE, or wrigley, it
supposedly never worked for voice calls and only data.
Regards,
Tony
Powered by blists - more mailing lists