From patchwork Wed Apr 26 12:29:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manikanta Guntupalli X-Patchwork-Id: 13224558 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 873CFC77B7F for ; Wed, 26 Apr 2023 12:32:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=nbJZvjvZ2nBNIZmyDb4vdB2LQiH4bKXeofRfZrKw5tc=; b=1JoGVn1pNJOxRb 2Qk0ikeOHVwDQwLzSsJodvjooCwFp2EUo5PSfi5tDNosgJHH2VurWBekRc9YbI3Rxn9cpkdFlFmAq ke/U+rwQ2m9gTTplbSRs692LxvFYC0HpbSiJ/cQB4uFGhup4dnVMSU3aTjCmFBPkLHfY7ORXWJ6Tt KvPOLPCqEQrv4mohwW9QScZZrGErRFTRO2Sf2iynOd+X45kFzmKcpCRVebvbctx8YK0VK7tEc7gc7 TzV0pOXhoD8d2n4xVaISG+yTawMopLU/K+Balcpp2vWWkFuAQGBUW+V0xb1y0RYnuB7LaUsZPy/Lc PbzZ4T7TUsD2KJ68KxRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1preJ2-003v6f-1Q; Wed, 26 Apr 2023 12:31:32 +0000 Received: from mail-dm6nam11on20616.outbound.protection.outlook.com ([2a01:111:f400:7eaa::616] helo=NAM11-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1preJ0-003v6D-00 for linux-arm-kernel@lists.infradead.org; Wed, 26 Apr 2023 12:31:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HeDM2t4r+T8+jPj4ekBDy/IIYzAGugVBy6mj7EC/T+LgNiZYdO45KKKwUXHZ4Rmajk47/NtlCu8OZ6RR42+SAm1Csja2b6VM7boNwo8JFoLoHQ2dvesukchyI6PW3msvGtdPonYQkFLnUozvIlpkDd+ekr8Lu5u1UJn5uip4o4r8y2FF02YAvLxBQu5Ox5/TBQQZ277wI8x8cVyJA+uRQYIYc8I5DltM1up3p0fsBnR+vNvHmgFrjI+JWGW/38SUWfjWdmtJp5PSuxuiHNSd0ThdZNsHIFfimkzQIhaa6+tcboNOlVtgBPMXmKYm3m0JbIZ2oUqu9IlDutGx1o4HQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=M0aJPY2JvI6LZfG3pQ7pHhB/iR3/5XgZI9O/Rn3tVS0=; b=Eln0mnXAox4bg3tP/KCqUzDjA+qRQrc+DbJ/yKtTnp7HHwO0b9jnc67druDGOrTJ2o8cTktcNqNnGGzx/H4jtE874UasL+UnYXbl6RSfL+PItE5tNWKpY9IW9HJgxmwfuNZ5pARnBiWKai4AxwNIIEOYO6yER5HwoLr+GG+ZJIjLtclm9k0MonlsnPc7Xsml563i0w4AAvLpMptTIyKFMXzznqZFDzm4APE9KVNzvNHPbVsM+gDa7jWJKAq4kxP+Q94chSp5v8jMMeo2QQBFgnXnAYPd291nImo/qUDSmPSDiJhmPWo2UQOLBTorqtggL/gBcZk369WDtu0jBaARXA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=amd.com smtp.mailfrom=xilinx.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=M0aJPY2JvI6LZfG3pQ7pHhB/iR3/5XgZI9O/Rn3tVS0=; b=Qf5reyJeui/KXGRQUQu1V8VcOY2mWo/uchT8OZ96ReIFOuVDPQrM+05AgWNyJTr1A8Az+JUHFzDVKXR10/ZfS44eLuyehPt0/mgpP3vm1rIjt+tcsWtrvEns4NYV0ngVaG1buRLTI4FwJ5a4x/ijDNVRG3/wf7L4EuRh548aOeY= Received: from BN0PR04CA0208.namprd04.prod.outlook.com (2603:10b6:408:e9::33) by SJ0PR02MB7325.namprd02.prod.outlook.com (2603:10b6:a03:294::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.32; Wed, 26 Apr 2023 12:31:26 +0000 Received: from BN1NAM02FT062.eop-nam02.prod.protection.outlook.com (2603:10b6:408:e9:cafe::2a) by BN0PR04CA0208.outlook.office365.com (2603:10b6:408:e9::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.21 via Frontend Transport; Wed, 26 Apr 2023 12:31:26 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch01.xlnx.xilinx.com; pr=C Received: from xsj-pvapexch01.xlnx.xilinx.com (149.199.62.198) by BN1NAM02FT062.mail.protection.outlook.com (10.13.2.168) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6340.21 via Frontend Transport; Wed, 26 Apr 2023 12:31:26 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch01.xlnx.xilinx.com (172.19.86.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Wed, 26 Apr 2023 05:31:22 -0700 Received: from smtp.xilinx.com (172.19.127.95) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2507.23 via Frontend Transport; Wed, 26 Apr 2023 05:31:22 -0700 Received: from [172.23.64.1] (port=50332 helo=xhdvnc101.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1preHO-00048P-Q7; Wed, 26 Apr 2023 05:29:51 -0700 Received: by xhdvnc101.xilinx.com (Postfix, from userid 90444) id F02F721314; Wed, 26 Apr 2023 17:59:49 +0530 (IST) From: Manikanta Guntupalli To: , , , , , , , , , CC: , , , , , Manikanta Guntupalli Subject: [PATCH 0/2] Add rs485 support to uartps driver Date: Wed, 26 Apr 2023 17:59:45 +0530 Message-ID: <1682512187-8828-1-git-send-email-manikanta.guntupalli@amd.com> X-Mailer: git-send-email 2.1.1 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN1NAM02FT062:EE_|SJ0PR02MB7325:EE_ X-MS-Office365-Filtering-Correlation-Id: 79a00efd-b192-4b3e-8fab-08db46522745 X-MS-Exchange-SenderADCheck: 0 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gXNNtqEbBYoFhGrixd09nl3CH1Q9G+23z8Dz/ZEBHfgmj3v/F0HOgwgcptLRpJbbs6qRs17DoitjaLcSX7hDJENBpJyYD/j0C7lJmWWiczQxZFxi68qGAiKauUq/zAzgq+3FDDil6mkS0wrABjBOs9SzhPuBpZAPI3BOsfknrg1Eg/Z9C8Fv6GEch1q/qXgnYYld408Ix2IkGYaX+mgwuo2HBkHwfR9ympIAk0n/NJgXyjy0wSqfLatE700r0NUJwUeG4Iwxu9pPS9MxFry9oYr471LXkdpP1DJlIQmBjC0gc6f43KaTgscA/tBJ0IC4nSSTy3Fwe2zUBRMcSTOqWXTJvsi0cnPqQMMYUwAOP8Nio+EAlsygwEkvt6w1BwtHNfCLhiWH3TxfkMyj1m/6KZvsDhfKClxH6alqsGK438aYUrjlyGzv2Q/FNaLEiJmomtEi/jrbPZpZpNgKegbST/mIsG5XdVHEfTMYlM/8N/7N644bu1Zu8flm07mN9Uwybiwf8pskS4k70vtIwW/kg/U9N3aTYLodTBkQIeoJ/XlrfmzcMBsvXBbmQlP2U4k9BaD4F/GoBXKRFqLHgx1Fw4PO0ADYU92JlI7vYe6pB5o1cVGBw76SOe/h3AGdUpA033yXje7JzDtQI0ZLzBrqZDMw+C9ZP1j6/jMxfisM7eZv9NqTtHa6XKnsRO+SUdVlWyeg/hAd5EEFy0lu+qEYcv39/NIZnzS4My8WWRilKCAQLkFV1jJDl4zT3NTMevaB X-Forefront-Antispam-Report: CIP:149.199.62.198;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:xsj-pvapexch01.xlnx.xilinx.com;PTR:unknown-62-198.xilinx.com;CAT:NONE;SFS:(13230028)(4636009)(376002)(346002)(39860400002)(136003)(396003)(451199021)(46966006)(40470700004)(36840700001)(478600001)(40460700003)(83170400001)(42186006)(54906003)(110136005)(6636002)(36756003)(6266002)(186003)(26005)(82310400005)(40480700001)(6666004)(316002)(82740400003)(83380400001)(4326008)(44832011)(70586007)(70206006)(36860700001)(2906002)(4744005)(7636003)(356005)(41300700001)(8676002)(336012)(42882007)(921005)(5660300002)(8936002)(47076005)(7416002)(2616005)(102446001);DIR:OUT;SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2023 12:31:26.1783 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 79a00efd-b192-4b3e-8fab-08db46522745 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.62.198];Helo=[xsj-pvapexch01.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: BN1NAM02FT062.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR02MB7325 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230426_053130_044913_E0F6C488 X-CRM114-Status: UNSURE ( 8.72 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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(-)