Received: by 10.213.65.68 with SMTP id h4csp844957imn; Thu, 22 Mar 2018 09:48:02 -0700 (PDT) X-Google-Smtp-Source: AG47ELs8pYGFNJEWFMu1dwn6h3wV/EtF3M4m+2EoUHhxbC8e788pDa4UPf1zRSQugGUvephH2orD X-Received: by 2002:a17:902:7142:: with SMTP id u2-v6mr25693228plm.257.1521737282704; Thu, 22 Mar 2018 09:48:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521737282; cv=none; d=google.com; s=arc-20160816; b=ORFI2/LVXjUN5LYU0g/37gKJ7keLE9Cp4npD6fnYu/6oLPTnbPYY0UtwvOtMa7ICXJ On/ZqT5ozN0tN8eKQMffHh7RUr5rmpC1nSm27sVRrf36EYqyMNNeNHUBfCBWTxDIMrul HCI22605lF7odISKDJtlAe9XMzSaweSytH7I//Qd6Nh+iD6lRaMdhKTHc1AJg7zngXsz 8E4q4D6ZYrNYhxyNxhFb7mIGsF1j1bg4ECd7+uhJZv2Zx+3xeIyGonZq0GYzttbPir3q TpgrsLZVYRs1ZuTShmMXXyCYQgErchFeZiALMwYgS9nfryhvbzQ8H6JXPJhJDC28aXT6 yWeg== 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=vCZYhmp/QDRdokzoErVjO5x4aTcV/hCn2i3SUi1Y73g=; b=mGkLb2QL25n82yIBfiu+8RAXdZK3bDYOTzcgOpsdFExONgc78eKV7mRAU2GQezBEM/ t3eM1lsh0QwOlzNO7/U23+JfEzfzuK0Tvd5hSFrhVwvhMj1Ok+4Hy03ckAPHMahcHJUy fb5W+NrpCN4hcwOAUbvLWXRzwMGX3v/d2+EoJuydlVkPZrOftWkFMMVxxVlqBWeqxjso ihi5XPYk/785L2kuL6xjn1TTVW9mXDJkNDZTiTyA40b7yhAW0Rbu4PkinQ40iEsRYRZ5 PvrLVVCuexbcNTfWL40M9UAkiBbpuBoNCF/AMiPjlY24qxwkK72B6/YiDeVQw9RdpTLx +viw== 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 m6si4631964pgp.831.2018.03.22.09.47.48; Thu, 22 Mar 2018 09:48:02 -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 S1752001AbeCVQqm (ORCPT + 99 others); Thu, 22 Mar 2018 12:46:42 -0400 Received: from muru.com ([72.249.23.125]:33280 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751923AbeCVQqi (ORCPT ); Thu, 22 Mar 2018 12:46:38 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 893B78080; Thu, 22 Mar 2018 16:47:48 +0000 (UTC) Date: Thu, 22 Mar 2018 09:46:33 -0700 From: Tony Lindgren To: Pavel Machek 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: <20180322164633.GF5799@atomide.com> References: <20180309023750.108942-1-tony@atomide.com> <20180322135553.GA27648@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GPJrCs/72TxItFYR" Content-Disposition: inline In-Reply-To: <20180322135553.GA27648@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 --GPJrCs/72TxItFYR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Pavel Machek [180322 13:57]: > Hi! >=20 > > idle lcd off phy-mapphone-mdm6600 ohci-platform > > 153mW 284mW 344mW > >=20 > > So it seems that MDM6600 is currently not yet idling even with it's > > radio turned off, but that's something that is beyond the control of > > this USB PHY driver. This patch does get us to the point where modem > > data and GPS are usable with libqmi and ModemManager for example. > > Voice calls need more audio driver work. >=20 > Ok, let me try. I believe I should see the modem device on lsusb, but > I don't. >=20 > 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? Do you have the related dts patches picked from next? fdd192037fce ("ARM: dts: omap4-droid4: Fix USB PHY port naming") e5b9fd7bdeb5 ("ARM: dts: omap4-droid4: Configure MDM6600 USB PHY") 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. Regards, Tony --GPJrCs/72TxItFYR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAlqz3ekACgkQG9Q+yVyr pXMyYg/9GEq0/SBSu5yR5kx1UrhkK5c/fyL9li145JlFob6VY2wEpBWSUqU3Mr/C D1pB+3H11j30Q9HwsHAK0GWKznYQUlf50sc9NZjuldfgqbp27q2LLq9VeNA+RpnE 6zTjPSVV9iG11eYWJAR1NsajFBjgxnCleI8KFLuZE/BSKk0EwpyVqdc6fFLJ6Ap9 0F/dkhb6OJzo1ElfPKlLK4gjmxa1OIS0086WlKvxtLrhVWhjEJrxBPNicDiD8FyZ HYbhC6aBbmwpzqWJKZbUVBjtbNAXMD+gfPGhzxq2aflHa/Ey26Wj0ITfyjCaCHZY Nz7SwgUVxpLzrpmmRAA/sSnId/vshobYs8Uki+QJpbbkxhyDmjZpZpJc6i4b85EU VTQ0B6Hz8efURW1LwQsk7J/TYrZqVlUIOBOyHzUUa4p996Epjs88ynXwJ1pXspem v8vwlFtRnzaEsMw29YppxQ/GxPMa1NkIHS/uDH04ZP5napXMMWek9GVqv2EmXjXC E8hwFPZ+Es1YsrzlH4+Va0x60DoL8uUadLIn8QQDyB3juxHbItW56rt5e5EQYCOb N18kfURYLfBzwCcLvKYT4YCs+xt9C3T0QuVU+6HkMpFO5VgrQipxiJeBcJasAve4 h7PYWp+NTt6bI10RftBLQtm5fncWnlp5Hj5xsvbPAm88kzc61z0= =uw8G -----END PGP SIGNATURE----- --GPJrCs/72TxItFYR--