Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp471247rwr; Thu, 4 May 2023 05:53:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4wjJB/7oDN6LgU7zdUJUkLY/dseKaCeVLeXQr6X3o9OUoANBotU6/ijW9xUaA6Tms2YXiq X-Received: by 2002:a17:90a:9c4:b0:250:1127:841d with SMTP id 62-20020a17090a09c400b002501127841dmr1026843pjo.30.1683204823317; Thu, 04 May 2023 05:53:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683204823; cv=none; d=google.com; s=arc-20160816; b=nPMIwv4JGkiIKvPj/DcXzN3uSIIXFZUaKfEhfySsVB/kOjmFnPpB+6YnK7bIuPbM5w 7YKIGGEv3ZXyOwnRtl0UEutmiJKlDG4TbGvN4pjyuiRPZsZ9aa4hjRfskcGkO/LLzvqE TlJ6ZTmz/21Xqatrs0JM9i8nTJ6dtGTEB5ScsB698odp3z4hVd99V0t5p6vv0MYTzqr5 xLMPY/GZf6pSq/4N62cQzGeb7s5GEPm42emLDZgYatuMPmplQcQetiIQ+XSHG3YvLprh ZXfUceAL+PhK7pDRx7a5PyY5TJHNyjAiX1sfUpuUIEdaaSNyr2BZG9yIF3SmPv5wcs/S 9AgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:references :in-reply-to:subject:cc:to:from:date:mime-version; bh=aB58Ju9+77Nh10IF9CfAb0gL3v6WM5HWkgAMHSwDF7A=; b=UidMDblIGto0MIvBWWYdH1n8FCbnn4cxDfzxtqvDPzdMIyJWyHgvNioXV4tpOG+XqF +Sd5JgnsoUArPmMbODUZoAHGVs0pbmPO/vUcqeGr5REIgrqGzlq5bZx+F73VJi59khLA 04P+7d91JjGX2xJQrZx3MCYq0/JF+uWdXW6o7pap5GZ5ddJ5n6jS2pLUspN5ERMIaTh3 GCCDwAaACtSyNxiSB6wIWr0KayNE4THyLQlObZ2qvAutlxrZBFPjj6efmxu0RtpeqWX5 YZHOqsScdqE3HQFeeGPEd2t8GyhlqgCMP5WDdC2v75NWT9HtbkLM7ZlZZioB7LKrwZ5l mFUQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l186-20020a6391c3000000b0051b2ba5cb37si36313402pge.437.2023.05.04.05.53.31; Thu, 04 May 2023 05:53:43 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230426AbjEDMxG (ORCPT + 99 others); Thu, 4 May 2023 08:53:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230179AbjEDMxE (ORCPT ); Thu, 4 May 2023 08:53:04 -0400 X-Greylist: delayed 464 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 04 May 2023 05:52:48 PDT Received: from connect.vanmierlo.com (fieber.vanmierlo.com [84.243.197.177]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEFEA6E8E; Thu, 4 May 2023 05:52:47 -0700 (PDT) X-Footer: dmFubWllcmxvLmNvbQ== Received: from roundcube.vanmierlo.com ([192.168.37.37]) (authenticated user m.brock@vanmierlo.com) by connect.vanmierlo.com (Kerio Connect 9.4.2) with ESMTPA; Thu, 4 May 2023 14:22:13 +0200 MIME-Version: 1.0 Date: Thu, 04 May 2023 14:22:13 +0200 From: m.brock@vanmierlo.com To: Manikanta Guntupalli Cc: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, michal.simek@xilinx.com, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, jirislaby@kernel.org, linux-arm-kernel@lists.infradead.org, michal.simek@amd.com, git@amd.com, radhey.shyam.pandey@amd.com, shubhrajyoti.datta@amd.com, srinivas.goud@amd.com, manion05gk@gmail.com Subject: Re: [PATCH 0/2] Add rs485 support to uartps driver In-Reply-To: <1682512187-8828-1-git-send-email-manikanta.guntupalli@amd.com> References: <1682512187-8828-1-git-send-email-manikanta.guntupalli@amd.com> Message-ID: <6b72c56e79a44fec348de26d14d9dce0@vanmierlo.com> X-Sender: m.brock@vanmierlo.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 Manikanta Guntupalli wrote 2023-04-26 14:29: > Add optional gpio property to uartps node to support rs485 > Add rs485 support to uartps driver > > Manikanta Guntupalli (2): > dt-bindings: Add optional gpio property to uartps node to support > rs485 > tty: serial: uartps: Add rs485 support to uartps driver > > .../devicetree/bindings/serial/cdns,uart.yaml | 5 + > drivers/tty/serial/xilinx_uartps.c | 96 ++++++++++++++++++- > 2 files changed, 100 insertions(+), 1 deletion(-) Why would you want to use a GPIO and not RTS for choosing the direction as is more common in this case? And have you thought about configuring the polarity? How long will the signal be active before the real transmission begins so the driver can settle? Maarten