Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp2749833rwb; Mon, 5 Sep 2022 00:19:11 -0700 (PDT) X-Google-Smtp-Source: AA6agR7sHod+LBcJy5AQT3Tczi1v4Ab4Yc+eduEFoPdcHQcW/w+wowSnmCmZmlTQbmla/7GfpErm X-Received: by 2002:a63:e352:0:b0:42b:dc03:cc38 with SMTP id o18-20020a63e352000000b0042bdc03cc38mr32199919pgj.545.1662362351328; Mon, 05 Sep 2022 00:19:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662362351; cv=none; d=google.com; s=arc-20160816; b=Xl3Ig42ZjlyEMFOWyEnrEzrlx1SDFxme7C8/pn2AAkx28YO9QthJq7/3alOnPKdq/e FCX/H74G4f7JLXUnbAgXI5zFkLN+1P/vVp4qGIpOGXtQ36E8Kno33VxMnvzZI9phiYeR woZqM/aYfjIy4NGeoFh4RKVd1ajlYdRPzVdh17XxZIzx0Pv4J5AvMTJuY1c9Tzd0m50w Cdkkg5X4NYWVCsxsdvp2N5J9w2TbiRhED8VT6dnzHcgB86F6OzL40g4L9HSsRYeD0fd+ fuXQfvIVW8paDhbH5pfbRKTJRYuYzryA9tDuJsb9ypVp6/I6nqIrvgnWq/t2EoGfKmOS YrzA== 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:message-id:in-reply-to:date:references:organization :subject:cc:to:from:dkim-signature; bh=B8ds51VEQCz5E7/NG7drgSbJ23MaxqKfWsx4DbN9JtM=; b=otIOtwYbpiOsQiN0Ggfxl6Y1U7v0UfoQIrWTQ+MvKk3vdVp0LjHlGNz1tMhzUJRB74 s/Q/Hs3hf3ivRFJZr3h3nwb2F0dF/ENSJcn26+KqMBJwS/6N/qrkVkMN1RomMvbUJ8fB 7DtchsavyWaYevvXUgl/3ohH9FmaoMlswaiT9+rRiNxK1zKvWSV8KHY6A/3dXjWA3K/d dyqpFV+pgoWUlpRCPfYyftFKTPKP1dWVT4IGdGukhQPcVuArv+Z5tfoMk7UsFsdqGJ4u BEfnFp7DGokgu6E/EUi9FAF/lx1l9dt7yFcsR2i264JZANd1hqD/vZlfVgwWihOeJmT6 eLJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mork.no header.s=b header.b=hnJa60Pt; 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=mork.no Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c20-20020a056a000ad400b00537e88da121si10553700pfl.35.2022.09.05.00.19.00; Mon, 05 Sep 2022 00:19:11 -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=@mork.no header.s=b header.b=hnJa60Pt; 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=mork.no Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236800AbiIEG4C (ORCPT + 99 others); Mon, 5 Sep 2022 02:56:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236769AbiIEGza (ORCPT ); Mon, 5 Sep 2022 02:55:30 -0400 Received: from louie.mork.no (louie.mork.no [IPv6:2001:41c8:51:8a:feff:ff:fe00:e5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 465861D0C5; Sun, 4 Sep 2022 23:55:20 -0700 (PDT) Received: from canardo.dyn.mork.no ([IPv6:2a01:799:c9e:d400:0:0:0:1]) (authenticated bits=0) by louie.mork.no (8.15.2/8.15.2) with ESMTPSA id 2856t5FO876715 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK); Mon, 5 Sep 2022 07:55:07 +0100 Received: from miraculix.mork.no ([IPv6:2a01:799:961:910a:a293:6d6e:8bbf:c204]) (authenticated bits=0) by canardo.dyn.mork.no (8.15.2/8.15.2) with ESMTPSA id 2856t0fO1042270 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK); Mon, 5 Sep 2022 08:55:00 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mork.no; s=b; t=1662360900; bh=B8ds51VEQCz5E7/NG7drgSbJ23MaxqKfWsx4DbN9JtM=; h=From:To:Cc:Subject:References:Date:Message-ID:From; b=hnJa60PtRVy0j9Y7+kZGgs3afvqGApgD0Ic6z4z9qfFCszjcvjCcwnMkX1F/yFJFe pFYcp9P7a/9mQcOq0xMFQHQVgxitiISdCy+ccAcEvjkkFBwzL1s9uOcWS+CrhYV/o4 LjvAhj4hJRruFTsSX0UfzhgxT4C4PWyHPtfeQSsQ= Received: (nullmailer pid 176082 invoked by uid 1000); Mon, 05 Sep 2022 06:54:45 -0000 From: =?utf-8?Q?Bj=C3=B8rn_Mork?= To: "jerry.meng" Cc: davem@davemloft.net, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH] net: usb: qmi_wwan: add Quectel RM520N Organization: m References: Date: Mon, 05 Sep 2022 08:54:45 +0200 In-Reply-To: (jerry meng's message of "Mon, 5 Sep 2022 09:24:52 +0800") Message-ID: <874jxmfgzu.fsf@miraculix.mork.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: clamav-milter 0.103.6 at canardo X-Virus-Status: Clean X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_NONE, 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 "jerry.meng" writes: > add support for Quectel RM520N which is based on Qualcomm SDX62 chip. > > 0x0801: DIAG + NMEA + AT + MODEM + RMNET > > T: Bus=3D03 Lev=3D01 Prnt=3D01 Port=3D01 Cnt=3D02 Dev#=3D 10 Spd=3D480 = MxCh=3D 0 > D: Ver=3D 2.10 Cls=3D00(>ifc ) Sub=3D00 Prot=3D00 MxPS=3D64 #Cfgs=3D 1 > P: Vendor=3D2c7c ProdID=3D0801 Rev=3D 5.04 > S: Manufacturer=3DQuectel > S: Product=3DRM520N-GL > S: SerialNumber=3D384af524 > C:* #Ifs=3D 5 Cfg#=3D 1 Atr=3Da0 MxPwr=3D500mA > I:* If#=3D 0 Alt=3D 0 #EPs=3D 2 Cls=3Dff(vend.) Sub=3Dff Prot=3D30 Driver= =3Doption > E: Ad=3D01(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms > E: Ad=3D81(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms > I:* If#=3D 1 Alt=3D 0 #EPs=3D 3 Cls=3Dff(vend.) Sub=3D00 Prot=3D40 Driver= =3Doption > E: Ad=3D83(I) Atr=3D03(Int.) MxPS=3D 10 Ivl=3D32ms > E: Ad=3D82(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms > E: Ad=3D02(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms > I:* If#=3D 2 Alt=3D 0 #EPs=3D 3 Cls=3Dff(vend.) Sub=3D00 Prot=3D00 Driver= =3Doption > E: Ad=3D85(I) Atr=3D03(Int.) MxPS=3D 10 Ivl=3D32ms > E: Ad=3D84(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms > E: Ad=3D03(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms > I:* If#=3D 3 Alt=3D 0 #EPs=3D 3 Cls=3Dff(vend.) Sub=3D00 Prot=3D00 Driver= =3Doption > E: Ad=3D87(I) Atr=3D03(Int.) MxPS=3D 10 Ivl=3D32ms > E: Ad=3D86(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms > E: Ad=3D04(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms > I:* If#=3D 4 Alt=3D 0 #EPs=3D 3 Cls=3Dff(vend.) Sub=3Dff Prot=3Dff Driver= =3Dqmi_wwan > E: Ad=3D88(I) Atr=3D03(Int.) MxPS=3D 8 Ivl=3D32ms > E: Ad=3D8e(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms > E: Ad=3D0f(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms > > Signed-off-by: jerry.meng > --- > drivers/net/usb/qmi_wwan.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c > index 709e3c59e340..0cb187def5bc 100644 > --- a/drivers/net/usb/qmi_wwan.c > +++ b/drivers/net/usb/qmi_wwan.c > @@ -1087,6 +1087,7 @@ static const struct usb_device_id products[] =3D { > {QMI_MATCH_FF_FF_FF(0x2c7c, 0x0512)}, /* Quectel EG12/EM12 */ > {QMI_MATCH_FF_FF_FF(0x2c7c, 0x0620)}, /* Quectel EM160R-GL */ > {QMI_MATCH_FF_FF_FF(0x2c7c, 0x0800)}, /* Quectel RM500Q-GL */ > + {QMI_MATCH_FF_FF_FF(0x2c7c, 0x0801)}, /* Quectel RM520N */ >=20=20 > /* 3. Combined interface devices matching on interface number */ > {QMI_FIXED_INTF(0x0408, 0xea42, 4)}, /* Yota / Megafon M100-1 */ Looks good! Acked-by: Bj=C3=B8rn Mork