Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1098837iob; Wed, 4 May 2022 14:41:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvfKV1S0wnHEaefJgH0PWn4rfx51v9gK0g1kMAiiI3glSH2IiHiPYDrg5eZNzYfflhTyhg X-Received: by 2002:a05:6402:43c4:b0:41d:9403:8dca with SMTP id p4-20020a05640243c400b0041d94038dcamr25160522edc.184.1651700503749; Wed, 04 May 2022 14:41:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651700503; cv=none; d=google.com; s=arc-20160816; b=irkKwUGiyDavT4Hi7KR6ld4QzuJBDuxGQfCv4NkZe4nr/9rWSnLifbVZo79UUKK427 SUsieb8+ITRwSvJqNzxW3akIWoua+5Jk57RhxLjyt/20r/FwN3+JCG+K4rgZhkl8gsoD L86N9HWYGHTd3u9B32f2ga91/hqFdQ/EnN6sim6D6c/U8A+CbMLeaA85q5ZN7fRAhyB7 nfIpRqvKBwC1SaHEni/Jo/D+b8gcXitckIh0Zl6+Dr/NaEjDPCQ3l3X6WNPLgMjjWcX9 4PejO+BGlCEg3pl8AzlLpVakhI8QDFVU9ftpv7asIpvFAheyPmxGnikfJH5RXpxxHsEo AF4A== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=514tQkxzfGQCPR1mcDDLVn8JVxNrIHv84VNECz1V6Uo=; b=d0WIv1eD3HQ3tIC2oeuk/vEv60ATlktJyFR07AnzeOPFbcvpT04JNcqbG23dGiq5aL CQ6TfeXddwANFsCYIGzDZh+TGB2f43Lt97r/i8pzNklzy5D4m0JnO3kP5Po55cwbxuIB +LGQ9ErH8w9LxNdq8dpXeqr73clsErTT+xjOvOPjSZYK3m/PJ2kxZvIdGGYOUhqdAzHR lTfi5KfXFrJN4kj6T+m5oHvKi79yxtAvgBkl6umFnIxmHlX5iGCZRLT6+7qGvlJFIOX1 QPYtVYsHbICIc/UQta3MRwauTC+W2wzfCLVgyXW0gpukJnYMdbHwwOeoDt6Y502+nVxI h1Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YNQc6UfY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o9-20020a056402438900b00427b30e8678si11611869edc.620.2022.05.04.14.41.20; Wed, 04 May 2022 14:41:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YNQc6UfY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356826AbiEDROU (ORCPT + 99 others); Wed, 4 May 2022 13:14:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355068AbiEDREF (ORCPT ); Wed, 4 May 2022 13:04:05 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E22A24DF53; Wed, 4 May 2022 09:52:41 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 6368AB827A3; Wed, 4 May 2022 16:52:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E324FC385A5; Wed, 4 May 2022 16:52:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1651683150; bh=8lm3thwt99G1i9oKsvxb5K2n7Qp9sOJOBnjoL2NNz4E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YNQc6UfY0Uev01cw0L6Vxc0Fla3pKQGwe9iUaCBcB/B/6ceD9Kof5PoYtWjmIGZJF ocpNYn9OC+Z82M8LdJdyfBd9p6p0MNnMkhBMyxFUcxo+2RfPDOwZX+r1XRLfL/wE0G RNgM71T2h5NJ4QA7GIb21IEPxrb6WsuvvxTLrpZM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Daniele Palmas , Johan Hovold Subject: [PATCH 5.15 007/177] USB: serial: option: add Telit 0x1057, 0x1058, 0x1075 compositions Date: Wed, 4 May 2022 18:43:20 +0200 Message-Id: <20220504153054.312516691@linuxfoundation.org> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220504153053.873100034@linuxfoundation.org> References: <20220504153053.873100034@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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: Daniele Palmas commit f32c5a0423400e01f4d7c607949fa3a1f006e8fa upstream. Add support for the following Telit FN980 and FN990 compositions: 0x1057: tty, adb, rmnet, tty, tty, tty, tty, tty 0x1058: tty, adb, tty, tty, tty, tty, tty 0x1075: adb, tty Signed-off-by: Daniele Palmas Link: https://lore.kernel.org/r/20220406141408.580669-1-dnlplm@gmail.com Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/option.c | 6 ++++++ 1 file changed, 6 insertions(+) --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -1219,6 +1219,10 @@ static const struct usb_device_id option .driver_info = NCTRL(0) | RSVD(1) }, { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1056, 0xff), /* Telit FD980 */ .driver_info = NCTRL(2) | RSVD(3) }, + { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1057, 0xff), /* Telit FN980 */ + .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) }, + { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1058, 0xff), /* Telit FN980 (PCIe) */ + .driver_info = NCTRL(0) | RSVD(1) }, { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1060, 0xff), /* Telit LN920 (rmnet) */ .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) }, { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1061, 0xff), /* Telit LN920 (MBIM) */ @@ -1235,6 +1239,8 @@ static const struct usb_device_id option .driver_info = NCTRL(2) | RSVD(3) }, { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1073, 0xff), /* Telit FN990 (ECM) */ .driver_info = NCTRL(0) | RSVD(1) }, + { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1075, 0xff), /* Telit FN990 (PCIe) */ + .driver_info = RSVD(0) }, { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_ME910), .driver_info = NCTRL(0) | RSVD(1) | RSVD(3) }, { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_ME910_DUAL_MODEM),