From patchwork Thu Apr 25 06:23:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manikanta Guntupalli X-Patchwork-Id: 13642886 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 EA511C10F15 for ; Thu, 25 Apr 2024 06:24:30 +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=baI2ScaZqz72nyV7mFf2pdn5TWM6PcRjdNHbb8gMmok=; b=YgJCt+Q92hJVU0 Qj2ky8U/vquXRMyXMY2iwrjB30qj3wx1YR+Oe4nyMoo0HEAfKFoNwEiM3EF6Dg1GO34SbebLkm1kl pi1k96bf1ktFpLNqycngMw4Gz9dlIoMcXa4bOe/WpNvUbG4fZjnP7P/8jhrgRP4nUUyjC9lr3rEKG ECF1vNJVXfNe3x/IPV9VfXTB6aroItBkGIhvdotat69VbaCzqa7il9vlxxZo+V/bOvRKYQwmy2ntO J/OuqfmoxCLyY9EkKY7WWFWChS4+YHjvGsnHfFGr0FlftuCbJb7JTMGDPP2sv08gJHB1RCyYGWUjx u7yQS85FFc/ITXUq0BBw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzsWs-000000077IP-3W85; Thu, 25 Apr 2024 06:24:22 +0000 Received: from mail-sn1nam02on2061d.outbound.protection.outlook.com ([2a01:111:f400:7ea9::61d] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzsWp-000000077HX-3Nuk for linux-arm-kernel@lists.infradead.org; Thu, 25 Apr 2024 06:24:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cD4J2KIKclonDiQPpQ98CLWla8Pv1RX1zdTn7V3AJliDccRsg8VqhGI4jV67eWKFCtrCpgunutr4zvK0OUROqoNFYQIphYkNdA1w5QBt/IbbBqtPF+re7xuakLBWMBOefgX6jPnn47QvWmcu9q8njnA/c/KxDkfvcBy67otn8tuqN1a08X13AuNQIRsbv5Vao6qNkxA2SdPt6wmTW8OFcF+LUPsaN+QgLHRDTv1bWlo/pCIFscknLDCQQKYYQtYP8excQJRHis68zuFn2j9NsvYxp7VHD+TFjwLY94w+yC/ReuP+r8hhpbZdn/SPrFgzXGfs8qX50ld7f35/1oQKnw== 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=6MXYMXALXCRlDvlVA0r1J9RnGVeFpBttlnPZnxmBSYY=; b=MI7cQuXag0TOv8cj4wPe8jyMyhX3uzgJj39fnqdXaw1yHA0PGFJkCeZvsPouc33mYKuhH4exrNhH1HX2mo00S2Tj4QvhY7k10A+GYL/HMHNJ+EFuJG6haz7VsqyECFPPr4KBZKjj8xFDBuHNouE0lFlA2dJjNh0hiHU9F0GkYtj7Jmi5zQpdm9XaUgrTStEps+gSfA143bjFa263HhilvlC39fxkpEwyNeRYl2VdLjUtLqvC44DCYXw2aw+AoNYSpcwEg6t/tgK/EDwCF3WMuMXCbTweGkLVbOYn4RFmuHrX881IBWU4HXfZaVLj2vjMhPF9utSERQGXTIKp5W31aw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6MXYMXALXCRlDvlVA0r1J9RnGVeFpBttlnPZnxmBSYY=; b=hIDayZ4U8mU7fcQowviWuQ1kHI5iH47j2Xrd1BXuRLfUfnEJTsaYa6SRZSeAmqgkAXowlgcxO5q6wF6byJ7cyhSyx53c52ePM+ibHIWVySbh3jWbLootybAq74PKx0pYN4Se3yWGJbvHTnc+UgFPsDC9cJPeVy87QG8YqpKOvLk= Received: from DM6PR06CA0015.namprd06.prod.outlook.com (2603:10b6:5:120::28) by SJ2PR12MB8807.namprd12.prod.outlook.com (2603:10b6:a03:4d0::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Thu, 25 Apr 2024 06:24:07 +0000 Received: from DS2PEPF00003444.namprd04.prod.outlook.com (2603:10b6:5:120:cafe::5c) by DM6PR06CA0015.outlook.office365.com (2603:10b6:5:120::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.25 via Frontend Transport; Thu, 25 Apr 2024 06:24:07 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by DS2PEPF00003444.mail.protection.outlook.com (10.167.17.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7519.19 via Frontend Transport; Thu, 25 Apr 2024 06:24:07 +0000 Received: from SATLEXMB06.amd.com (10.181.40.147) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 25 Apr 2024 01:24:07 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB06.amd.com (10.181.40.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 25 Apr 2024 01:24:06 -0500 Received: from xhdsneeli40.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Thu, 25 Apr 2024 01:24:01 -0500 From: Manikanta Guntupalli To: , , , , , , , , , , , , , , , , , , CC: , , , Manikanta Guntupalli Subject: [PATCH V3 0/3] Add support for uartps controller reset Date: Thu, 25 Apr 2024 11:53:55 +0530 Message-ID: <20240425062358.1347684-1-manikanta.guntupalli@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS2PEPF00003444:EE_|SJ2PR12MB8807:EE_ X-MS-Office365-Filtering-Correlation-Id: 943acd8a-0a49-4c75-7ef9-08dc64f05016 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9emTQqJBFFHobgEOYDnwLsc+XfZTgdia8/GXMK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wy8ndovno8ja9vtvpLID/fW9dobkj+Oyp94vwdjcKVroxFHq8VxWd+l7+WNInZkEgeEMowZ0LOBNu8036bKBZWBk0A31tdG5GPO05OXdTnQ5HoaxoathZk477rd5/2b7EuBJ+CnzfrVoBufPCe1YbCdS4V3eaweQYbGQ9yT+ZCoWlkA5ZU7QAWiJWGI0jQGD9zVgGf/qu+zFrty8doE1OFMBwAcyn4XYELAF7UUiic732O8j050MWqav855z9YuUrC0Zr2dWDFcYrJLS/USQ8Vt9eGe65 X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(376005)(1800799015)(7416005)(36860700004)(82310400014)(921011);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2024 06:24:07.7410 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 943acd8a-0a49-4c75-7ef9-08dc64f05016 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS2PEPF00003444.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB8807 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240424_232419_868678_2F68C668 X-CRM114-Status: UNSURE ( 8.39 ) 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 resets property for UART nodes. Add support for uartps controller reset. --- Changes for V2: Added ack signature for binding patch. Remove check for reset_control_deassert, as reset_control_deassert function internally has NULL check. Changes for V3: Corrected typo in subject of binding patch. Manikanta Guntupalli (3): dt-bindings: serial: cdns,uart: Add optional reset property arm64: zynqmp: Add resets property for UART nodes tty: serial: uartps: Add support for uartps controller reset .../devicetree/bindings/serial/cdns,uart.yaml | 3 +++ arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 ++ drivers/tty/serial/xilinx_uartps.c | 15 +++++++++++++++ 3 files changed, 20 insertions(+)