Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp706252pxp; Fri, 11 Mar 2022 12:54:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZDym06ZDdSUSsMbWN9xjLIoRmQbQXi/h1WcJ+zHkthrX3qUe00g/VDZQlk+eN6ce8HXmB X-Received: by 2002:a63:6c8a:0:b0:37c:62da:a647 with SMTP id h132-20020a636c8a000000b0037c62daa647mr9904527pgc.423.1647032041158; Fri, 11 Mar 2022 12:54:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647032041; cv=none; d=google.com; s=arc-20160816; b=C+70rI76z6hyxLUpR1UNxwmo0MeLhn/1IsLNlLt3C7Wn124q3QX+aJw3p8Yqo7Um4g 4+t04+Z4TR2NZbgC11zgBa0XYPUcunUKJVjqGTD+UiDVVN104ahKd9iDivsNjBwrUI8V wGSl0VE+FSs6XasUZzMzuz1FT/bwykHcbeBMl3GDoWM60C23q6WL/r704cptpDnF6l4c OogXJWAVYfXKmKiFXkp3EZlZ81GHvcVeHIR6E8cH9Lh42gjv8DhlVDZyF6+A6aOtSFB0 lZXF2MzPYGPJ5ox+6TbNLN/TmkxfSMJtHizFRB983he5+/iqSS3s3DQsJ+4q59ZuvFu3 DRDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=iU7gCGr1VdelurSCAywqdNeaWdDipjKRqNaP000KsAo=; b=KP5lHcUaRIodJeYZJfPmEB5IC3ykpzzvIuITMi3Urd9SVLAqYyRRKwe4Y50RoJmFr5 jYf5ipNFc0hkUsTEo3Bd+mWcqpvyAeVI2JFa3Dc+PtEJp/GUmUiJhWsMMOzpwiyvFcHc bScGygRAU8Y/9MDYndpzO/tgTdFFLFoab4P/BBheUTwG3WAKrAdC1Wvsj2WjQ0DdlU+v g1sTIFjEdYJH++X5cQkFVHi6e7t0b2VFddgUHnKKCjaNxS05DZ8KxqW0Vk7+BEQCN4OZ sn6P7PmJz4/KotcYqddJSTqFrJHtaVhlkvm5etecQd4xwegS8jBQaOvvCL+s+xqknvQU PD9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PgpGhqFk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id z88-20020a17090a6d6100b001bd14e01fb2si8779041pjj.160.2022.03.11.12.54.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 12:54:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PgpGhqFk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 78C731EEFB7; Fri, 11 Mar 2022 12:45:38 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245311AbiCKOlJ (ORCPT + 99 others); Fri, 11 Mar 2022 09:41:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344430AbiCKOk4 (ORCPT ); Fri, 11 Mar 2022 09:40:56 -0500 Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C14374842; Fri, 11 Mar 2022 06:38:34 -0800 (PST) Received: by mail-qk1-x734.google.com with SMTP id r127so7057142qke.13; Fri, 11 Mar 2022 06:38:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=iU7gCGr1VdelurSCAywqdNeaWdDipjKRqNaP000KsAo=; b=PgpGhqFkFlrhdXEk5NEwF9LnOxYUeXR7cl7/M/TirE17bvhJL2qugvXCtwvlL4o4Dx L88gwsbwDdOIga1mu+25Awtebtfq44yuIMG5iCJ0VsaaEVVPUNdfv+NRf7KXQeIwypJu O8tZasWRh4WjIPL5ykgBT7qJs+Lyamqqom+fysMikTwBYZjuT8TsitusNFFYIOgDU0xx XHt5BzFqKYLLRwaqwYJEJbVxH+HW4ZEOkIr1QA19a/ZnPF8THsaPwt0wfhqp312cN9mr EWLQAd6GK+aqdwCSami1lTIStb48UD5E0fagjHl8zzpb4hHyx3KEaGxNnm+u0v8Kote0 1ypg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=iU7gCGr1VdelurSCAywqdNeaWdDipjKRqNaP000KsAo=; b=7Ag7JrPatoLWhD+bgxBG22eczX/CSifT8ZbWp+8HPMgQ2+eTiYOvGH6mzNRvn2cg4R JoR3CV4BETEi0DobwLsVtKLCRo/F5bod4lbe4ef6kIo1cjb9Hyi23D9EGFa4K3BF2nDO QN0y5m+wmo3VMvTG5Tjs293iciVKaUUytmUn84An5mEn+9uUKbb+kkQrJFU51L+D70fI BKfzz8lbi6B6gm6I2NOz3/i1p/gj3Bbc1yKBywntTdhcqG3BI9TMqXaZZHya7J5iqtjb RkE9cKDAl5JZU+eXiJKV3tlLn1uJRvcOMhFvzJV0Xm9wMWgGHOlzaZ4XhgsrT8uSulqN 9zJQ== X-Gm-Message-State: AOAM532zkWjaezKvFn/dhnWAxYFj9YcPuVZGmgMfYPPyvpZlddAjEUo5 xqBbxvw2uq29p2rfumuGILDkr1792Bg= X-Received: by 2002:a37:3d5:0:b0:67b:335d:59c3 with SMTP id 204-20020a3703d5000000b0067b335d59c3mr6551783qkd.739.1647009512972; Fri, 11 Mar 2022 06:38:32 -0800 (PST) Received: from localhost (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id s7-20020ac85cc7000000b002e1b34b30c9sm3116984qta.75.2022.03.11.06.38.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 06:38:32 -0800 (PST) Date: Fri, 11 Mar 2022 09:38:30 -0500 From: Trevor Woerner To: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby Cc: linux-serial@vger.kernel.org Subject: Re: [PATCH 1/3] serial: 8250_fintek.c: Finish support for the F81865 Message-ID: <20220311143830.GA39653@localhost> References: <20220311070203.18159-1-twoerner@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220311070203.18159-1-twoerner@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Fri 2022-03-11 @ 02:02:00 AM, Trevor Woerner wrote: > 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. Is it too late to send a v2? I'd like to fixup the subject to remove the ".c", and I should probably add some comments in the driver explaining that the F81865 is functionally the same as the F81866 (except for the fifo sizes) which is why the F81865 doesn't have any of its own #define's. > 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 >