Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1569869rwd; Sun, 21 May 2023 01:09:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4DGo2bhg176CAVe2q3+Irdz4SvOHX3s6mNldJf9fkSgBIoG3/LdZ9xN9YUiWnqETl7Hvb/ X-Received: by 2002:a05:6a20:8e29:b0:101:281c:494 with SMTP id y41-20020a056a208e2900b00101281c0494mr8712501pzj.27.1684656567144; Sun, 21 May 2023 01:09:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684656567; cv=none; d=google.com; s=arc-20160816; b=pla7SpUSpp0cW4xQVSLwQokAUKBVRC1+qbm7u2Be9BpWWzD2HHs3Kb+IVopIcChNpQ 2tVoIvCTGknL9LKRnRFy5t98Qyii75iu0RrrednzqN/c6AobxRYgWhhEY/cADj5j+G7+ tElWfftqqw6d8VBHXy/2c0AezuopgQwI9a24x+NsvIYPIb4E58EFToFpXlhhwn967yh+ LJ1vC+6dYoIfk5a85QDZMZSSU8uMzuGzk5Nr0QXD/bjp8WncXyyW7UtdzGccEnJxIH6D HQlKEe01ANyr4GviAapsqN9v7MQwlP47TuudbkS7HUDhCm4oBDDtTlDcDk3OW0yBy99p Ij8w== 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=x45JB6d8uRh2jZVynsLC/k+HQt3mBQZgQCZkixZARFg=; b=TjoAooa+TLyLiIQCa3f9/niRKm4A/2anLQ6W49xBp7Itj5/5sf8xz3LeTkcSygsN8F ysAcHtlDlCqARdGKnyV5syQi6VRPMYpV87W8RFYM/47Yr/sraF16a/RGIS2sJ3Ol2MOR vQDTRn8ybiH+Lm91UrEQgh9q8GAlnGq5cEKFTLN1KqKLLIl/SMIQ6gj4M7nVZ/pOizXK yJLoWf1ITc+jRWCyaBIQzSwiZ0eaepdPAFBlWh9nyah0ksvrW2ohrJvbxZm7VKqmQ05g 8bu4XSQBLky86lfxR/btU7KUV6sJGSfmzkIMqcxHm7e/wIKq+AEGfw1M49pXWZ5cRscN 1TtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=VQ4tV0C9; 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 p67-20020a625b46000000b0064cce871b49si2960919pfb.137.2023.05.21.01.09.13; Sun, 21 May 2023 01:09:27 -0700 (PDT) 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=20221208 header.b=VQ4tV0C9; 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 S229643AbjEUHvV (ORCPT + 99 others); Sun, 21 May 2023 03:51:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjEUHvS (ORCPT ); Sun, 21 May 2023 03:51:18 -0400 Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7FB911A; Sun, 21 May 2023 00:51:16 -0700 (PDT) Received: by mail-il1-x135.google.com with SMTP id e9e14a558f8ab-3318961b385so6809955ab.1; Sun, 21 May 2023 00:51:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684655476; x=1687247476; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=x45JB6d8uRh2jZVynsLC/k+HQt3mBQZgQCZkixZARFg=; b=VQ4tV0C9VCY6EIUoCRmK6hTXDcgNrmDtcOU4DRqRZBwe/R+Y1D3vB+HsFZuPuDGYEo UmLwKlXb8D+AI6pxHoCh+uVdASK6VqRAOHEx+5RuEsVMvbJblbHpXjlYz/PLGTBbnLbS bWxDDE84fK0R1ZIV9Odien/s5U3W/SxH7uqzqPRitw14lmD46eNiq4hJDFG1i+n5+pzw wrEtKzxnAw7TmXHUshz0yGZnZTUgbrbcEv8C+VXUqrND4mWZw1lyfd0edIMSdv3M+vvK BllAXALdTFKWzzTQG7qpHs2U0hp2rJBuOwTfSxEMiMUkPnQuHxiCR86g0XsZBHIJXZ+U 2CJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684655476; x=1687247476; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=x45JB6d8uRh2jZVynsLC/k+HQt3mBQZgQCZkixZARFg=; b=P3QEpAIwBqEXikCzNewYdSO0EcuQdJCKZJVfefFF6U2JkYLk5X1+Sau+ECE7qcyKdy 6qp/X/B56TspWQ4AJqddNSkKxEIUPN+YU0PRNbfUuGU4pxtUnTqZX4nLbDjAjKkzmoxU RoEccE83EroY8PXl7QZRVAUQoGI4USvlkUXRht4z4ftGhbFdHFNnKM7x45XmkSpb4Pce 2qMVpsgCBv8U4MSwZygJiovEJloztuUwF/xWoaQZuJqaZeYajqkiUCh+dc6MR9dIskIH Z8faDucIedkIl/IRRgQIP8E67Pz+RiUS/DN5omQ+yZN/XKRiOKrEZIE0rRbRro22DaXE iQLw== X-Gm-Message-State: AC+VfDwITHIVEo7q/8U9MRpUauAlNOZFnDwp4u7X2/GlY03GMjek7itj 1bjbsWeFAHbvmyWnDypzqBreQEik1EAc3w== X-Received: by 2002:a92:c24e:0:b0:331:7885:3300 with SMTP id k14-20020a92c24e000000b0033178853300mr9821417ilo.12.1684655475800; Sun, 21 May 2023 00:51:15 -0700 (PDT) Received: from james-x399.localdomain (71-33-144-241.hlrn.qwest.net. [71.33.144.241]) by smtp.gmail.com with ESMTPSA id bv26-20020a056638449a00b0041627abe120sm424jab.160.2023.05.21.00.51.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 May 2023 00:51:15 -0700 (PDT) From: James Hilliard To: linux-serial@vger.kernel.org Cc: James Hilliard , Greg Kroah-Hartman , Jiri Slaby , Andy Shevchenko , Kumaravel Thiagarajan , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , Helge Deller , Geert Uytterhoeven , Matthew Gerlach , Randy Dunlap , linux-kernel@vger.kernel.org Subject: [PATCH] serial: Indicate fintek option may also be required for RS232 support Date: Sun, 21 May 2023 01:50:44 -0600 Message-Id: <20230521075046.3539376-1-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, 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 The current config comment for SERIAL_8250_FINTEK implies that this option is only needed when one wants to support RS485. As it turns out we also need to enable this option for RS232 support to function correctly on some variants. For example for variants such as the F71869AD attempting to use multiple RS232 ports simultaneously without this option enabled can result in data corruption. Signed-off-by: James Hilliard --- drivers/tty/serial/8250/Kconfig | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig index 5313aa31930f..cf33e858b0be 100644 --- a/drivers/tty/serial/8250/Kconfig +++ b/drivers/tty/serial/8250/Kconfig @@ -71,14 +71,16 @@ config SERIAL_8250_16550A_VARIANTS console, you can say N here. config SERIAL_8250_FINTEK - bool "Support for Fintek F81216A LPC to 4 UART RS485 API" + bool "Support for Fintek variants" depends on SERIAL_8250 help - Selecting this option will add support for the RS485 capabilities - of the Fintek F81216A LPC to 4 UART. + Selecting this option will add support for the RS232 and RS485 + capabilities of the Fintek F81216A LPC to 4 UART as well similar + variants. If this option is not selected the device will be configured as a - standard 16550A serial port. + standard 16550A serial port, however the device may not function + correctly without this option enabled. If unsure, say N. -- 2.34.1