Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp16681pxh; Thu, 7 Apr 2022 12:34:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9qwrDKxhADDF5n9cwshiZ6jKl2u2z2R4Gv5L28zPz7QBHpBQBvQVZcDFku5QG+5zFYEs1 X-Received: by 2002:a17:90b:4c8f:b0:1c7:7bc0:954a with SMTP id my15-20020a17090b4c8f00b001c77bc0954amr17649142pjb.214.1649360067742; Thu, 07 Apr 2022 12:34:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649360067; cv=none; d=google.com; s=arc-20160816; b=PE9pPJ87Oo9AlRDoR+Kn4uSupYu0VhWDulkxNnkyfu3SLgvRM9K7zjKQxBRgVh74th iE5CB+TQ92Kymhz52Fn3uR+hjsVvwqprpprh5J+wIOuqiCEKxtn2WM9wwubFmBnsZYJm y+DhKhprXxTkNIe5p1snY2CaxQ9mivoq3TW+uzGfEaZV7sZzHmvZ2cQzDg/a1dLNEQDK leLnmuCtn1zA9z1hIpRD33qYG9XJaONHhxxgRZZfcJxNcKdRZuvgGJbr7SFbau4HoYdy uSoYiItUvo8uOAsxelVqbpjSODvvSzB12ACdlYGTb86NcRQrfFF/4scIyQ4i4ZmdoCkv vFxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:dkim-signature :from; bh=ZDpdsE2TSgvoCSKTAZbav3KSfWkm8ux+qvxh+Rqc11c=; b=uwq9H3fyUzagUIHJQPy+32xOUuipXyDS6TL1RTM/q8yJX3sFXQPACaqp1Qt6rQZKsx GNXJXfiXy/fR4caZ64mDJUuw6wHEXcNUrs+d4R21XPlnJKDkn5jbvttu7FnSJmb5ZYsv vOTto1ZoGY28g31IgPTZdDah+yJKlAe0Am5tDWf49NazYt8oKaBh3OIWQOqF0K+a+Li0 KQkJV40VEr8OyyQ2h/Jp5PLYF2r8ZH36kWFsGYDg3YhW9+EuW00ax/lrU/LYRvONrK4l zlFqmWB4blOdTsU2+miaI3H1S3kMoBTa+aY0SEot1gBb7Xv2F+YikfXMcOOuWTjNodPh lT8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@svenschwermer.de header.s=mail header.b=eRg7IXkg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=svenschwermer.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id bf26-20020a656d1a000000b003816043ef73si21538187pgb.360.2022.04.07.12.34.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 12:34:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@svenschwermer.de header.s=mail header.b=eRg7IXkg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=svenschwermer.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 547BD1EE9F1; Thu, 7 Apr 2022 12:11:07 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242217AbiDGHwk (ORCPT + 99 others); Thu, 7 Apr 2022 03:52:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242212AbiDGHwO (ORCPT ); Thu, 7 Apr 2022 03:52:14 -0400 Received: from mail.schwermer.no (mail.schwermer.no [49.12.228.226]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CFC4EB088; Thu, 7 Apr 2022 00:50:13 -0700 (PDT) From: sven@svenschwermer.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=svenschwermer.de; s=mail; t=1649317811; bh=3vnYXunnwsjra87JGFly/T5vCA+N+UHqOcvOR5YBwro=; h=From:To:Cc:Subject:In-Reply-To:References; b=eRg7IXkgkeAQgF5Lu/7wwJxX6tckFcNhjQJK4WGOXL/Sf/F14NODKfDfwpSqhE4HI cLr9JbsZ3wcPIM+jchPKMUbkOmZzFC911uiRKXi/Dl3OfIBWTj2iUleG8fOU5fXtHz q4IjluasifG1HSreIGM4mkP5qq396M8dxe30o3z4Sf4iwU2AYV6IWks8n4xuEwJOag lfy10GnCGzN4Xhuis6KzNn0rave1bJ2LDfudhh/ovcLZNEzOaaOp/Y6WKiq7KjFKXY rF9seiwiCm26YIbE9voXG6WATdmTIVjiqwtJdMIBbDybbgCXlso1DBVcv7R29oSDsc i0RPCGZ1/Dzgw== To: linux-usb@vger.kernel.org Cc: Sven Schwermer , linux-kernel@vger.kernel.org, johan@kernel.org Subject: [PATCH v1 2/2] usb: serial: option: Add Fibocom MA510 modem Date: Thu, 7 Apr 2022 09:49:45 +0200 Message-Id: <20220407074945.74449-2-sven@svenschwermer.de> In-Reply-To: <20220407074945.74449-1-sven@svenschwermer.de> References: <20220407074945.74449-1-sven@svenschwermer.de> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sven Schwermer +GTUSBMODE: 31 -------------- T: Bus=03 Lev=01 Prnt=01 Port=06 Cnt=04 Dev#= 99 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=2cb7 ProdID=0106 Rev= 0.00 S: Manufacturer=Fibocom MA510 Modem S: Product=Fibocom MA510 Modem S: SerialNumber=55e2695b C:* #Ifs= 5 Cfg#= 1 Atr=e0 MxPwr=500mA A: FirstIf#= 3 IfCount= 2 Cls=02(comm.) Sub=00 Prot=00 I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=82(I) Atr=03(Int.) MxPS= 64 Ivl=2ms E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=fe Prot=ff Driver=option E: Ad=84(I) Atr=03(Int.) MxPS= 64 Ivl=2ms E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 3 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether E: Ad=86(I) Atr=03(Int.) MxPS= 64 Ivl=2ms I: If#= 4 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether I:* If#= 4 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether E: Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms +GTUSBMODE: 32 -------------- T: Bus=03 Lev=01 Prnt=01 Port=06 Cnt=04 Dev#=100 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=2cb7 ProdID=010a Rev= 0.00 S: Manufacturer=Fibocom MA510 Modem S: Product=Fibocom MA510 Modem S: SerialNumber=55e2695b C:* #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=500mA A: FirstIf#= 2 IfCount= 2 Cls=02(comm.) Sub=00 Prot=00 I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=2ms E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=fe Prot=ff Driver=option E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=2ms E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 2 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether E: Ad=85(I) Atr=03(Int.) MxPS= 64 Ivl=2ms I: If#= 3 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether I:* If#= 3 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms Signed-off-by: Sven Schwermer --- drivers/usb/serial/option.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 75b62e08b82f..01a12c5d469f 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -2118,6 +2118,10 @@ static const struct usb_device_id option_ids[] = { .driver_info = RSVD(4) | RSVD(5) }, { USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x0105, 0xff), /* Fibocom NL678 series */ .driver_info = RSVD(6) }, + { USB_DEVICE(0x2cb7, 0x0106), /* Fibocom MA510 (+GTUSBMODE=31) */ + .driver_info = RSVD(3) | RSVD(4) }, + { USB_DEVICE(0x2cb7, 0x010a), /* Fibocom MA510 (+GTUSBMODE=32) */ + .driver_info = RSVD(2) | RSVD(3) }, { USB_DEVICE_AND_INTERFACE_INFO(0x2cb7, 0x010b, 0xff, 0xff, 0x30) }, /* Fibocom FG150 Diag */ { USB_DEVICE_AND_INTERFACE_INFO(0x2cb7, 0x010b, 0xff, 0, 0) }, /* Fibocom FG150 AT */ { USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x01a0, 0xff) }, /* Fibocom NL668-AM/NL652-EU (laptop MBIM) */ -- 2.35.1