Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp197097pxp; Fri, 11 Mar 2022 02:23:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJyPPyU6dA0PqSEe7yPu4PLLR+Z0Nogki6ieoPwQi5nzbdMUOVBe/oUgMpce7AQMpAE9G67X X-Received: by 2002:a05:6a00:15c6:b0:4f0:ecec:8214 with SMTP id o6-20020a056a0015c600b004f0ecec8214mr9461856pfu.33.1646994208861; Fri, 11 Mar 2022 02:23:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646994208; cv=none; d=google.com; s=arc-20160816; b=ZxW/CvaWy7745GzrDvD+VDcJ/eHN/SHlb0yaKn7zhzpWHIE30sU477VnUhqxWFH6Io PgweqHALPAQPtW4yf1X6AyEhG7NHwRMGE3C/pQ4L1qiXObz/d9h9Kr1XsrKuZowPbgE2 jMzOIROhcXq6S9yLTizH6JmIaGrMPEFin1xjYPya1xWPJLXe6pmK+PoUSVTxDoPHpTG8 0rXLWrbWBTSRo9Q+YfS0I5JaXe6zUVmtkO5NSqR6X/0dPxFrxPkluV7L1fT7aZMpnofC 47UEBoXxqXzOLfLsIXBPEARHwg7TU0uqCDVYQibKxpw8nGmupeENg6bYRAMGodOhX5R7 ZgXg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=vaMUR8eqBjunf19pL1HP7SUWTLVHC5595sNbHKANJ+U=; b=AxfII/jNCpa+YaXxMMO1wOioAq2ySbfU1ZpfNwc/QDMRB++tyuBF2jQgHWTtRXAEaC O7tTozeKegkEY3Xzyrqiqzwv3XHfeCczO3Aw8llz7C4sD9sT+mZbYXDHTNWAj+3/EPqK 4Z9M396JRQS+yzL86xYn9DPME8RXy4QTD6gmwWAtL5I7/hH4TiGXE7vYmDFoRpRRNPDg Io0GaqlMfknA/JCb4FyjFam32UPcUSF/U/tujF0ZNqVR26nuCh7R9Xf9zZrtAQLxtF+r ah9IASY8F8XR9Qfsz1P1vxucv0j962bkRyTs1X7MfejfPkbn/cqd8pkciQOZ/sFyPd+j ktAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=OvAfQl8H; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ay13-20020a056a00300d00b004f6b89cded9si6913198pfb.166.2022.03.11.02.23.17; Fri, 11 Mar 2022 02:23:28 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=OvAfQl8H; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346906AbiCKHDP (ORCPT + 99 others); Fri, 11 Mar 2022 02:03:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345199AbiCKHDO (ORCPT ); Fri, 11 Mar 2022 02:03:14 -0500 Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8D261AAA45; Thu, 10 Mar 2022 23:02:11 -0800 (PST) Received: by mail-qt1-x82b.google.com with SMTP id c4so6675405qtx.1; Thu, 10 Mar 2022 23:02:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=vaMUR8eqBjunf19pL1HP7SUWTLVHC5595sNbHKANJ+U=; b=OvAfQl8HBtshuXU8uIh/jHIk9HdF3cvpD3sqHlw+eFWZfkRfO7CDL0bwZD4yUFXM2U k8aWg48VK+MlXncM5P93BdY0MF/tashrOdO38JNU51w27sOmWCXkWfEFRm2NdlAJ7rOK nC00Lxd9cZnESHWqrP6g+oY12KhA/6M0XD1mzzBv3Nha6KMhFYiAQhg34lXo6h0iAxlO V+ibhZTIIubUr8b69+lZvUAQ79Ch2pOzwzGNSykj4gc8tdXTRqL2u09U+L8v5DYHe+UQ CVz/5vpJImv3xmLlg9VA3H3yuG6beg2h0oVQSKWUjYMX9K6No3zqLvHc3gnCP4sF/NAT sEgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=vaMUR8eqBjunf19pL1HP7SUWTLVHC5595sNbHKANJ+U=; b=c00zq7vKbp5aA6UC596RHGQ+C1NcDv5EN1xszNS3BpLe2XZPaFNjtI5kwDIm8cfdoy h4mDd6KlAhUetzn+Orbob/r8o6egG01yR4uohY85GE+aJ9/L6IrWHcSv2NYWuUW8UG6c 1Fvs4BBx/XhB3lIKirSgHmG+gUjztVYsBA5WwS5nvnAinRI2+/uw+gulYQ48hSKp95Wy /MGfvfk5gho9wOdozT+oBBFMrnus7HqtI17NdBKeZjyixEc9hPy4U9m+UO8c4VZpeL6Z DLnAbBWmGuKCHyub17RuJa/hdwDtZ0/iE6ZzcSsmcup/4UqlmoEx+yvvsfvBL7VvSESh 44Tw== X-Gm-Message-State: AOAM533nocn38KDq5TXJZxMeJnccdCc/9XZS3gj+q16/89aC9pK+cycA IPYi/00tC8WWZkrCrraOJaEhfec6KtQ= X-Received: by 2002:ac8:5c07:0:b0:2de:97ee:6d8d with SMTP id i7-20020ac85c07000000b002de97ee6d8dmr7018722qti.110.1646982130702; Thu, 10 Mar 2022 23:02:10 -0800 (PST) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id k8-20020a05620a138800b00679fc7566fcsm3352834qki.18.2022.03.10.23.02.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 23:02:10 -0800 (PST) From: Trevor Woerner To: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby Cc: linux-serial@vger.kernel.org Subject: [PATCH 1/3] serial: 8250_fintek.c: Finish support for the F81865 Date: Fri, 11 Mar 2022 02:02:00 -0500 Message-Id: <20220311070203.18159-1-twoerner@gmail.com> X-Mailer: git-send-email 2.34.1.75.gabe6bb3905 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 This driver only partially supports the F81865 device. The UART portions of this SuperIO chip behave exactly like the UART of the F81866, except that the F81866 has 128-byte FIFOs whereas the F81865 has 16-byte FIFOs. Therefore fill out the support for the F81865 in the places where it is missing. Tested at 1500000 baud on the iEi NANO-PV-D5251-R10 board. Signed-off-by: Trevor Woerner --- drivers/tty/serial/8250/8250_fintek.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/tty/serial/8250/8250_fintek.c b/drivers/tty/serial/8250/8250_fintek.c index 251f0018ae8c..d9f0e546b1a1 100644 --- a/drivers/tty/serial/8250/8250_fintek.c +++ b/drivers/tty/serial/8250/8250_fintek.c @@ -316,6 +316,7 @@ static void fintek_8250_set_termios(struct uart_port *port, break; case CHIP_ID_F81966: case CHIP_ID_F81866: + case CHIP_ID_F81865: reg = F81866_UART_CLK; break; default: @@ -363,6 +364,7 @@ static void fintek_8250_set_termios_handler(struct uart_8250_port *uart) case CHIP_ID_F81216H: case CHIP_ID_F81966: case CHIP_ID_F81866: + case CHIP_ID_F81865: uart->port.set_termios = fintek_8250_set_termios; break; -- 2.34.1.75.gabe6bb3905