From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0AEACC76188 for ; Fri, 19 Jul 2019 10:11:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DAD372084D for ; Fri, 19 Jul 2019 10:11:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727528AbfGSKLp (ORCPT ); Fri, 19 Jul 2019 06:11:45 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:32827 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725794AbfGSKLp (ORCPT ); Fri, 19 Jul 2019 06:11:45 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 0CA3780302; Fri, 19 Jul 2019 12:11:30 +0200 (CEST) Date: Fri, 19 Jul 2019 12:11:41 +0200 From: Pavel Machek To: Tony Lindgren Cc: Pavel Machek , kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, sre@kernel.org, nekit1000@gmail.com, mpartap@gmx.net, merlijn@wizzup.org, johan@kernel.org, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org Subject: Re: USB Modem support for Droid 4 Message-ID: <20190719101141.GA18760@amd> References: <20190718201713.GA25103@amd> <20190719052205.GK5447@atomide.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline In-Reply-To: <20190719052205.GK5447@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 --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > * Pavel Machek [190718 20:17]: > > From: Tony Lindgren > >=20 > > Droid starts to have useful support in linux-next. Modem is tricky to > > play with, but this is enough to get basic support. >=20 > Below is a better patch using option driver adding support for all > the ports. I'll send it out with a proper description after -rc1. Thanks! It works for me, too. Tested-by: Pavel Machek > @@ -83,6 +83,12 @@ static void option_instat_callback(struct urb *urb); > #define HUAWEI_PRODUCT_K4605 0x14C6 > #define HUAWEI_PRODUCT_E173S6 0x1C07 > =20 > +#define MOTOROLA_VENDOR_ID 0x22b8 > +#define MOTOROLA_PRODUCT_MDM6600 0x2a70 > +#define MOTOROLA_PRODUCT_MDM9600 0x2e0a > +#define MOTOROLA_PRODUCT_MDM_RAM_DL 0x4281 > +#define MOTOROLA_PRODUCT_MDM_QC_DL 0x900e > + > #define QUANTA_VENDOR_ID 0x0408 > #define QUANTA_PRODUCT_Q101 0xEA02 > #define QUANTA_PRODUCT_Q111 0xEA03 > @@ -968,6 +974,10 @@ static const struct usb_device_id option_ids[] =3D { > { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x7B) }, > { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x7C) }, > =20 > + { USB_DEVICE_AND_INTERFACE_INFO(MOTOROLA_VENDOR_ID, MOTOROLA_PRODUCT_MD= M6600, 0xff, 0xff, 0xff) }, > + { USB_DEVICE_AND_INTERFACE_INFO(MOTOROLA_VENDOR_ID, MOTOROLA_PRODUCT_MD= M9600, 0xff, 0xff, 0xff) }, > + { USB_DEVICE_AND_INTERFACE_INFO(MOTOROLA_VENDOR_ID, MOTOROLA_PRODUCT_MD= M_RAM_DL, 0x0a, 0x00, 0xfc) }, > + { USB_DEVICE_AND_INTERFACE_INFO(MOTOROLA_VENDOR_ID, MOTOROLA_PRODUCT_MD= M_QC_DL, 0xff, 0xff, 0xff) }, > =20 > { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V640) }, > { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V620) }, --=20 DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl0xl10ACgkQMOfwapXb+vLrVACfXkgc5UNVTqP4Cs6nTFriszl9 quwAmwWLaqYxjvrh50FxYi5/99eL4kxh =GSbE -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM--