Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp853097pxb; Thu, 28 Jan 2021 01:40:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJxyBbirI4AG18hHdPi7uAf+h91aw0gPXKzhQ9eyYSDV0JGFrNdlFS6u3mb2F2NVCl84GCoR X-Received: by 2002:a17:906:110a:: with SMTP id h10mr10421860eja.190.1611826856805; Thu, 28 Jan 2021 01:40:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611826856; cv=none; d=google.com; s=arc-20160816; b=Nm2f5XHcCJQuLqC/lalCPTkkVXgsopaKQrIvrGCv5qZAbE+rZi55/GGcAlyJiGVSfh PISu58VuKhK2Gx/2F8jOFfHHFP4grVZx6twiM+P+RwNcuNXV+t9gVmV/gaB0aDMiqHUr wJsoKw9qL4lsKJ+EI4mjxUBGpOayvnGeGlEUGp8L2alxzBPwYFkSjIdsSxG1qq4qYEh/ lvnL6DGNPcBe/Mv1C97SKkbbZIqo2TgS2lrFNcIMlsxpDXGU8vp2zbfFXGc6WBop16rk y+/ZE4EWtrp7E1vrLWTg9yIjMKto+SxRGAc4Wb0C/gKsmGkh9ywpcskyy1ZKxCoBFTWf Q8mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ggZcq1KRQ/pdSEYJdxgcAOgsVpYsxLJwddK5gt6xtlg=; b=OXKjSwdjy/HT5pcuKv9TcSvgzqj6iqj9MyZst14x3MjnzfNGteXvCC73miKv9ZLJvf RJLsQYjXihIcP+STRRMyQ1hNzwl/7IdjSjUUz+tS+iZQJTUG1qu2eloUXDh8ZIMHXEsz QpXz7UcusC26DW0MWUfvTECoL4SsbpvHs8OvCzqpoKhUIPfUamzlpwuTCusdHBVcBOCV uRESv7f5/D2TczTwuCSd+M1xFFJh0tGOS9pj+su5R5go+pdGFHrmgXg9qmeVtrjTFoQI jFupFNBCqII1JUXNGdM5ABmMi7bjqccN8lxgbdvgTj6F9VosrHc7UgWhYxb+8UFQOmJE pO9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gerhold.net header.s=strato-dkim-0002 header.b=a+te04OO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t5si2118346ejb.381.2021.01.28.01.40.32; Thu, 28 Jan 2021 01:40:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gerhold.net header.s=strato-dkim-0002 header.b=a+te04OO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231600AbhA1Ji5 (ORCPT + 99 others); Thu, 28 Jan 2021 04:38:57 -0500 Received: from mo4-p01-ob.smtp.rzone.de ([81.169.146.167]:19547 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232466AbhA1Jag (ORCPT ); Thu, 28 Jan 2021 04:30:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1611826058; s=strato-dkim-0002; d=gerhold.net; h=In-Reply-To:References:Message-ID:Subject:Cc:To:From:Date:Cc:Date: From:Subject:Sender; bh=ggZcq1KRQ/pdSEYJdxgcAOgsVpYsxLJwddK5gt6xtlg=; b=a+te04OOr9mo/KRqXVvzw3BBi/E+Jc/Sdv3h/v4T+kfmGG++zHgXOyrdCNOACpdHrr 1xQ98/ASaqS/PuPn1lfNY4oBlTMZS9ektTIncbfqowGJcnVfX79TbsHiDX76RfdYFObn ayXHyoj5VoTN1pxiiyMIc1Rjk1i63KYFcDvpU2rgdG6cF3qt8GGd8WGgKOq00r2uILrx 5/d/mVTMPm7C68IajcEi6HHGC0UxNFeEeXusnHKi9KJSYxj7B9bagRBuhmPHRhNT5S6N rENCbMYEhcJ5CR2SYc+wHxmSjVrrovwYF1YcdDt1oiZ6EIBK/i/n2dVksjguFYuaS9rB JB7g== X-RZG-AUTH: ":P3gBZUipdd93FF5ZZvYFPugejmSTVR2nRPhVOQ/OcYgojyw4j34+u26zEodhPgRDZ8j9IczEaYo=" X-RZG-CLASS-ID: mo00 Received: from gerhold.net by smtp.strato.de (RZmta 47.16.0 DYNA|AUTH) with ESMTPSA id L06318x0S9RV36x (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Thu, 28 Jan 2021 10:27:31 +0100 (CET) Date: Thu, 28 Jan 2021 10:27:19 +0100 From: Stephan Gerhold To: Pavel Machek Cc: Jonathan Albrieux , linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, phone-devel@vger.kernel.org Subject: Re: [PATCH 0/3] Add initial support for BQ Aquaris X5 Message-ID: References: <20210124135409.5473-1-jonathan.albrieux@gmail.com> <20210124210119.GA27676@amd> <20210127222407.GD24799@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210127222407.GD24799@amd> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 27, 2021 at 11:24:07PM +0100, Pavel Machek wrote: > > > How close are you to having useful phone calls? > > > > You can do phone calls (with audio) and you can use mobile data, if you > > have the patches for that. :) I'm trying to find time to finish up the > > drivers needed for that, but I've been a bit short on time lately. > > > Most of the functionality is packaged in postmarketOS [1] and you can > > find a list of the devices in the postmarketOS wiki [2]. Especially > > the ones in the "community" category are quite similar in terms of > > working functionality. > > I know about postmarketOS (I even contributed a bit some time ago), > and watch it from time to time. Currently I'm using old Nokia 6151 for > phone calls, but would not mind switching. Work is ongoing in Droid 4 > land -- phone calls are also "almost there". But the almost seems to > be a lot of work :-(. > It's fairly simple on Qualcomm SoCs once audio DSP and modem are working (which is not that simple). I basically just tell the audio DSP to stream voice call audio to the audio ports and then it does that without involving the kernel. It seems to work quite well, so far no one complained about quality or something like that. Not sure if anyone is actively using it already though :) The work left is mainly making the driver more generic so it can work on other Qualcomm SoCs as well (right now I have some things hardcoded). Also, I still haven't fully figured out what is the best way to integrate it into ASoC/UCM/..., so that it can be easily activated when starting a voice call. Stephan