Received: by 10.213.65.68 with SMTP id h4csp738872imn; Sun, 25 Mar 2018 12:00:52 -0700 (PDT) X-Google-Smtp-Source: AG47ELu0aSEUlE1zDqKkiqpFMcbD5Rk6W39Ern069dKXCxeU8I6gF/dwJFGJmrTVtYuLYTHXHjW7 X-Received: by 2002:a17:902:d886:: with SMTP id b6-v6mr32681636plz.70.1522004452149; Sun, 25 Mar 2018 12:00:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522004452; cv=none; d=google.com; s=arc-20160816; b=KQIE1GpuGy15QOsfj5llDZLs8JvN6M+kL1r6i4BXml8yyH7Jk3MGqkN6gnv1zYSn6M 02bLd5tBZ89mDjKu4WEGxdlHjTfeSYI4/QiGlOmpFZl6ULB0pA5xsHp4i7zP2F84k91e wvl2sYA3yRBKcg2j0GW+j5Dfb/Nr2IakogqIJxHA0Y+fZJsrdmCM2uO1cjLW2G6ESUWa sd9d2ymq3VOH8Y+u03qHS9q5UuZ1zpwD0D/CknGlHoLUXQ6JcVUUZSQm4eT4E5Z/79QM bvUrhFyTXnwex+Okb/xiHHAVIgiyUwOpOvalEPXkOntDhliU4ZVmyZgMANf8fChi5hgM G0yg== 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=5oyoXWJ3ZnGteF3HRusA56euzfq7ngGEoWP5qiDi3n8=; b=o2cbn4m4lT+6pAPzq3gpjpYngrMlLiT4u4Ze4W6AyNR9ccn8lGPRvI7B7gvgB18Bib VYNhPMcHrtPg2AQmISn1Q7/tn28Ld5XmLDhsBi2Mw/kD3h1CK60AdhbSWbRM6UwLQgML ZuDB2PY7ts17G3cRoOznbIF4lHyKtoObiPAuj5hPjiKOWfjSxiVh4yZ675dJiILKuijp n3SlzWwJXl6/BODlLBb0X8TDm/AwHgGnZ81QAZ8woTIwoRSHo09Y8pI5RTZuet0kbiLV WNLZ4DJRbNndGe+0FoZNtWwX33Q4mnA8UXeZ7bBPW5zm1rvVcmRH0N1HX+nCZeot3Ys+ L0Dw== 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 b17-v6si13100211plz.303.2018.03.25.12.00.37; Sun, 25 Mar 2018 12:00:52 -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 S1753964AbeCYS7C (ORCPT + 99 others); Sun, 25 Mar 2018 14:59:02 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:44385 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753834AbeCYS7A (ORCPT ); Sun, 25 Mar 2018 14:59:00 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 8CE648037F; Sun, 25 Mar 2018 20:58:58 +0200 (CEST) Date: Sun, 25 Mar 2018 20:58:58 +0200 From: Pavel Machek To: Tony Lindgren 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: <20180325185857.GA7582@amd> References: <20180322164633.GF5799@atomide.com> <20180322192843.GA17189@amd> <20180323105455.GB21644@amd> <20180323113521.45va72bhzis6ym6m@earth.universe> <20180323201343.GC23658@amd> <20180324142517.GA94954@atomide.com> <20180324200224.GA17857@amd> <20180325154512.GC5700@atomide.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: <20180325154512.GC5700@atomide.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > Hmm. Interesting. Anyway, for me ttyUSB4 is interesting, as it seems > > to react to AT commands, and in particular reacts to ADT123; (; is > > important). >=20 > Is that to dial a voice call? Yes. And it is ATD123; not ATD. > > AT+CMGF=3D1 > > AT+CMGS=3D"123" > > foo^Z > >=20 > > Works for SMS sending. Good. >=20 > So what do you use for reading notifying and reading sms? Well, did not try that, but they should just be displayed in the serial terminal. Anyway, "good" solution is to get ofonod running, then use ofone from here: https://github.com/pavelmachek/unicsy_demo But parsing AT commands is easy enough that I can probably hack it together in few days if neccessary. > > Now, if someone knows what needs to be done to get GSM audio working, > > let me know. That's something I'd really like. >=20 > I think it's the cpcap based config to route voice call audio > to SoC, Sebastian knows the details :) >=20 > 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. That sounds like hard way to do it. There's source available, I'm now trying to understand it / fit it into Sebastian's driver. https://raw.githubusercontent.com/NotKit/android_kernel_motorola_omap4-comm= on/hybris-11.0/sound/soc/codecs/cpcap.c Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlq38XEACgkQMOfwapXb+vLQaACfRbi3fedoNP8KvAVCxGprzpWZ uZgAoLr5p+ovefk4xKPfs/jf4AtFHpMc =wPdt -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1--