Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp810756ybv; Wed, 19 Feb 2020 09:40:48 -0800 (PST) X-Google-Smtp-Source: APXvYqyOXzXt4IGT0TngQC1n749MEvGgo13wbWL56EiA3h1f3wTSmfZN5Z96ehR0hPM5e+duAR0y X-Received: by 2002:aca:ac10:: with SMTP id v16mr5051327oie.123.1582134048420; Wed, 19 Feb 2020 09:40:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582134048; cv=none; d=google.com; s=arc-20160816; b=P0GAZRoJiJpEGHh7PixeiEA55A2EaN+l8gFt4/ioGhHrsiBZxw4DJvqPypr+NieSiE AOUob7fQxUoOnd79HFiO1tphRMqigimuU2gZQOHRnEie6su/jUmlFYZiJi3iYUJ/vlDM ewImtQJpG/4N/LhByMl/PXoKeiFaw0piNj8g6krwj8miakfNaUMArePkNVrM6332dTUw lxsTJxXnVTcNZbnfUIHC/2Prm3qS2PjrhDuE4OLW0FJX5QcAv5P0bVDaOnkwwGCfuhbB uZ16sCZcZvphfj3HuNJzLpkA9dFOPuPUOFR6u3w9QXNA53JgUwa5OrMt7cd5ulp/+MHJ AemQ== 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-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=viUjyC0eVsvMjJLq8ObFoAF4Wu9gZEZb9szhkWzaUwA=; b=ITpLDA1LjdbDCxZefkJd8KbPSQTrXKqkxlB7uEDlh2mEd+T14FrXQO9DfoEnCedAC2 6jyRSVXV9SBCdXkm73SYfH0vLsPdc1zdUqnzSN+UCiVFV5/bvHIsmqtoU8AJwx+/qdSJ tMLfcO15OloSRthkfRDrkA++Cjm+qcyRj4mY4xc9IBqPiXlRU2RiTEZV0JjAfcRGrlnR 2vxAs8JKm1mwnnYLxlibwtDSJqFR8YCBAj3zjXwb5XvNUE0EWqPYEuuiChrfgh/18MYR wKHgknz12rwLKXLCEQpeUOUJvegFIBlhoUTlMGx/ZNINLsVmuR1P5ehODAc0C5ESVv9+ UdCQ== 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 q189si9621031oic.235.2020.02.19.09.40.36; Wed, 19 Feb 2020 09:40:48 -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 S1726582AbgBSRjL (ORCPT + 99 others); Wed, 19 Feb 2020 12:39:11 -0500 Received: from muru.com ([72.249.23.125]:56066 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726518AbgBSRjL (ORCPT ); Wed, 19 Feb 2020 12:39:11 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 9F75C80F3; Wed, 19 Feb 2020 17:39:53 +0000 (UTC) Date: Wed, 19 Feb 2020 09:39:02 -0800 From: Tony Lindgren To: Mark Brown Cc: Sebastian Reichel , Peter Ujfalusi , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, "Arthur D ." , Merlijn Wajer , Pavel Machek , Jarkko Nikula Subject: Re: [PATCH] ASoC: cpcap: Implement set_tdm_slot for voice call support Message-ID: <20200219173902.GA37466@atomide.com> References: <20200211181005.54008-1-tony@atomide.com> <20200212144620.GJ64767@atomide.com> <9a060430-5a3e-61e1-3d2c-f89819d9436f@ti.com> <20200217232325.GD35972@atomide.com> <8fc1dded-6d28-f5cd-f2f9-3a6810571119@ti.com> <20200218153211.GI35972@atomide.com> <20200218170628.r47xc3yydg6xx2yh@earth.universe> <20200218174258.GK4232@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200218174258.GK4232@sirena.org.uk> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Mark Brown [200218 17:43]: > On Tue, Feb 18, 2020 at 06:06:28PM +0100, Sebastian Reichel wrote: > > > simple-graph-card is the current machine driver. We might have to > > introduce a Droid 4 specific driver instead. I used simple(-graph)-card > > instead of introducing a new driver, since the setup was simple enough > > without modem and bluetooth. The simple card was perfect to test the CPCAP > > codec driver. The TDM things might be complex enough to create > > a new machine driver (as I mentioned in the original patchset > > adding CPCAP codec support). > > I tend to agree here, phones are generally one of the most complicated > classes of system for clocking and interconnects and the CODECs they use > often the most complex too so they're really stretching the generic > cards. It'd be nice to be able to handle things with generic cards but > it's likely you'll run into issues that it'd be unreasonable to force > you to address for system enablement. OTOH if you manage to get one of > the generic cards working well that'd be excellent! Well to me it seems that we just already have all the data needed with the graph binding and snd-soc-audio-graph-card + codec2codec support. I don't think we have cases where the cpcap codec is not the master, so as long as the cpcap codec knows what's going on then there may not be a need for machine driver. I guess the the bluetooth to modem path is the one to check to see what provides the clocks.. Regards, Tony