Received: by 10.213.65.68 with SMTP id h4csp1823236imn; Thu, 29 Mar 2018 11:41:39 -0700 (PDT) X-Google-Smtp-Source: AIpwx48G/rHDsa404iqPNMf6R34Fk1AoN6cdExXj0g3R/qzJsrC0Age2SnyY1vJ9OhZt75M4byI7 X-Received: by 2002:a17:902:7e09:: with SMTP id b9-v6mr9532394plm.223.1522348899611; Thu, 29 Mar 2018 11:41:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522348899; cv=none; d=google.com; s=arc-20160816; b=ey5dx+qpSjBsXpuLgFsrMqZp5PqC58ss6mFWR3TPpXsC1+dbGClume9ftX5nMJ5xAA lb40ecuFLDS1ZtJ2a/hYU2dzzf4THYtTC2k89/B1Jx0XW5R1ht8zCDOWF2/Frngdc/8G jq/Qovldgl73waq8l9qxn7xGG1jzqC/yPNcnUFZQhzO53zhbfoz2Ld65AelXR9PTDX+y QO5Bln00XUDa9ZdbyyROaeY7uAZ846PMSxy5c7OuQJqfG5JDPYhRP22jCoLTewtfjMiT hd8yL6Y9b0YWk6/ZqVd5GYyCTPdhntCvoV5VJYHBaJErkuYHlM3kJpmokw9CwOE4Bi5r uBbw== 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=NKN+vnUEGx4gIV0YTIgnzcfuVoYMj7XASTgXZXYR+Xw=; b=iVUuNuEr5kgr0l/f97Wbn9hVWROq/sL7HK97kUWMHT0tCuyaAxzVadSVC61xL97Nx/ t73b9QIuiDciNkK+s34WdoD3DD+MZSX44KRoBy95qkXW60csMeUpkAei9Gz5ynVav1hg b/tMIyzCom9AhtZDYJRkLGi+LgAa3jY2au+vn+lcvxE2COo4zShi/BTKm4vD472UptA0 IrpaKdBAGuf63z51f6dX5gNv4tQ/UU00aeb3UFt2W9fRwbpc6CfHjhcNNrRIayEnzWev UPDw7WmtafVA8raCVuMzcLvNNRIq31aAexq8aOivpWxjo5Bu1vEFH7MEVR8SUlW+WWvL sPsw== 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 66-v6si6687565pld.315.2018.03.29.11.41.21; Thu, 29 Mar 2018 11:41:39 -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 S1752748AbeC2SkT (ORCPT + 99 others); Thu, 29 Mar 2018 14:40:19 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:48353 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752548AbeC2SkJ (ORCPT ); Thu, 29 Mar 2018 14:40:09 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 269C380377; Thu, 29 Mar 2018 20:40:08 +0200 (CEST) Date: Thu, 29 Mar 2018 20:40:07 +0200 From: Pavel Machek To: Tony Lindgren Cc: Sebastian Reichel , Mark Brown , Liam Girdwood , 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, Dan Williams Subject: Re: omap4-droid4: voice call support was Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard Message-ID: <20180329184007.GA27688@amd> References: <20180327121441.GH29239@sirena.org.uk> <20180327222237.wcx2aqznvdrvbaa5@earth.universe> <20180328022910.GM29239@sirena.org.uk> <20180328140219.f6667up5evrrafkv@earth.universe> <20180329014507.GM5700@atomide.com> <20180329133613.khldv72w3zj63vsk@earth.universe> <20180329135904.GN5700@atomide.com> <20180329154600.qhels5fqzzg364gj@earth.universe> <20180329163716.GA20743@amd> <20180329164113.GR5700@atomide.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline In-Reply-To: <20180329164113.GR5700@atomide.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu 2018-03-29 09:41:13, Tony Lindgren wrote: > * Pavel Machek [180329 16:38]: > > Hi! > >=20 > > > > > > And I do hear a voice talking over the speakerphone :) Sorry ha= ve not tested the > > > > > > mic yet.. > > > >=20 > > > > And calling a person I can hear the other end but the mic is > > > > not working. So maybe I need to tweak the alsamixer settings > > > > too for mic? > > >=20 > > > Your override kills most settings from alsamixer. You can try to > > > just override CPCAP_REG_VAUDIOC, CPCAP_REG_CC and CPCAP_REG_CDI > > > and setup everything else with alsamixer. > >=20 > > I tried that, and could not get it to work; will try some more. > >=20 > > Is there easy way to get the register dump? >=20 > For mainline kernel: >=20 > # cat /sys/kernel/debug/regmap/spi0.0/registers >=20 > For Android v3.0.8 kernel, see cpcaprw on github. Thanks. I got call working including outgoing audio: in capture settings, right->mic 1, Mic1 + Mic2 in alsamixer -> 100%. But I had the other phone muted, so I don't yet know if such call would be of usable quality. Thanks! Pavel --- tony.as 2018-03-29 18:29:41.715742372 +0000 +++ mic.as 2018-03-29 18:33:40.910759649 +0000 @@ -258,8 +258,8 @@ 0404: 0000 0408: 0000 040c: 0000 -0410: 0014 -0414: 0104 +0410: 0004 +0414: 0105 0418: 000e 041c: 00ff 0420: 44d3 @@ -515,8 +515,8 @@ 0808: ae0a 080c: 0078 0810: 003c -0814: 0cc0 -0818: 0610 +0814: 0cc4 +0818: 061f 081c: 0006 0820: 0b2c 0824: 0606 @@ -641,13 +641,13 @@ 0a00: 0000 0a04: 23b6 0a08: 002b -0a0c: 1530 +0a0c: 18ec 0a10: 0000 -0a14: 4e54 -0a18: 0036 +0a14: 6a90 +0a18: 0040 0a1c: 0000 0a20: 0000 -0a24: 0738 +0a24: 0b40 0a28: 0000 0a2c: 0000 0a30: 0000 @@ -769,12 +769,12 @@ 0c00: 9004 0c04: 0136 0c08: 0000 -0c0c: 02fb +0c0c: 02fc 0c10: 01da -0c14: 015b -0c18: 0300 -0c1c: 0271 -0c20: 01e5 +0c14: 015a +0c18: 02fe +0c1c: 0270 +0c20: 01f5 0c24: 0000 0c28: 0204 0c2c: 0205 --gBBFr7Ir9EOA20Yy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlq9MwcACgkQMOfwapXb+vKNFwCfXxd9MPUKRnmKkwjQ8hYcx0sN 0WgAoILdNTLj1n+vHTeXXGgbrqhenCwt =Mqev -----END PGP SIGNATURE----- --gBBFr7Ir9EOA20Yy--