Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1977611ybv; Fri, 14 Feb 2020 09:11:54 -0800 (PST) X-Google-Smtp-Source: APXvYqznVWgTw4y9PwJLMefBKInz9U2iX10DIKIMnRCRJSNoY3jLWitwYSEtXyImhDB+rLcmBZdA X-Received: by 2002:aca:ac10:: with SMTP id v16mr2441503oie.123.1581700314776; Fri, 14 Feb 2020 09:11:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581700314; cv=none; d=google.com; s=arc-20160816; b=HZ4s+9McEfZc4gLe6F8r27/x4QS5Uuiu9Bx6jx/33dRQbbG4WSAn5BaAaqGIHaO9ny cgKq/1+VUJTcCtzBIuzbzJFhDpdP9EzLVDqasBMvocYLTooZWvTwgHLSZqmipH03r7Q8 T2aAtBeMXMZDV/fDgVhdu3mjMzldzBafZ+sY/TYHK5BHGtfNrcpgOMN7Hfhd36zi0/oc Cx8eBHlrJzCAxOqmHEnwxTmih2XwWmBp5Mw21Ji/xroLfQ2W/vLV3/KIqhkcHRzbeDaM KZX3LCeQb1wzwr4t/tvX99mr8nFHJVcnjy60xL4INlGr2U9ea8FoH+oI4mSZs2zYjWep yDSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=/WNtrBpUVubYo9GU6ZTfJqKRcqcn78jJTiv3wnUhZmc=; b=Hmh6vPGkOp4WSt8T8QMRtHZ/4A/sv4lkXNAQrsN6QGzD6Y86PUG0qqqKyhQNQkqJRW 2nRUwOHv+BBeYMV3Ggxkk2rmYhwHT/E8IHQl0tmo42wb/LPb6Z1mHetONmIinKCMMnFh k35Ps5xpN4hRSBRcqqSJpRzarvgS2uzPAQHrJbgPXpX0WrG6hYQd8KFRNyuJ/OkRMQRY cz9fnFVIm6KCHDoI2gCOBVQi+lL/OPnh9gT315TepuP+Kn0KEOl5wDXCDbb49OQtaHoQ IjmnJlQqnmPtJQoebgiUFKRT+xISgWZxDABmsmFV+3r2kmRW6b71oj9gyvWOBxsmRemz 0Acw== 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 s129si2835829oig.177.2020.02.14.09.11.42; Fri, 14 Feb 2020 09:11:54 -0800 (PST) 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 S2394515AbgBNRJ7 convert rfc822-to-8bit (ORCPT + 99 others); Fri, 14 Feb 2020 12:09:59 -0500 Received: from muru.com ([72.249.23.125]:55280 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2394586AbgBNRJv (ORCPT ); Fri, 14 Feb 2020 12:09:51 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 0E82B80E7; Fri, 14 Feb 2020 17:10:33 +0000 (UTC) Date: Fri, 14 Feb 2020 09:09:46 -0800 From: Tony Lindgren To: Sebastian Reichel Cc: Peter Ujfalusi , Mark Brown , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Aaro Koskinen , "Arthur D ." , Jarkko Nikula , Merlijn Wajer , Pavel Machek Subject: Re: [PATCH] ASoC: ti: Allocate dais dynamically for TDM and audio graph card Message-ID: <20200214170946.GB64767@atomide.com> References: <20200211171645.41990-1-tony@atomide.com> <20200212143543.GI64767@atomide.com> <20200214003452.xuadnylj2udqyljs@earth.universe> <20200214013454.GX64767@atomide.com> <20200214130428.gkhmr55ptmi2bh2x@earth.universe> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20200214130428.gkhmr55ptmi2bh2x@earth.universe> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Sebastian Reichel [200214 13:05]: > On Thu, Feb 13, 2020 at 05:34:54PM -0800, Tony Lindgren wrote: > > And bluetooth would be similar to cpcap_audio and mot_mdm6600_audio > > above. > > My understanding is, that CPU is not involved for calls (except for > setting up cpcap registers correctly). Basically McBSP3 should > remain idle for a call and data goes directly from modem to cpcap. > The same should work for modem <-> BT, except that CPCAP seems to > always provide the clock. That would imply a direct link between > modem and codec / BT? Yes the direct link is i2s. I'm ot sure if mcbsp can be idle during voice call though, I guess it should be doable since mcbsp is not the clock master :) > > My guess is that only cpcap registers and clock rate needs to be > > changed for bluetooth audio BTW, so if somebody havs a bluetooth > > headset just do the following in Android: > > > > # cpcaprw --all > /tmp/before > > configure bluetooth headset for audio in android and start > > playing some music or make a phone call > > ... > > # cpcaprw --all > /tmp/after > > stop playing music or phone call > > ... > > diff -u /tmp/before /tmp/after > > > > The registers will be different for a bluetooth phone call and > > playing music. > > I can provider register values once I find some time. OK great. Regards, Tony