From patchwork Mon Jan 7 07:31:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Schulze X-Patchwork-Id: 10750065 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 6C43391E for ; Mon, 7 Jan 2019 07:32:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 57A7128736 for ; Mon, 7 Jan 2019 07:32:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C04A28796; Mon, 7 Jan 2019 07:32:21 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB72F28736 for ; Mon, 7 Jan 2019 07:32:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726568AbfAGHcT (ORCPT ); Mon, 7 Jan 2019 02:32:19 -0500 Received: from mout01.posteo.de ([185.67.36.65]:57392 "EHLO mout01.posteo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725550AbfAGHcS (ORCPT ); Mon, 7 Jan 2019 02:32:18 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 4ED72160060 for ; Mon, 7 Jan 2019 08:32:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1546846336; bh=MJcsuiwjKKqMTkcEInxfoLh0qKgDYIU2EcxwEMBOseA=; h=From:To:Cc:Subject:Date:From; b=b2sRvgoPCVHepwN3f9/StRapT7Na0YKPSH3kNiZgiFT5Zx302fYyT1b7AAbRHSMVD qHQg6cQwO0kz7PlT0sMjvtuOixdPKgbzVjl7q54Jm1J6SY+nTJs74bm+GtoZnIAK/k deNNHszy4D00gESgLu8jbaePTLMhZPG/UZnLHmm/5SE4P+WLjQOAOhAVjn9NcwwH+r aF3RFrIhjDLCUcR5B6nyes7NiWsOUvER/ePXs2Ag2c516HO2Zg4whLuTXGSAY1Xn05 tnSPkNerkOrCgr2pS1I8uCb4sOoDp6uSa0Ekx4Pf4hpaXVPB5R8os2h9SHPhDgx/JZ 4VvvMAUKyNKvw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 43Y6Xv2FdLz6tm9; Mon, 7 Jan 2019 08:32:15 +0100 (CET) From: Max Schulze To: johan@kernel.org, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Max Schulze Subject: [PATCH] USB: serial: simple: add Motorola Tetra driver for TPG2200 Date: Mon, 7 Jan 2019 08:31:49 +0100 Message-Id: <20190107073149.8214-1-max.schulze@posteo.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add new Motorola Tetra (simple) driver for Motorola Solutions TETRA PEI device T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 4 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=0cad ProdID=9016 Rev=24.16 S: Manufacturer=Motorola Solutions, Inc. S: Product=TETRA PEI interface C: #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=usb_serial_simple I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=usb_serial_simple Signed-off-by: Max Schulze Tested-by: Max Schulze --- drivers/usb/serial/usb-serial-simple.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/serial/usb-serial-simple.c b/drivers/usb/serial/usb-serial-simple.c index 4d0273508043..edbbb13d6de6 100644 --- a/drivers/usb/serial/usb-serial-simple.c +++ b/drivers/usb/serial/usb-serial-simple.c @@ -85,7 +85,8 @@ DEVICE(moto_modem, MOTO_IDS); /* Motorola Tetra driver */ #define MOTOROLA_TETRA_IDS() \ { USB_DEVICE(0x0cad, 0x9011) }, /* Motorola Solutions TETRA PEI */ \ - { USB_DEVICE(0x0cad, 0x9012) } /* MTP6550 */ + { USB_DEVICE(0x0cad, 0x9012) }, /* MTP6550 */ \ + { USB_DEVICE(0x0cad, 0x9016) } /* TPG2200 */ DEVICE(motorola_tetra, MOTOROLA_TETRA_IDS); /* Novatel Wireless GPS driver */