From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7782FC433ED for ; Mon, 12 Apr 2021 09:58:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 41EFC611AD for ; Mon, 12 Apr 2021 09:58:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240579AbhDLJ6d (ORCPT ); Mon, 12 Apr 2021 05:58:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:38460 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244733AbhDLJ4g (ORCPT ); Mon, 12 Apr 2021 05:56:36 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7D4B561245; Mon, 12 Apr 2021 09:56:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1618221378; bh=cN/MJ8q29CZ/zLz2VNS+LKCD7Thzvdqcxh9F/Zf9a2w=; h=From:To:Cc:Subject:Date:From; b=NFoKBSTBKPAu4RkuyiUKAnAmS1L3RPlOmn8UnpNTrphdf0q97XwGwEJRqjCRfw5gZ Gcn02vKPYeLxnVDHqMXnvR1iPDQnx65ucgVxPyjbuyYzPNKQfC/lbyCnwsPTmgEfzF tvBtc6mTF+g1LxiC4pAzkhfK5GYqM6XsJrUBak9KrsFnV7de3knDvI4+YSojCTKpE/ 3INQHcPf/HQIJsZmf91iAdH6n2mYTwPOPfbK0hcezgHbtzMYuLQe0IvQWDVuln5I1w 5mwlI3y21OOQ++Gno7Fmjhgei+0UTrfkGK8s1z29rSdgC/CPgxra+3UfeoY4xu0bv+ 8q62roxPmUUkg== Received: from johan by xi with local (Exim 4.93.0.4) (envelope-from ) id 1lVtIi-0000KW-Dp; Mon, 12 Apr 2021 11:56:12 +0200 From: Johan Hovold To: Johan Hovold Cc: Mauro Carvalho Chehab , Manivannan Sadhasivam , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH RESEND 00/12] USB: serial: xr: add support for more device types Date: Mon, 12 Apr 2021 11:55:45 +0200 Message-Id: <20210412095557.1213-1-johan@kernel.org> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ I apparently missed the last three patches of the series when posting on March 30th so resending the whole series. ] This series adds support for another nine models of Maxlinerar/Exar USB UARTs to the xr driver. The various models can be divided into four types: XR21V141X XR21B142X XR21B1411 XR22804 with different register layouts and features. All types can be used in CDC-ACM mode but further features such as hardware and software flow control and in-band line status are available in a second "custom driver" mode. The fact that hardware flow control is enabled by default in CDC-ACM mode also prevents using the standard CDC-ACM driver in cases where the hardware engineers have failed to properly connect the CTS input. The currently supported XR21V141X type stands out from the other three by not being able to accept CDC requests without always entering CDC-ACM mode, requiring a different enable/disable sequence and by using a distinct register layout for certain functionality. Expect for the above, most differences can be handled by simply using different set of register addresses. Note that this series depends on the recently posted multi-interface-function series. Johan Johan Hovold (11): USB: serial: xr: add support for XR21V1412 and XR21V1414 USB: serial: xr: rename GPIO-mode defines USB: serial: xr: rename GPIO-pin defines USB: serial: xr: move pin configuration to probe USB: serial: xr: drop type prefix from shared defines USB: serial: xr: add type abstraction USB: serial: xr: add support for XR21B1421, XR21B1422 and XR21B1424 USB: serial: xr: add support for XR21B1411 USB: serial: xr: add support for XR22801, XR22802, XR22804 USB: serial: xr: reset FIFOs on open USB: serial: xr: add copyright notice Mauro Carvalho Chehab (1): USB: cdc-acm: add more Maxlinear/Exar models to ignore list drivers/usb/class/cdc-acm.c | 14 +- drivers/usb/serial/xr_serial.c | 727 ++++++++++++++++++++++++++------- 2 files changed, 580 insertions(+), 161 deletions(-) -- 2.26.3