From patchwork Thu Jul 18 20:17:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Machek X-Patchwork-Id: 11049547 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3FC3C17E0 for ; Thu, 18 Jul 2019 20:17:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B8A128884 for ; Thu, 18 Jul 2019 20:17:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1EE152888A; Thu, 18 Jul 2019 20:17:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C55AC28884 for ; Thu, 18 Jul 2019 20:17:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: MIME-Version:Message-ID:Subject:To:From:Date:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=aylnt2vK71D3TyROQ/MYOGqplpPGpraKAQETR+L8HH4=; b=RKt H6y1ryGBszNrPiCSSWCRWiwv/Wrtf6PkM1t5WtI+uZNx3b623reMIaa8eQrhqGKZ4ogYtz+DEBGKI py8xn32HmgmlN8bjCDmpP0AXBCFBectX1O8eJDi1bEI3DdMIQUCSFrQwUT05t4crNDGRqTridwOPS G6HJGNQ+MhFqYgtSwOidYKczbjkK1i8r2nYJZ+JnB+Gc/OLDLcS3UmYZOjbTW3gE2CGR+z/w0T1uP C13aEP/e1Pa6AQAAk+U4H8vMJLcx6fEEpe3k3gCU6WeLrzaZig2vNOKZWishG+5AZ7tS0sInnXbeK QZ54yomDBq9CH2FmsZ2NlxVt+AqjINQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hoCqB-0006KR-Df; Thu, 18 Jul 2019 20:17:23 +0000 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hoCq6-0006JZ-Gi for linux-arm-kernel@lists.infradead.org; Thu, 18 Jul 2019 20:17:21 +0000 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 2B2CC802B6; Thu, 18 Jul 2019 22:17:03 +0200 (CEST) Date: Thu, 18 Jul 2019 22:17:13 +0200 From: Pavel Machek To: kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, tony@atomide.com, sre@kernel.org, nekit1000@gmail.com, mpartap@gmx.net, merlijn@wizzup.org, johan@kernel.org, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org Subject: USB Modem support for Droid 4 Message-ID: <20190718201713.GA25103@amd> MIME-Version: 1.0 User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190718_131718_842263_AFB73567 X-CRM114-Status: GOOD ( 10.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Tony Lindgren Droid starts to have useful support in linux-next. Modem is tricky to play with, but this is enough to get basic support. Signed-off-by: Pavel Machek Tested-by: Pavel Machek diff --git a/drivers/usb/serial/qcserial.c b/drivers/usb/serial/qcserial.c index 613f91a..3ca9439 100644 --- a/drivers/usb/serial/qcserial.c +++ b/drivers/usb/serial/qcserial.c @@ -181,6 +181,9 @@ static const struct usb_device_id id_table[] = { /* Huawei devices */ {DEVICE_HWI(0x03f0, 0x581d)}, /* HP lt4112 LTE/HSPA+ Gobi 4G Modem (Huawei me906e) */ + /* Motorola devices */ + {DEVICE_HWI(0x22b8, 0x2a70)}, /* Droid 4 mdm6600 */ + { } /* Terminating entry */ }; MODULE_DEVICE_TABLE(usb, id_table);