Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1355043pxv; Fri, 2 Jul 2021 01:30:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvPCNM/tJmla9TR1UpzNvX4yxtr9K1rbi/fplv6jYClsUovzvkmWBfh1GeVsX6BIiI6TKL X-Received: by 2002:a17:906:9148:: with SMTP id y8mr4212977ejw.57.1625214620523; Fri, 02 Jul 2021 01:30:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625214620; cv=none; d=google.com; s=arc-20160816; b=g1Rgu4F/YjYgbRgqs9OZXOtdZ4V26Wz+RvX9f6ifdjR1TlBjDJ1wp/3hfYgpnvi87m mg9A3H6rAKuwWUGneVT5O2E8Z0KD9aQmHEK5u7Xn0uAws0usQ869c2qxZeYBcddO9wcJ Yls8O6xieQtG1/TrCfkqwdIkO57OmhEnswpjVCgfvjGCmbm6VuU69eZShggN8B7YBzHl 3idNmpskjESAlGJNZbbhdYJKOY7E4ZLKBhm85SLUjll4LgkixOdDSkxEyZy1tPVjzW9c OC8ggFj3f2h9dgDdnmJeTEri0etN388P5ixad+1GVR1GenMk9476az8CURtThKSfxnkr 6pJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=aXPyxGZlTIBZvE1WJ/B5WJEX0VZKFvbH4NwBdjJckck=; b=017bXjRuaWUoBsohy9HiCj+GcuGqzR5L7twuBgJms5rzun+9SobOXFXp/xyvLGtSTC izKm+v4sFTJ1TwVFnUWGc8WonW9I5M5xw9QV1UpJJPCgZaiDOq8iR5e/uucQtHysTkbG Lm5lsSxk77C9y3JqEUyYqgV+JTC45fCGOWmV9s500YAQ5qBNJxeQUWBhuHZo6lnhzwcO tl66xVTGaUDPhuP/vu5qR7j2VNlLqm+SlQwrtIPQ64dDOjPS49WRl481AIcA4i6W7/MY Odzsb5TpxlrDcIgIBh2CsjCtyFTBnh5lnZSb7oqFz6vehJ7lCve8qXrXMdcFHgRtUCXk +wAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ASz/KTzQ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v10si2375284edx.476.2021.07.02.01.29.55; Fri, 02 Jul 2021 01:30:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ASz/KTzQ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230299AbhGBIa2 (ORCPT + 99 others); Fri, 2 Jul 2021 04:30:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:52520 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230174AbhGBIa2 (ORCPT ); Fri, 2 Jul 2021 04:30:28 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 845D3613F1; Fri, 2 Jul 2021 08:27:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625214474; bh=aXPyxGZlTIBZvE1WJ/B5WJEX0VZKFvbH4NwBdjJckck=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ASz/KTzQqGgZc1bdKnhYJVXO8ahlTpVBeS6GikRtBJCkMwbuxBJnJE3hIHUwTB+GU MmzCm8UhJ3ZmnIMV0rkKLsLlUZbN0UC6A2Lz9XQrLwuUcy2HVvusFgjQfJ4oZFZad1 HAhDJNP62mvdcgsl+1ub7yGApCj/fK/0OZwKlXAg9kDHG532ch7jNGrZ5yUGlWno7o R9hBWVG3LgGfiM7HX0ge1rhwZSyL9+nH1Keup9I+/Hjz+ApJrWeOdC4Q+oWYPt0owx sabICxkAfMfMVgprWZolcsoUpCsqgxPi3yNS2jMAceXeiKtbyPQO27gANerCEKIl8B gp0aEfXzhzu3A== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1lzEWd-0002Vm-Ni; Fri, 02 Jul 2021 10:27:51 +0200 Date: Fri, 2 Jul 2021 10:27:51 +0200 From: Johan Hovold To: Stefan =?utf-8?B?QnLDvG5z?= Cc: Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Daniele Palmas , =?utf-8?B?QmrDuHJu?= Mork Subject: Re: [PATCH v2] USB: serial: qcserial: Support for SDX55 based Sierra Wireless 5G modules Message-ID: References: <20210611134507.8780-1-stefan.bruens@rwth-aachen.de> <20210611135842.14415-1-stefan.bruens@rwth-aachen.de> <3614092.7mX7SIBJgt@pebbles> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+fSrOke19xwIognt" Content-Disposition: inline In-Reply-To: <3614092.7mX7SIBJgt@pebbles> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --+fSrOke19xwIognt Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 01, 2021 at 06:41:26PM +0200, Stefan Br=C3=BCns wrote: > On Donnerstag, 24. Juni 2021 09:28:59 CEST Johan Hovold wrote: > > [ +CC: Daniele and Bj=C3=B8rn ] > >=20 > > On Fri, Jun 11, 2021 at 03:58:41PM +0200, Stefan Br=C3=BCns wrote: > > > The devices exposes two different interface compositions: > > > - QDL mode, single interface > > > - MBIM mode, MBIM class compliant plus AT/DM(/ADB) > > >=20 > > > Current firmware versions (up to 01.07.19) do not expose an NMEA port. > >=20 > > We already have at least one SDX55 based modem (FN980) supported by the > > option driver. Any particular reason why you chose to add it to qcserial > > instead of option? > >=20 > Support for qualcomm based modems are spread over option and qcserial. Al= l=20 > other Sierra devices are supported by qcserial. Ok, but we may still end up adding this one to option if matching on the interface protocol works. > > Note that the FN980 also needs the ZLP flag set in QDL (flashing) mode, > > I'd assume this one needs it too. >=20 > It depends if you implement the Firehose protocol in accordance to the=20 > specification or not. 80-NG319-1 (Firehose specification) explicitly stat= es to=20 > pad any XML command packet which is an exact multiple of 512 bytes with a= n=20 > extra newline or other whitespace character. Thanks for the details. If you're referring to the device-side implementation it seems a bit fragile to not just set the ZLP flag since apparently there are some non-standard implementations out there. But sure, we can do that later if needed. Johan --+fSrOke19xwIognt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQHbPq+cpGvN/peuzMLxc3C7H1lCAUCYN7OAwAKCRALxc3C7H1l CPH7AP949REvyDQL0GzQ/Iu/PBYxRIjegY+tX1YWWlsgut4yOgD9FJiHMoJ6P+lm l1CqjIUHAzuTd3+YHA7gtM+Mbiog2Ak= =6cXq -----END PGP SIGNATURE----- --+fSrOke19xwIognt--