Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5221483ybv; Mon, 17 Feb 2020 15:10:28 -0800 (PST) X-Google-Smtp-Source: APXvYqztOfVBDyGrEmmX2djlyalZcnVb9mRx4YRstO1HeEZnVTqt4YGF6VTQim1RglyyPxfYgI29 X-Received: by 2002:a9d:7a96:: with SMTP id l22mr13734564otn.217.1581981028843; Mon, 17 Feb 2020 15:10:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581981028; cv=none; d=google.com; s=arc-20160816; b=KDI6DL8wT2JyQ63ViM0T8mNeO8uqu/q6tKuXFVsFrsPhKHujRnzHT97OC35/Ssk0Eo RIgYQhMByQ67KT4pajxb0Eq0vGXR1VYACG6o1Ju4xQFysWYTbFiS5Bpd8FC3wvJa2Z9S nZr2t97955R9pjjrFnMQ1BHZQB+pXQ/lD4b33FWo6oOFEv4oWs1hsHlOBu1wV7z+yDre QeBaM6q8QtCndPFC1yMKyrUO5Y/1eJsCljWNRsIQ/I4OMi1osmhbOpQBs/5tGvBFDO3T QwSFWhJjc6+/j/LJM4ccd1xsLvdCAYPsTlLBtejFUNtTbRPHWWVnGhjYAJP3QKrDcN/8 0Udg== 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=68K2CzoFUJuUhet4R/JMXWmzpwzU0KQQX26mO1PZiLc=; b=DsZN6dBaT3JBcMwilHWoI86IKCpbS1FRAA7Ypbfmc/kKz84icE4Mna9nT/dV9F0EVr hfnSaQaSF8Ej9zZQowj7O9XxeqRLR5tADdXeVOX0i14kerwdY3g0JpPP1/Q949It7rru KjCZiiz1RrN+WWAylE4D9H44QqiuV2EQGKx7IYBmzURxJpIkuwipDDg6rg8Av4nitp3T /VwMEge/xu1ZdVYjFhoSEm53vCV1vRrkfGg5FN1eAkzB8g03n9G9rSw9whdW1rxmjzht d5tIUq248yWPV3ZyUOfWz7zXIgabs6ybOlzpyzwpl9IfrWB9ejgxvHHzb59RmbJKWBAb iUhQ== 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 z23si900095oti.34.2020.02.17.15.10.15; Mon, 17 Feb 2020 15:10:28 -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 S1726069AbgBQXKG (ORCPT + 99 others); Mon, 17 Feb 2020 18:10:06 -0500 Received: from muru.com ([72.249.23.125]:55732 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725922AbgBQXKG (ORCPT ); Mon, 17 Feb 2020 18:10:06 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 8890B8087; Mon, 17 Feb 2020 23:10:48 +0000 (UTC) Date: Mon, 17 Feb 2020 15:10:01 -0800 From: Tony Lindgren To: Peter Ujfalusi Cc: Kuninori Morimoto , 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 , Sebastian Reichel Subject: Re: [PATCH] ASoC: ti: Allocate dais dynamically for TDM and audio graph card Message-ID: <20200217231001.GC35972@atomide.com> References: <20200211171645.41990-1-tony@atomide.com> <20200212143543.GI64767@atomide.com> <346dfd2b-23f8-87e0-6f45-27a5099b1066@ti.com> <20200214170322.GZ64767@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Peter Ujfalusi [200217 12:10]: > On 14/02/2020 19.03, Tony Lindgren wrote: > > But right now in droid4 voice call case mcbsp is just the i2s transport, > > and everything happens betwee the modem and the cpcap pmic. > > Iow you don't need McBSP DAI at all. If you would have added the dummy > codec to McBSP !3 and use that, it would work in a same way, or to DMIC > or McPDM... > > The McBSP ops are NULL for the dummy dai, so McBSP is turned off. Hmm yeah I don't know if the cpcap codec on the same mcbsp needs mcbsp for voice call. According to Sebastian sounds like mcbsp can be idle at that point. But what about capture of voice call at the mcbsp from the TDM slot? In that case mcbsp would be active. > >>>> I know it was discussed, but can not find the mail: > >>>> Can you brief again on the audio connection? > >>> > >>> Below is a link to a mailing list thread where Sebastian describes > >>> the audio connection: > >>> > >>> https://lkml.org/lkml/2018/3/28/881 > >> > >> Thanks! > >> > >>>> Do you have branch with working code? > >>> > >>> Yeah I have slightly older set of the patches in my droid4-pending-v5.5 > >>> kernel.org git branch with voice calls working. > >> > >> I think I should put my droid4 out and try to get it working... > >> Do you have a link for dummies to follow to get started? ;) > > > > Probably the easiest one to use right now is the Maemo-leste devuan based > > test image using v5.5 kernel + modem and audio patches: > > > > https://leste.maemo.org/Motorola_Droid_4 > > > > Just use a decent speed micro-sd card rated "a1" for example. > > Cool. Now I can dual boot the droid4 :D > I needed to rewrite the /etc/shadow to get a known root password so I > can log in. Not sure if you mean password for the droid4-kexecboot or the Linux distro you installed.. But for droid4-kexecboot, you can configure it to automatically download new kernels over wlan. There's some info on the machine specific password and how to configure wlan in the droid4-kexecboot buildroot commits here: https://github.com/tmlind/buildroot/commits/droid4-kexecboot-2017.11 > Wifi is up, so in theory I can scp kernel/dtb to /boot/boot/ and update > the /boot/boot/boot.cfg to boot my kernel, right? Yeah you can update kernels and modules over wlan from the distro(s) you have configured, and also from droid4-kexecboot as above. And note that kexecboot looks for a boot/boot.cfg file to use on every usable parition it finds and uses all the found entries based on the priority configured for the boot.cfg entry. Regards, Tony