Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1244610rdg; Fri, 13 Oct 2023 15:12:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHLI4Wt+AG8TRoXSFnakf0b1YExXyx2yWrvuI/X8OSK/8B3XfECtueekObSAIMU5h0W8Shw X-Received: by 2002:a17:90a:ea01:b0:27c:f845:3e3f with SMTP id w1-20020a17090aea0100b0027cf8453e3fmr11095738pjy.1.1697235163657; Fri, 13 Oct 2023 15:12:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697235163; cv=pass; d=google.com; s=arc-20160816; b=YGM+4wc/r+HPZiGxN1eRNYyrlQFuoBOyoHvjPhzuidfYTJ2Moc71D6u6m0G91Fnj/k vx8fdRTT0ReQi6PAc5AGlCaA9S473kfWMqL/BF9zHPHiGl1W4nHxw6cgp/+vvQEYQEfx SMJ21v2+pyLl7wFE98ZCWoZ9HB8VPWp30DjlyKleEtCQo03gDGu+ro4Vd/xXphthXKT7 57eQlBRThSkt82t1GaBW3weyiC+gioEkoBgmT1aNkvv8Y0/CQOa4j7lqbzQ5vxjiBDDV 5+ZmG0jkJAoYtH4BlJ1C1RJCwnTbWeWIgf3oR2QtM1VZtGgjEgo6iEeKqPA3Tk5jJ2Fg aZJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-disposition:message-id :subject:cc:to:from:date; bh=ofxqQ/zE0LMnVCW+14YdVSS7O0CU8XBgD6REDb5ITfg=; fh=+k6fBW83wBy2xB66kuIdmqVENSa879oX1niuueO3tUM=; b=UvIj7W7KpDMWyDa/6FQOqNPBpJ/aPOC/8ES6STAjOa7CTmqd6EMg5VKzzn3DHD2ilz vX42/WJQffPyhU9G1TojwS+JtPnNAmLxh2MJYrk6zFuDMZoUzJGQ0FzeAG9rssILQT1H x0IHGRWM0gIMJxB2/iVYtxxli9LkyQb2M0BppMe8aESrBsG6NQv5VLo+G5emHM9O0Awc sxyZf/rV2nLiVpGTFteNLoFDHNQWt1DGn1g+CmCk/D/pjJkaK8vXMwnalqBk27KHpTcy GCS4x3zZwdP1g6TnRgvyLPOmgVICqO3qp7HOBRIz0e6ep4S2fgecfY+XGmfJCyvlq57n MtUw== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=live.co.uk Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id on1-20020a17090b1d0100b002791e648ce3si1035997pjb.174.2023.10.13.15.12.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 15:12:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=live.co.uk Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 2B54B82D1C26; Fri, 13 Oct 2023 15:12:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229830AbjJMWMY (ORCPT + 99 others); Fri, 13 Oct 2023 18:12:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229679AbjJMWMX (ORCPT ); Fri, 13 Oct 2023 18:12:23 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04olkn2046.outbound.protection.outlook.com [40.92.74.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BBDEA9; Fri, 13 Oct 2023 15:12:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZkXsTMzKZ857krMwcbSGmrn2F6nUmTNE8Cw/rnHV4muZdc5KgUujtvV3p6PjiH/bkM8Gva7KY5Yu99JljMPZHdn/QkC+q7+c57nMPvMQn/qtZXhLBPFIA4ly+Kmf0orSo8erNJhv97UbuOnsFDiW70HJXXWu4TmoZ1lZFSbbtJInkKxiuG8eWYFctPB2gwqkyD9gAZZGUM5YyoPv0Cs0mtng53aey5FzwmtTs1sdzYs0BIuNvmLMzQziy3sSHJzFD5zxdkIMSmBotf3r3JRKYL12Ftb/1ooBQN0OFq1aNnvue0GpNYLbQiur6JyxeooqXwn+sMtv7xEko3SBVVA7yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ofxqQ/zE0LMnVCW+14YdVSS7O0CU8XBgD6REDb5ITfg=; b=efVrB4qAyyGoygR76AcbmUn5N8JeCNxUC/mM6w/d35ijsm7DhZLmFjFl24xTKXALRfvRSDPTTarx02AINVxdhqx3WnVh6R4PMDzV17MZZSteklb/Z4plyJV2xhuz3W5Jz5gvwnJwj6WT/bMugWjDcL8l3joKIXICINWskT/7ytQ4hK032KRP/X/ZDGWSmlzimud3NfNR8WuIhfzMzhE5pdFNLgMh655GrTXGWkdYWY+u9amLpD8XarZV+ycoM/q/gZphZ1l9r46UayhmQYBrfSGNCVzfgthO8UoG3ItU5IVxMNH5XvSfQ3ceL5NJW+ULlwRST6EqMTyGCWH0oFRxgw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DU0PR02MB7899.eurprd02.prod.outlook.com (2603:10a6:10:347::11) by AS8PR02MB8341.eurprd02.prod.outlook.com (2603:10a6:20b:521::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.45; Fri, 13 Oct 2023 22:12:17 +0000 Received: from DU0PR02MB7899.eurprd02.prod.outlook.com ([fe80::b753:178a:394e:af8e]) by DU0PR02MB7899.eurprd02.prod.outlook.com ([fe80::b753:178a:394e:af8e%7]) with mapi id 15.20.6863.043; Fri, 13 Oct 2023 22:12:17 +0000 Date: Fri, 13 Oct 2023 23:12:15 +0100 From: Cameron Williams To: gregkh@linuxfoundation.org, jirislaby@kernel.org Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v2 2/7] tty: 8250: Add support for additional Brainboxes UC cards Message-ID: Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-TMN: [lfEczgclUVrMXzubXGOVMLE05PrOfa2S] X-ClientProxiedBy: LO4P123CA0549.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:319::18) To DU0PR02MB7899.eurprd02.prod.outlook.com (2603:10a6:10:347::11) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR02MB7899:EE_|AS8PR02MB8341:EE_ X-MS-Office365-Filtering-Correlation-Id: d65dfd71-7d97-4d05-236f-08dbcc39764a X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: D+6305Sstcui2mgXirmgu7N/6AjJyQvHlWQ2V6BSrdUFTE74w8RbJbHinA/CMRQkE2lw0yiVqdyCNa1yVAurPL3ruI3GNQ425LYHADU+JOvzKZuh8UA0IvC7BgPvg8SQBTOSjeyt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knk2Q/FqEIXD4rq2LY/sjN0IfNt4LpzbKLSD?= =?us-ascii?Q?uv2T+Drk5lqag4esGn7Zx18nWijj+lFFB82KmL76BdyFhiqAarVkNdoKyum3?= =?us-ascii?Q?BldT8qHcx5ZJJ99RCh1VmTiCWxJCBPDhZ+aHeCxdggo2rcHxXlDAqvJ2ePRu?= =?us-ascii?Q?PpvCyYy6/JhmU2RRXU39gzuIXmB4io49vJJkaH2LxzhY9FWyRrf6g0TnmR9D?= =?us-ascii?Q?wby6vKsDtBWJfXd9WVbfcKWrq6omNjyl8AtnPcrWbwCK/yHj8Cr0PINDR3ce?= =?us-ascii?Q?0tDsRTHoBUcMl6XvfOnPel4IzUGDZzeHOVuNLUcudSTRDpTk2vMoXh270VAy?= =?us-ascii?Q?GGv/Lk73xyboVEowB7vlSny4G3dSeVUN1pK6P15Lv0L1MVnueW/UqFmAaTGR?= =?us-ascii?Q?kDzSIftk5m3RkEdxKGKCZDhO0ObY7/CflS3vhlVJQpq6zWtvzFV+Gouty1ts?= =?us-ascii?Q?8KKO58dZXdwvnnRmg85e/Slv0apLT+5G4lv5UZkuqw9iy9q2bjAU7SeHNgrh?= =?us-ascii?Q?6mEt3C4eWc0lp2M/A/1gB+Pk3Inbc+5GLGJuafiT/pVYBc0OV0CRMbbuGwof?= =?us-ascii?Q?vHCA8IAuaf9Fv/fqXwqjW2MT7LXy4BIJdlTXU28JEF0kyOh+MB+R6s+moomM?= =?us-ascii?Q?akontXGe2Wtg/URhdeAI6xQqGyrOMCRpAeB45pY7q4bL+tZQj8dZ5cclsOHY?= =?us-ascii?Q?x/W85oQ03ImP48/rsua+Iqcn32vtzF2svsS9nZ1MAsjLYq3AOtVxvuF9DQ71?= =?us-ascii?Q?ZQeaFV25qsQ1WUnCx7IsoLM+jNVAmSQty/YeTA=3D=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-bcc80.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: d65dfd71-7d97-4d05-236f-08dbcc39764a X-MS-Exchange-CrossTenant-AuthSource: DU0PR02MB7899.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Oct 2023 22:12:17.5503 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR02MB8341 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 13 Oct 2023 15:12:41 -0700 (PDT) Add support for additional revisions/IDs of the Brainboxes UC range of serial cards. Add: Additional UC-235/UC-246, UC-302, UC-313, UC-346, UC-357 card IDs Add: UC-253/UC-734 , UC-607, UC-836 cards Fix: UC-431 variant note removed as it is a 3-port card, and there is no generic 3-port configuration available. Fix: UC-257 moved to parport_serial as it is a serial/LPT card. Signed-off-by: Cameron Williams --- This is a resubmission series for the patch series below. That series was lots of changes sent to lots of maintainers, this series is just for the tty/serial/8250 subsystem. [1] https://lore.kernel.org/all/DU0PR02MB789950E64D808DB57E9D7312C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ [2] https://lore.kernel.org/all/DU0PR02MB7899DE53DFC900EFB50E53F2C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ [3] https://lore.kernel.org/all/DU0PR02MB7899033E7E81EAF3694BC20AC4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ [4] https://lore.kernel.org/all/DU0PR02MB7899EABA8C3DCAC94DCC79D4C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ drivers/tty/serial/8250/8250_pci.c | 56 ++++++++++++++++++++++++++++-- 1 file changed, 53 insertions(+), 3 deletions(-) diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index ecb4e9acc70d..a6527545363a 100644 --- a/drivers/tty/serial/8250/8250_pci.c +++ b/drivers/tty/serial/8250/8250_pci.c @@ -4940,10 +4940,14 @@ static const struct pci_device_id serial_pci_tbl[] = { PCI_ANY_ID, PCI_ANY_ID, 0, 0, pbn_b2_1_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x0AA2, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_1_115200 }, /* - * Brainboxes UC-257 + * Brainboxes UC-253/UC-734 */ - { PCI_VENDOR_ID_INTASHIELD, 0x0861, + { PCI_VENDOR_ID_INTASHIELD, 0x0CA1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, pbn_b2_2_115200 }, @@ -4979,6 +4983,14 @@ static const struct pci_device_id serial_pci_tbl[] = { PCI_ANY_ID, PCI_ANY_ID, 0, 0, pbn_b2_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x08E2, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x08E3, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_2_115200 }, /* * Brainboxes UC-310 */ @@ -4989,6 +5001,14 @@ static const struct pci_device_id serial_pci_tbl[] = { /* * Brainboxes UC-313 */ + { PCI_VENDOR_ID_INTASHIELD, 0x08A1, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x08A2, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_2_115200 }, { PCI_VENDOR_ID_INTASHIELD, 0x08A3, PCI_ANY_ID, PCI_ANY_ID, 0, 0, @@ -5003,6 +5023,10 @@ static const struct pci_device_id serial_pci_tbl[] = { /* * Brainboxes UC-346 */ + { PCI_VENDOR_ID_INTASHIELD, 0x0B01, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_4_115200 }, { PCI_VENDOR_ID_INTASHIELD, 0x0B02, PCI_ANY_ID, PCI_ANY_ID, 0, 0, @@ -5014,6 +5038,10 @@ static const struct pci_device_id serial_pci_tbl[] = { PCI_ANY_ID, PCI_ANY_ID, 0, 0, pbn_b2_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x0A82, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_2_115200 }, { PCI_VENDOR_ID_INTASHIELD, 0x0A83, PCI_ANY_ID, PCI_ANY_ID, 0, 0, @@ -5026,12 +5054,34 @@ static const struct pci_device_id serial_pci_tbl[] = { 0, 0, pbn_b2_4_115200 }, /* - * Brainboxes UC-420/431 + * Brainboxes UC-420 */ { PCI_VENDOR_ID_INTASHIELD, 0x0921, PCI_ANY_ID, PCI_ANY_ID, 0, 0, pbn_b2_4_115200 }, + /* + * Brainboxes UC-607 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x09A1, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x09A2, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x09A3, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_2_115200 }, + /* + * Brainboxes UC-836 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x0D41, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_4_115200 }, /* * Brainboxes PX-101 */ -- 2.42.0