Received: by 10.213.65.68 with SMTP id h4csp1053468imn; Tue, 27 Mar 2018 13:52:57 -0700 (PDT) X-Google-Smtp-Source: AIpwx493sDAMCE+63yF5F1BZQUVmmR4h2MRk5r2ZXVMaAbJeS6Dm1w2zQ1P693bh7FDH8jJjmmaT X-Received: by 10.98.214.91 with SMTP id r88mr667942pfg.8.1522183977323; Tue, 27 Mar 2018 13:52:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522183977; cv=none; d=google.com; s=arc-20160816; b=G7Fo+PDeTpKZiEG5gVARQv+8S8yOqSNJA4IY1ZJI6GQ2N8vj+YozH4l4W1mF/gFsJM J6DwYUKPOUn/R/dF6MGd3pQFcbFzshymhd164f0SGZMKa7eCoBXl9UMFlfcSxHlJbBcm +Zxdb/gm8o3NeaegPpInhx4jX7YG/d6oX7lR3h44V6kQ6RwpO0vx8x1uNgOgAT75NvbG hv6d9swHzhIXd6d7whJ0cjrCQqGFwdpsht0sPzQl/Jt4nXn58Zvj77N/NdBSuGZLHUPL fC8BUC+v/9lRLS61vsOkloB7dzeOUA0qhXYEyY9VFRSVeIFsIjHwkxPxSJjuIFyx9T3+ qFeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=dXD9+ZYgPXNt+zFS8qAMg60hgEXZGdw6CsplPyOmHag=; b=qISUMVI6QjXvjAnc8zqGPVzHTMU2noBug/mXhb71eJIgIN38QSohpDQCdCwB1qcGPx 5on4DcnProMdUELjc3RPkaYksm60ozUV6oXBjue/BeMJKle1Y1CwHad/oPKgGD/mh4rt Y/Q6jZ7sexVAhN2bNEonQowlvOct0juqN42IgnAbUyVj0fKZqWxsY8gTeJ9ySOhLsIii MJ6QOCRaqOy+HoqWrELkDLQ8fgThjxlBjSi9RVRTBHTlraSDLwElEp7IWnnb34AirxQA 0k77/U+1qEwGwezbV0DT+aXTBk2+NBECD5eVV+LQxyHSHq2u+jVk8Z5N9ccAAbmWWfeu xiUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s3-v6si1936029plb.418.2018.03.27.13.52.42; Tue, 27 Mar 2018 13:52:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751901AbeC0UvQ (ORCPT + 99 others); Tue, 27 Mar 2018 16:51:16 -0400 Received: from muru.com ([72.249.23.125]:34106 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751028AbeC0UvP (ORCPT ); Tue, 27 Mar 2018 16:51:15 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id A700580E0; Tue, 27 Mar 2018 20:52:30 +0000 (UTC) Date: Tue, 27 Mar 2018 13:51:10 -0700 From: Tony Lindgren To: Pavel Machek Cc: Sebastian Reichel , Liam Girdwood , Mark Brown , Rob Herring , Lee Jones , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: Re: omap4-droid4: voice call support was Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard Message-ID: <20180327205110.GI5700@atomide.com> References: <20180223200254.25685-6-sebastian.reichel@collabora.co.uk> <20180322204804.GA26871@amd> <20180322234832.o24ut5ahon46mdu4@earth.universe> <20180323100930.GA21644@amd> <20180323103006.alymgb3ywftb4gek@earth.universe> <20180326141638.GB1450@amd> <20180326155828.ttnduivadob4iqmd@earth.universe> <20180326203154.GA9334@amd> <20180326231022.vilvxwqkniffk775@earth.universe> <20180327204111.GA2254@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180327204111.GA2254@amd> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Pavel Machek [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