Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp796693pxp; Fri, 11 Mar 2022 15:23:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZkH8BAjc+CJ9tAGV6LrI+iV/cp92XyhXw/If8RULlpvOgCubCHU062C2toc7JkqaoD+Un X-Received: by 2002:a63:18f:0:b0:37c:4671:a2ce with SMTP id 137-20020a63018f000000b0037c4671a2cemr10555296pgb.429.1647040998914; Fri, 11 Mar 2022 15:23:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647040998; cv=none; d=google.com; s=arc-20160816; b=IecuGtvOoxk/Tt28F0NKLD+11ewH0GSqZgx4a8HvMSd3Xlj+yPxaf3nrQUS2w43ZSO kEbSTCqI/czixeTUXKwSPmirDDbcIT9NiLtS/b4zp6Ox6EUJhS96tuLIOwc1BnMKnDZp l65H2/LNSytr0tOeY610lADyUaVu7FOCDqVRAIXYdNkAY5DFL+Jen/KWJJUpBeMIgtLj np2qzLYh5+XlehRptqMwfOirB0J4qmHEcOT+HUYdsRnnW3xtucdoqjRVwshkFy1GoRw9 JRdbBrBV05RftCmJBZyKGiBllMVJClbc/KcqPJPsjxMz7i6F9s0fO36T6BqNvcT/l0+B eMJA== 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=hzY/sdOnpl2kFkpwmbZ9CQ4/TSPZAEZYFrxoYv943Ac=; b=I7PzKodJsR499lBFN780crmbrQizpaLmwrrxHI4O8EvwcEH0nnleckfhG1yoerj7tE 0OLSrfoZ+8/3qUSoNg01iMtYcYUdjKB8JgVQyzGv0f/eP96oP/oVQVD3nPx6/Js88Lju HwkuEGWjz32CTWUzxQc3kBV5rD9ygUHXhPmQ9KRuB8w8m/clQVTiecXe2IfSa+ZaNM+i YrY9par4URwiV93XoJdRNKM7R5xGJGEq8SvdpThOUoXjs2HoOYTvdEbVn4sBPIvTKYnq xHPjFM/JGuMal8yjG4Kw9+wrbloHxd04canfCyitG0D+dwCsClZmUWES+xIofSJZOvIP Ur3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MsJZ1iqp; 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 r203-20020a632bd4000000b00380494bbb66si9181585pgr.7.2022.03.11.15.23.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 15:23:18 -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=MsJZ1iqp; 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 E19DD3ADBE6; Fri, 11 Mar 2022 14:09:53 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240572AbiCKHDT (ORCPT + 99 others); Fri, 11 Mar 2022 02:03:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346899AbiCKHDP (ORCPT ); Fri, 11 Mar 2022 02:03:15 -0500 Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2950D1AC29A; Thu, 10 Mar 2022 23:02:13 -0800 (PST) Received: by mail-qk1-x729.google.com with SMTP id r127so6322748qke.13; Thu, 10 Mar 2022 23:02:13 -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=hzY/sdOnpl2kFkpwmbZ9CQ4/TSPZAEZYFrxoYv943Ac=; b=MsJZ1iqpEYM+TEsgY6Yt+RK1RBGqctf446evavz80Fkb7/bq+kO6oh3Jv+StlJOmXz EZHfAXvhk7+EBPSyH7PxxdyWEl8C6yG5sg+8iTuoR3GZtOx6w2wQAOZ8bmXCe5Okcrxv KN7spjOIBwkTps3NiFfVLWBw2/qC2qxYyx+I3HhctJSPo19YHa4MFMDozANLm3awuBxH r2FTro+yZk/M/Cn930iR4b+mgtL+snih/X9/s6AoqM0krptgdYgYL6lFo0A2gyesPa5g GEOKgi0YFyOAKfObWUb+KEuxZcOkHxh73G7ueHM68oD4dsxuvYEPopcRjr9176bBG3WZ b6rA== 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=hzY/sdOnpl2kFkpwmbZ9CQ4/TSPZAEZYFrxoYv943Ac=; b=t42WynToa+NYUzx1jDtNKcnKaDdcI+biMCehNfB5LtWdvwcv31gb0+ExJHwXeDKha4 NQZjcrMhPxtiBcamZTirX40EshF18KPBQgy7aTe0YI3WYkf3gh9zdQ7aFMXoJK8giYXj Fpn1cmylX+KkynWYStlI5HlaWaBedCNixlTwZ4NWgn2KRqmTSNMRl4dk6fGw7Tz7aJDt dQQfmfZp7drSRf8uiJqJcbgMs7zYVimrR2vFBCoc8lDtVv10gOIFb3Ok5xOXz3M3Fqwr Vb/7ubmTFsS3GCVcVNTZOKnMiWOcgT92CMu6jAhZ2o6kgfCjU8nVK3FjbS2mcsV0qolU qJpg== X-Gm-Message-State: AOAM530npOHvsDQ5+xQfyRLHA7JpDEqVe9gkFbSrfkexDjISNnWPlIGv v4lTApFnXUZVxHutfpOT24oo2oyoVZ0= X-Received: by 2002:a05:620a:2904:b0:67b:3c00:2d81 with SMTP id m4-20020a05620a290400b0067b3c002d81mr5736124qkp.410.1646982132006; Thu, 10 Mar 2022 23:02:12 -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.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 23:02:11 -0800 (PST) From: Trevor Woerner To: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby Cc: linux-serial@vger.kernel.org Subject: [PATCH 2/3] serial: 8250_fintek.c: Report chipID Date: Fri, 11 Mar 2022 02:02:01 -0500 Message-Id: <20220311070203.18159-2-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=-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 Provide some feedback to confirm this driver is enabled, and specify which chip was detected. Signed-off-by: Trevor Woerner --- drivers/tty/serial/8250/8250_fintek.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/drivers/tty/serial/8250/8250_fintek.c b/drivers/tty/serial/8250/8250_fintek.c index d9f0e546b1a1..03ad2354d808 100644 --- a/drivers/tty/serial/8250/8250_fintek.c +++ b/drivers/tty/serial/8250/8250_fintek.c @@ -155,11 +155,22 @@ static int fintek_8250_check_id(struct fintek_8250 *pdata) switch (chip) { case CHIP_ID_F81865: + pr_info("Fintek F81865\n"); + break; case CHIP_ID_F81866: + pr_info("Fintek F81866\n"); + break; case CHIP_ID_F81966: + pr_info("Fintek F81966\n"); + break; case CHIP_ID_F81216AD: + pr_info("Fintek F81216AD\n"); + break; case CHIP_ID_F81216H: + pr_info("Fintek F81216H\n"); + break; case CHIP_ID_F81216: + pr_info("Fintek F81216\n"); break; default: return -ENODEV; -- 2.34.1.75.gabe6bb3905