Received: by 10.213.65.68 with SMTP id h4csp973795imn; Thu, 22 Mar 2018 12:29:54 -0700 (PDT) X-Google-Smtp-Source: AG47ELu6QHAKfrQJLm6qzI/XVx1+b1+IjVvx9PHY3fM7yzGyVbe/WcTA08LR1BFgnpq7PUqPimw5 X-Received: by 10.98.217.139 with SMTP id b11mr9381940pfl.113.1521746994571; Thu, 22 Mar 2018 12:29:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521746994; cv=none; d=google.com; s=arc-20160816; b=E4nmYAzPMWFG5VenXbDb2jD3vdpmYkQR//j8btqbJWXuzJDl10rAuB5R9rAOp0uU4j gb+Zfp1iNZrCooQDLKEI9GtkTyySKWLF9xOlaFo7t5Yms4s1k9LrncpsCCtQLH+YFmCW +g9EBk77I3AlaVkEr+rgaZJXJdD0QfCI9r3wYibZEUnVocHnGjd2bEbaE1Mj95uopsI8 J4dsUyC9BnesHZSFcjxNhyJS3kSl8n+2jPga9ZC5aLKQnGCIwm5m+RAfh/zw5nF1D8mT uvoeEo/6TAPuNZRAH17zzLOBqYQxcjY/L84f6k7DLoavAxNq5UadDFRMTrtjUNmUEIL5 GaFA== 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=bo/EZETm3el0QaTonAiqPbucVnQmZg8A9ALc5n3OGSA=; b=iJBr8Lzgtot2QUKcAhjsP/VyWMUkx3CUSH1NORs6vkGbUTRjnbr4Irvgd+93w08oCF 6PWWh0QlKi5kI8nrl7OaYKaUthiYOZhF8OqMt+COKuOIiVitG9+swVm/c6ufxrNinJy9 TOhblES/q9exFcoTVsublxMUxAwqNs/jeWrmN1rC67yOPuVuebgOAY8Xv/x49RrSrNPG ujNRtEwwwDyO9+lIsvpOOh6KF5Jt4O54UcxzpOVpwgNKs/yhkG1xuMMvPEmJ5uKM9K7e Yws2tZFo2cm8MUNCP7RR4YIl6lucmPeu22cbQMm5JLFdchT18fQHnKyMl0Hinjax7Mxr vkkA== 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 g14si4839323pgn.275.2018.03.22.12.29.39; Thu, 22 Mar 2018 12:29:54 -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 S1751784AbeCVT2s (ORCPT + 99 others); Thu, 22 Mar 2018 15:28:48 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:34803 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751553AbeCVT2r (ORCPT ); Thu, 22 Mar 2018 15:28:47 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 61E178021E; Thu, 22 Mar 2018 20:28:44 +0100 (CET) Date: Thu, 22 Mar 2018 20:28:43 +0100 From: Pavel Machek To: Tony Lindgren Cc: 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: <20180322192843.GA17189@amd> References: <20180309023750.108942-1-tony@atomide.com> <20180322135553.GA27648@amd> <20180322164633.GF5799@atomide.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: <20180322164633.GF5799@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 --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > user@devuan:/sys/devices/platform/44000000.ocp/4a064000.usbhshost$ > > sudo lsusb > > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > > Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > > user@devuan:/sys/devices/platform/44000000.ocp/4a064000.usbhshost$ > > zcat /proc/config.gz | grep MAPPH > > CONFIG_PHY_MAPPHONE_MDM6600=3Dy > > user@devuan:/sys/devices/platform/44000000.ocp/4a064000.usbhshost$ > > zcat /proc/config.gz | grep OHCI_ > > CONFIG_USB_OHCI_LITTLE_ENDIAN=3Dy > > CONFIG_USB_OHCI_HCD=3Dy > > CONFIG_USB_OHCI_HCD_OMAP3=3Dy > > CONFIG_USB_OHCI_HCD_PLATFORM=3Dy > > user@devuan:/sys/devices/platform/44000000.ocp/4a064000.usbhshost$ > >=20 > > As far as I can tell, > >=20 > > +CONFIG_USB_WDM=3Dy > > +CONFIG_USB_SERIAL=3Dy > > +CONFIG_USB_SERIAL_QUALCOMM=3Dy > > +CONFIG_USB_SERIAL_WWAN=3Dy > >=20 > > should be enabled to enable the drivers (and I did that), but without > > device showing on the bus... > >=20 > > Any ideas? >=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. ifconfig? I thought I should get /dev/ttyUSB0..3? Anyway, that does not seem to work. Something is detected now: [ 10.819549] ALSA device list: [ 10.831787] #0: HDMI 58006000.encoder [ 10.841186] Waiting 10 sec before mounting root device... [ 10.887573] usb 2-1: New USB device found, idVendor=3D22b8, idProduct=3D2a70 [ 10.897521] usb 2-1: New USB device strings: Mfr=3D1, Product=3D2, SerialNumber=3D0 [ 10.907684] usb 2-1: Product: Flash MZ600 [ 10.914611] usb 2-1: Manufacturer: Motorola, Incorporated [ 20.967193] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities But qcserial driver does not bind to that. If I attempt to force it: root@devuan:/sys/bus/usb-serial/drivers/qcserial# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 002: ID 22b8:2a70 Motorola PCS Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub root@devuan:/sys/bus/usb-serial/drivers/qcserial# echo "22b8 2a70" > new_id [ 2059.267730] usb 2-1: unknown number of interfaces: 9 [ 2059.272949] usb 2-1: unknown number of interfaces: 9 [ 2059.278045] usb 2-1: unknown number of interfaces: 9 [ 2059.283233] usb 2-1: unknown number of interfaces: 9 [ 2059.288330] usb 2-1: unknown number of interfaces: 9 [ 2059.293457] usb 2-1: unknown number of interfaces: 9 [ 2059.298553] usb 2-1: unknown number of interfaces: 9 [ 2059.303680] usb 2-1: unknown number of interfaces: 9 [ 2059.308776] usb 2-1: unknown number of interfaces: 9 I don't get anything useful. Do I need to boot android before booting Linux or something? How does your lsusb look like? Thanks, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEUEARECAAYFAlq0A+sACgkQMOfwapXb+vJp7ACWO1qp5KahtXRtn8mQTZIEJqNo VQCggIZ/PMnCO4+9IY9B0ej/gDsVIJE= =CfL7 -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd--