From patchwork Sun Dec 9 20:41:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rgen_Storvist?= X-Patchwork-Id: 10720367 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 BB0A313BF for ; Sun, 9 Dec 2018 20:41:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE5342A108 for ; Sun, 9 Dec 2018 20:41:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A262F2A10A; Sun, 9 Dec 2018 20:41:40 +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,FREEMAIL_FROM,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 54AB32A108 for ; Sun, 9 Dec 2018 20:41:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726236AbeLIUlj (ORCPT ); Sun, 9 Dec 2018 15:41:39 -0500 Received: from mail-vk1-f194.google.com ([209.85.221.194]:43234 "EHLO mail-vk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726219AbeLIUlj (ORCPT ); Sun, 9 Dec 2018 15:41:39 -0500 Received: by mail-vk1-f194.google.com with SMTP id o130so2065500vke.10 for ; Sun, 09 Dec 2018 12:41:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=QId/K/VR4EXVD6bCoLYgsh3VsK8TpFv5ZtTQWQv6CVs=; b=ipCavH6GpubaL4s33Ovd2z7swBlxQdQsR3pBRGwfepz6Js6lC9xo8TMqCAhM38UBFO imOG4WsJN8aC93734EDObl+Ch6FGzVARvgtlM15nLxBW3SOxFAM7w4mcbfb8xaaJzGlF dJ5Rxskh0P93/ELz0TPRMMNHnii8TRHmnwPuid8/G7Dfy3FE5sqVXrNEQHkv8uD+/1MD 1dZz8s+wZZ5VdwM+Lr7o01F5rJKRImx7dYG2EUKnvrau3R9AC76hhVqUByKnbHz29t7R dKIaZr/myuy9V5CWwA90hTOYVa222oOuqpOOk//+NqPB1LFORP2B/OrxYv51TZHwSDtv VSZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=QId/K/VR4EXVD6bCoLYgsh3VsK8TpFv5ZtTQWQv6CVs=; b=hkgbNUHR+RZPp6+soJAMCG/sHmCXFCAXkQyehKHWNn6RooI7crHJ4L9W+0ahp3eM8M n2HPTjJ5CM4gtcVPI/+Y90/DuDhuZ7iw76tiZ+9fr/ga9KrjoPQBkBsFGoX+BNajEV34 T1IedO1UEtQVbRxA6JQBxY3ylRm9AxfMvlnHSfzu7/9J8258jqlW8IQgQKjfLekFksA3 fJow1kNurvbhJ9E6dyIbmvWP8D0Eo297489pAdxxsz4ZoPgi6AnF358lfqP7fV78XHW8 u/K9dZkXwGTeMPARdyDcfPIowqhQj229DNe1LvQa0BB/4JcNoovb8pgPlaFQ3rn5INBX 6YEg== X-Gm-Message-State: AA+aEWa61P4WvI+3tnWdB6ewKGbYKjx91fxaBBFCpNM0mC83+mYXVfYl 97uOd0Me97uJiFh2LQj9ylGCxkOOGbHdH8MaYawopN63yt+j4Q== X-Google-Smtp-Source: AFSGD/UVMKbzYsyFtq0c01hRWFqEQ3LIpno2t6GqSD1d6Kf9ILDco48kxFw3/Pv/zb664FgD4F612HpqkPeYi+zRU4k= X-Received: by 2002:a1f:4886:: with SMTP id v128mr4180328vka.8.1544388098366; Sun, 09 Dec 2018 12:41:38 -0800 (PST) MIME-Version: 1.0 From: =?utf-8?q?J=C3=B6rgen_Storvist?= Date: Sun, 9 Dec 2018 21:41:13 +0100 Message-ID: Subject: [PATCH] USB: serial: option: add Fibocom NL668 series To: johan@kernel.org, linux-usb@vger.kernel.org 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 Added USB serial option driver support for Fibocom NL668 series cellular module. Reserved USB endpoints 4 and 5 for network interfaces. Signed-off-by: Jörgen Storvist drivers/usb/serial/option.c | 5 +++++ 1 file changed, 5 insertions(+) + .driver_info = RSVD(4) | RSVD(5) }, { } /* Terminating entry */ }; MODULE_DEVICE_TABLE(usb, option_ids); diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index e24ff16..f2cc85c 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -552,6 +552,9 @@ static void option_instat_callback(struct urb *urb); #define WETELECOM_PRODUCT_6802 0x6802 #define WETELECOM_PRODUCT_WMD300 0x6803 +/* Fibocom products */ +#define FIBOCOM_VENDOR_ID 0x1508 +#define FIBOCOM_PRODUCT_NL668 0x1001 /* Device flags */ @@ -1941,6 +1944,8 @@ static const struct usb_device_id option_ids[] = { { USB_DEVICE_AND_INTERFACE_INFO(WETELECOM_VENDOR_ID, WETELECOM_PRODUCT_6802, 0xff, 0xff, 0xff) }, { USB_DEVICE_AND_INTERFACE_INFO(WETELECOM_VENDOR_ID, WETELECOM_PRODUCT_WMD300, 0xff, 0xff, 0xff) }, { USB_DEVICE_AND_INTERFACE_INFO(0x03f0, 0x421d, 0xff, 0xff, 0xff) }, /* HP lt2523 (Novatel E371) */ + { USB_DEVICE(FIBOCOM_VENDOR_ID, FIBOCOM_PRODUCT_NL668), /* Fibocom NL668 series */