Received: by 10.213.65.68 with SMTP id h4csp626445imn; Sun, 25 Mar 2018 08:46:29 -0700 (PDT) X-Google-Smtp-Source: AG47ELse61WuADAKCupWnmbte1oPMKYFSI7joKGMDkqzbxPf5FTkPdbyWrh0zv4cw5apzU0w09sX X-Received: by 2002:a17:902:7586:: with SMTP id j6-v6mr23021681pll.352.1521992789390; Sun, 25 Mar 2018 08:46:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521992789; cv=none; d=google.com; s=arc-20160816; b=z5kMl9DS43Bztrbi2mnIFOA6e24kzMB1Obecj3poIp/upWmfaBvFQs0wc6ixOzScUh J5Uraul/gExdCcEjqzCOuMBJy2k9QNQyBCwCNg/pMUL/zXgKf1mDZeHJvz80T3/5P1ql ChTEASV51HZY1O9JkLNfmmyLRW5eeQIMtyQW/1RaPgDsZW3UVyEfSUUAP7cdB6z5/MWi AZuGMh8Y1tAkxX4J98DdOYoxnSu/EQdBHSrW+w6RbjPdlmna3uQUZvJ/nPdeVM7is7kt HZKSlW8dEdtqQ/37o7ccZLEPirBHIW1CGWUPFfHEgory6K3FQrJpv21fqRc0vj+v/KwX eqcw== 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=9ZhZ5x0SyCb1E0clARvevnJu4NGHtgw/bhsuJuTkXK0=; b=I6grGvnQgpL/6L9mz64M1+7YQ1JocuCan7TVvcHdbyl1M5K4a/1tW/6WMqZRj2Die9 uIqp/jfptqOlG5rbuGUoWr8Bvpdh/xsmGVvkQHcK0RKFyXJ0SFgM0oh4UWt0zB+vMgDk MGanlIpM3tZVlEbqop3YiJ+yMZfL0Xh+5UziyM/Oi8E3sjIabJzKKfqUH9QUU1l2qw7K 8AWFxwUwVW6kgGgNO3Yx2NyRAdklq5YlH/aT8jeuo9twvcfGzHw90DhoswMeFH52aCwO jsfKpU/E4n8pSpds/FCnz8Wo4U7fk7EysSmfxiJlBfVb8AgttWOh58YrMuQU2taXGe5d d8Wg== 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 u27si10228253pfk.241.2018.03.25.08.46.14; Sun, 25 Mar 2018 08:46:29 -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 S1753474AbeCYPpV (ORCPT + 99 others); Sun, 25 Mar 2018 11:45:21 -0400 Received: from muru.com ([72.249.23.125]:33796 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753408AbeCYPpR (ORCPT ); Sun, 25 Mar 2018 11:45:17 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 20303802B; Sun, 25 Mar 2018 15:46:30 +0000 (UTC) Date: Sun, 25 Mar 2018 08:45:12 -0700 From: Tony Lindgren To: Pavel Machek Cc: Dan Williams , Sebastian Reichel , Kishon Vijay Abraham I , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, Mark Rutland , Marcel Partap , Michael Scott , Rob Herring Subject: Re: [PATCHv4] phy: mapphone-mdm6600: Add USB PHY driver for MDM6600 on Droid 4 Message-ID: <20180325154512.GC5700@atomide.com> References: <20180322135553.GA27648@amd> <20180322164633.GF5799@atomide.com> <20180322192843.GA17189@amd> <20180323105455.GB21644@amd> <20180323113521.45va72bhzis6ym6m@earth.universe> <20180323201343.GC23658@amd> <20180324142517.GA94954@atomide.com> <20180324200224.GA17857@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180324200224.GA17857@amd> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Pavel Machek [180324 20:03]: > On Sat 2018-03-24 07:25:17, Tony Lindgren wrote: > > * Dan Williams [180324 14:00]: > > > On Fri, 2018-03-23 at 21:13 +0100, Pavel Machek wrote: > > > > Does ofonod work for you? I could not get that one to work... > > > > > > Because it's looking for a Gobi modem but the MDM6600 isn't one and > > > doesn't expose that layout (and doesn't really need to anyway). I > > > don't think ofono has a generic QMI driver, so you'd either need to for > > > ce it to use the telitqmi or quectelqmi drivers, or write your own > > > generic QMI one. > > > > We also get five USB uarts if we add the device id with something > > like the patch below. I don't quite get why we get five UARTS? > > Not sure, either. Often more than one uart is useful, you get AT > commands on one, while GPRS data flow on some other. > > > Also not sure if we should be using drivers/usb/serial/qcaux.c > > instead of qcserial.c? > > > > And from what I recall trying it out, adding the USB UARTs > > somehow confused ModemManager I think, that needs to be retested > > though :) > > > > And the USB UARTs added do not offer the same set of AT commands > > as the n_gsm serial mux. > > Hmm. Interesting. Anyway, for me ttyUSB4 is interesting, as it seems > to react to AT commands, and in particular reacts to ADT123; (; is > important). Is that to dial a voice call? > AT+CMGF=1 > AT+CMGS="123" > foo^Z > > Works for SMS sending. Good. So what do you use for reading notifying and reading sms? > Now, if someone knows what needs to be done to get GSM audio working, > let me know. That's something I'd really like. I think it's the cpcap based config to route voice call audio to SoC, Sebastian knows the details :) The way to figure that one out is to dump the cpcap registers before and during voice call on android with cpcaprw, then diff the output for the audio registers. Probably some SoC registers need to be diffed too with rwmem or similar tool for the mcbsp instance(s) used. Regards, Tony