Received: by 10.213.65.68 with SMTP id h4csp678117imn; Fri, 23 Mar 2018 13:15:35 -0700 (PDT) X-Google-Smtp-Source: AG47ELt4scV2bOR1kHTmd9xelGA9DUiEdnXrNHE5E2KUqNdfYlaHxOF6YiSgqPUCg6kOJemNKoWC X-Received: by 10.101.74.138 with SMTP id b10mr888833pgu.148.1521836135159; Fri, 23 Mar 2018 13:15:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521836135; cv=none; d=google.com; s=arc-20160816; b=uUr5V+dSSQFJGEX0AeAoZf35UdCe1mbPmxNnFYzN1jjFYultcXnYH2mT7VUI2Pb8fW C9B2h/kPoCEhh0dE/tPK+EfxF3hmsEPaQtBA+kFNtAxqqU020bpXyLwjK5Q+iAv9l6yT F6GDniU83g+ljmmYuuzY5eAYFKWutFiIrIMYJ80nsyeIIHsGUzVLpjsVgRip0RkYJ4yL mu1fIf7a6B9E544AjkN7uBSeS6zbtReU7iIt4YjiwoEp8xnFnYF6Z4BYtpU+xvglTqAS 81/qJDxa+sE1xfA1uWUm+RiAD/6MPuexa9ofpcabM/lxQFnzo1vWEMlbJhAHSp7CVJ+N ELaw== 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=xFPHXv3Itz+R29IXVRKvQt0HL+8FvUbvIPt2cKKrft0=; b=cKL/Nt4fey6IqzLXYnQE2e0yTD7/wdS2pZ/NBRkm0YhjmtAv15VkdHfjfVZhGPFuXR dap1A5O4N8d1tK6PSfWiezpYyR+Es3Yi0wkZeiLpRYKZGaM4Qdq12m8Se+qcZA+h7Kjd 7Wpv9bWXNCzRfmQJ/4Jp0JO4huq/KEF1QEy3oll5Rte7ygQdXXwPHt7ypJO59OC5tr3+ PjmWnkdvnVrbmAW9HwCO10OGqrReUCmfCxeHHzrY1MxqrnIwhJHuSiXvopJ3HGVDS5M+ tscCvtPSFKUMeb1e5KHp5MKp+ZVfUdmVbmvbq1XnqIRIxjOZQpz6pHqqThZkhopWS9gD 8nuw== 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 k12si1254395pff.356.2018.03.23.13.15.20; Fri, 23 Mar 2018 13:15:35 -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 S1752593AbeCWUNt (ORCPT + 99 others); Fri, 23 Mar 2018 16:13:49 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:42809 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751907AbeCWUNr (ORCPT ); Fri, 23 Mar 2018 16:13:47 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 5567A80218; Fri, 23 Mar 2018 21:13:44 +0100 (CET) Date: Fri, 23 Mar 2018 21:13:43 +0100 From: Pavel Machek To: Sebastian Reichel Cc: Dan Williams , Tony Lindgren , 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: <20180323201343.GC23658@amd> References: <20180309023750.108942-1-tony@atomide.com> <20180322135553.GA27648@amd> <20180322164633.GF5799@atomide.com> <20180322192843.GA17189@amd> <20180323105455.GB21644@amd> <20180323113521.45va72bhzis6ym6m@earth.universe> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1SQmhf2mF2YjsYvc" Content-Disposition: inline In-Reply-To: <20180323113521.45va72bhzis6ym6m@earth.universe> 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 --1SQmhf2mF2YjsYvc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri 2018-03-23 12:35:21, Sebastian Reichel wrote: > Hi, >=20 > On Fri, Mar 23, 2018 at 11:54:55AM +0100, Pavel Machek wrote: > > Hi! > >=20 > > > > > Do you have the related dts patches picked from next? > > > > >=20 > > > > > fdd192037fce ("ARM: dts: omap4-droid4: Fix USB PHY port naming") > > > > > e5b9fd7bdeb5 ("ARM: dts: omap4-droid4: Configure MDM6600 USB PHY") > > > > >=20 > > > > > But yeah all you need to do is have phy-mapphone-mdm6600 and > > > > > ohci-platform loaded and then ifconfig should show four wwan > > > > > interfaces being added. > > > >=20 > > > > ifconfig? I thought I should get /dev/ttyUSB0..3? > > >=20 > > > I believe they are QMI via qmi_wwan, not TTYs. > >=20 > > Well, qmicli expects device path... and I see nothing on ifconfig. Any > > idea how the device would be named? > >=20 > > But I believe it just does not work, see the qcserial experiment with > > new_id below. >=20 > Dan is right, you need qmi_wwan driver. qmicli expects > /dev/cdc-wdm device. I use this on Droid 4: >=20 > qmicli -d /dev/cdc-wdm0 --some-other-option Aha, there's ./drivers/usb/serial/usb_wwan.c and there's =2E/drivers/net/usb/qmi_wwan.o . That confused me. qmicli now works for me, thanks! Tested-by: Pavel Machek Does ofonod work for you? I could not get that one to work... ofonod[4083]: plugins/udevng.c:create_modem() /sys/devices/platform/44000000.ocp/4a064000.usbhshost/4a064800.ohci/usb2/2-1 ofonod[4083]: plugins/udevng.c:create_modem() driver=3Dgobi ofonod[4083]: src/modem.c:ofono_modem_create() name: (null), type: gobi ofonod[4083]: plugins/udevng.c:setup_gobi() /sys/devices/platform/44000000.ocp/4a064000.usbhshost/4a064800.ohci/usb2/2-1 ofonod[4083]: plugins/udevng.c:setup_gobi() /dev/cdc-wdm0 255/251/255 05 (null) (null) usbmisc ofonod[4083]: plugins/udevng.c:setup_gobi() wwan0 255/251/255 05 (null) (null) net ofonod[4083]: plugins/udevng.c:setup_gobi() /dev/cdc-wdm1 255/251/255 06 (null) (null) usbmisc ofonod[4083]: plugins/udevng.c:setup_gobi() wwan1 255/251/255 06 (null) (null) net ofonod[4083]: plugins/udevng.c:setup_gobi() /dev/cdc-wdm2 255/251/255 07 (null) (null) usbmisc ofonod[4083]: plugins/udevng.c:setup_gobi() wwan2 255/251/255 07 (null) (null) net ofonod[4083]: plugins/udevng.c:setup_gobi() /dev/cdc-wdm3 255/251/255 08 (null) (null) usbmisc ofonod[4083]: plugins/udevng.c:setup_gobi() wwan3 255/251/255 08 (null) (null) net ofonod[4083]: plugins/udevng.c:destroy_modem() /sys/devices/platform/44000000.ocp/4a064000.usbhshost/4a064800.ohci/usb2/2-1 ofonod[4083]: src/modem.c:ofono_modem_remove() 0x5eb380 ofonod[4083]: plugins/udevng.c:destroy_modem() /dev/cdc-wdm0 ofonod[4083]: plugins/udevng.c:destroy_modem() wwan0 ofonod[4083]: plugins/udevng.c:destroy_modem() /dev/cdc-wdm1 ofonod[4083]: plugins/udevng.c:destroy_modem() wwan1 ofonod[4083]: plugins/udevng.c:destroy_modem() /dev/cdc-wdm2 ofonod[4083]: plugins/udevng.c:destroy_modem() wwan2 ofonod[4083]: plugins/udevng.c:destroy_modem() /dev/cdc-wdm3 ofonod[4083]: plugins/udevng.c:destroy_modem() wwan3 ofonod[4083]: plugins/upower.c:upower_connect() upower connect ofonod[4083]: plugins/hfp_hf_bluez5.c:connect_handler() Registering External Profile handler ... Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --1SQmhf2mF2YjsYvc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlq1X/cACgkQMOfwapXb+vIbcwCgivIAngwiUQOVnKt6eFB5BSuk IzEAnA+JUc0uloOKnfZijU76/HFBzaj5 =3ybB -----END PGP SIGNATURE----- --1SQmhf2mF2YjsYvc--