From mboxrd@z Thu Jan 1 00:00:00 1970 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 223DDCDC16B for ; Tue, 6 Jan 2026 11:57:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:CC:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=uYsASLbwbm+fq/VMNQlfnKq23ZF0gXqWCY+BRgfBcE8=; b=Il4SIaukYv8HGIvXQlD+n6nu4P 8bnSLIGR5yTVKwY//oCTVkRPSdNMAbL5ZSfjmlCaiTST1Oj6zIw+TbnsWrqHIP884gF3QIsQd8F4m dS2CA579Sus6RXW2ysmuR9q1HTwJalI975pS12OCDvYHLAyVm0kW670okgRPXvaJiEEda9MsvGnF1 tkl51LyCsG4Kgby9s93UcX7iqvbC1J3xLIY9eQYJgtQ4JRs5foV2fSkT5f/VyIoyoxhxeNqPeVkxd uqvLevub2W2CG1UG1Bs1JRO76RkMVBcF0pM48KaokpRiiRoCGa2+YkLoeRIwjquPRke3OrwHy8Su1 j5vmsSJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vd5gx-0000000Cw4w-10yv; Tue, 06 Jan 2026 11:57:39 +0000 Received: from mail-southcentralusazon11012006.outbound.protection.outlook.com ([40.93.195.6] helo=SN4PR2101CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vd5gt-0000000Cvzs-3WH8 for linux-arm-kernel@lists.infradead.org; Tue, 06 Jan 2026 11:57:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=i/Gb3e2BDy8a4wv8Vz+9sZoHsJVWTqp4AlFNd20/mqFI76XsBUD+NME0eZijo94tqqzpp6WECwVy6qWmNhrFBpk9AMWu444Njqrd50fTnnhXYEbmxrEn+mRX4TgXIW/pE2fB/qHaKmWs4oBlJY8/pWPyTiv0CfY/jmB4jG4MKmySn0VGVpNhJdAWQ/6M8tOmRZpfd4B6t0jv4rySNci4cbss43USj+rVL+EqxqE8IJMhJfof6YxrO7lBIZLTMdjeEYWrlh/ZodVZOv/RjYIz5tnkKHeqM9dPNz/GrUPi35e0PvobfE7LXHkdzX6JTR0D94VbV1KCHAfeRrmU+igjVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=uYsASLbwbm+fq/VMNQlfnKq23ZF0gXqWCY+BRgfBcE8=; b=vsq05J2ub9z0Nn5ntkRrfWRHQhefJGahXEYTFx2AsO76DDIDjs3frC+AOevvJ6X4ISdNYjB8UBTnJTBVdD7kbktJTaC1E3/JNoxkxBypSwEFW/SQqM0FfE3ne3v6FjgzIUQT+2s5XNixX8C1KWueutj5VbDKuZlhNoUcHirG6izOjJ7Wf6K2J1Z5do8wMQ/Xrw+KqI3uDVoTPc+QsBiOHfLHcpTdb2NzGuk8fD6d8XMrtvPpT0M/5LuVSn8SoFkez9NeJSFPLShmTPzGv6Flft0D9euR1+BxAv73jZLneKOXOz6x+P6alUijmf2NzNo3s+ioDfZ442K3WUbbW0DKGQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 198.47.21.195) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=ti.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=ti.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uYsASLbwbm+fq/VMNQlfnKq23ZF0gXqWCY+BRgfBcE8=; b=YxIOygXjD5uFNwPgJ3mKWcyJ+ePkd18NbWHSMM2pRqwLZ1X1n9sX/YEdMdqUMVWok8i820RQcV53YAloU9aq3Pz3WuRoI1izRrNRjXCd2Ewuqgb6LH4ZWNtzvKWMIyUp2gu43Y8WMQUP5BVZdEgXHvyMfmIxEk140icfHgrbcFI= Received: from DM6PR14CA0040.namprd14.prod.outlook.com (2603:10b6:5:18f::17) by BN0PR10MB4902.namprd10.prod.outlook.com (2603:10b6:408:12a::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9478.4; Tue, 6 Jan 2026 11:57:28 +0000 Received: from CY4PEPF0000E9CD.namprd03.prod.outlook.com (2603:10b6:5:18f:cafe::5c) by DM6PR14CA0040.outlook.office365.com (2603:10b6:5:18f::17) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9499.2 via Frontend Transport; Tue, 6 Jan 2026 11:57:27 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 198.47.21.195) smtp.mailfrom=ti.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=ti.com; Received-SPF: Pass (protection.outlook.com: domain of ti.com designates 198.47.21.195 as permitted sender) receiver=protection.outlook.com; client-ip=198.47.21.195; helo=flwvzet201.ext.ti.com; pr=C Received: from flwvzet201.ext.ti.com (198.47.21.195) by CY4PEPF0000E9CD.mail.protection.outlook.com (10.167.241.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9499.1 via Frontend Transport; Tue, 6 Jan 2026 11:57:26 +0000 Received: from DFLE206.ent.ti.com (10.64.6.64) by flwvzet201.ext.ti.com (10.248.192.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Tue, 6 Jan 2026 05:57:26 -0600 Received: from DFLE200.ent.ti.com (10.64.6.58) by DFLE206.ent.ti.com (10.64.6.64) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Tue, 6 Jan 2026 05:57:25 -0600 Received: from lelvem-mr05.itg.ti.com (10.180.75.9) by DFLE200.ent.ti.com (10.64.6.58) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20 via Frontend Transport; Tue, 6 Jan 2026 05:57:25 -0600 Received: from localhost (uda0133052.dhcp.ti.com [128.247.81.232]) by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 606BvPZD2963211; Tue, 6 Jan 2026 05:57:25 -0600 Date: Tue, 6 Jan 2026 05:57:25 -0600 From: Nishanth Menon To: Kendall Willis CC: Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , , , , , , , , Subject: Re: [PATCH v2 4/5] arm64: dts: ti: k3-am62p5-sk: Enable Main UART wakeup Message-ID: <20260106115725.qqyg6isf5q7cg52g@renewable> References: <20251230-b4-uart-daisy-chain-dts-v2-0-fa5257ec54bb@ti.com> <20251230-b4-uart-daisy-chain-dts-v2-4-fa5257ec54bb@ti.com> <20260105135202.vnamexwl3afdt4cw@deferral> <44b21f10-2ad4-4c88-a8e8-f485ecb53af9@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <44b21f10-2ad4-4c88-a8e8-f485ecb53af9@ti.com> X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000E9CD:EE_|BN0PR10MB4902:EE_ X-MS-Office365-Filtering-Correlation-Id: 8cd46461-ea10-467e-375a-08de4d1ac2cb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|36860700013|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?5c3hczwSb8QoIVjFRNeGmlXm/S+idiI8lwI5uxA6lXYm58k9qnR4XrmLQ6LJ?= =?us-ascii?Q?yBdfCt0OM8sl7z7tWfqJfuhgEk8K9Z+h6c1ss5e8esJgw1zkZMEKWXvUaYiu?= =?us-ascii?Q?CZ8DoAJA3+XltZRVH2UgCjtB7+i+M4c6FGx/RKAZ92whP4aOd3CT5lNvdFUw?= =?us-ascii?Q?iBgFHHMeXNgAutBjpj8R7nah7FR2VipYAV+YQi9d1fSDVWNQKtHv5fWNxQWU?= =?us-ascii?Q?mCO1ZPw9eNP8cIi7bX5SnFK+UzXiWgLfvwz+ItBZST8VBvxCAaKCodDHEc6G?= =?us-ascii?Q?6G2cAdg6TZJKwDRhlyKHeOfp+boGlQnVYOGzPeFl6xQ7xNeyNAPp3hQVAucv?= =?us-ascii?Q?2buivfo0+Xh9Htq3gYbuXqZmn7+SwHidahYHSavBGZnZN/2JOwd+JCLcj0lE?= =?us-ascii?Q?SQRLkL5OTiSr3etxqoNezYBqhFD4MV2/w9OtJylSy5xYBtjkJ+P5K6lltLSa?= =?us-ascii?Q?zN4JTTqk4R7rOTVbuAd87hbjLPFwoJb/ESVD6O4qJiw+KR7+LPSu3oxJ4SVG?= =?us-ascii?Q?n7+yrYAI+qBVRN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Bw?= =?us-ascii?Q?MfuikuhgjAoJuFlZKTPx3JpD6N8De5UpyDxNAByi1cMhE8IR20EMtti+Af4n?= =?us-ascii?Q?ziX6Gl0X0bWkIN5reJqS7/aLnlSv4pRhLIoEf4ewcI2f61az9tQ/GUdEPylE?= =?us-ascii?Q?tX3QK2ukz2LsJBAdtaQ=3D?= X-Forefront-Antispam-Report: CIP:198.47.21.195;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:flwvzet201.ext.ti.com;PTR:ErrorRetry;CAT:NONE;SFS:(13230040)(376014)(36860700013)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: ti.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jan 2026 11:57:26.4648 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8cd46461-ea10-467e-375a-08de4d1ac2cb X-MS-Exchange-CrossTenant-Id: e5b49634-450b-4709-8abb-1e2b19b982b7 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e5b49634-450b-4709-8abb-1e2b19b982b7;Ip=[198.47.21.195];Helo=[flwvzet201.ext.ti.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000E9CD.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB4902 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260106_035735_887531_9E5A075D X-CRM114-Status: GOOD ( 19.44 ) 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 On 16:06-20260105, Kendall Willis wrote: > On 1/5/26 07:52, Nishanth Menon wrote: > > On 20:38-20251230, Kendall Willis wrote: > > > The Main UART can resume from suspend to RAM states when PIN_WKUP_EN > > > is enabled. Add the necessary pins needed to wakeup the system. Add the > > > system idle states that the Main UART can wakeup the system from. > > > > Is the tx and rx pin register states both lost? I wonder why during > > "wakeup" we set PIN_WKUP_EN ? is'nt that supposed to be set while > > entering "suspend" state? > > > > The UART driver uses the default pinctrl state when the system is active. > During the process of suspend, the wakeup pinctrl state is selected by the > UART driver in order to allow wakeup. Upon resume, the default pinctrl state > is selected again. > > > if the tx pin register state is not lost, then all we need to do is > > play with the rx pin state (and leave pinctrl-0 as is)? > > > > Yes, it can be done where the pinctrl-0 does not change, and there is an > additional pinctrl pins that has the TX and RX with PIN_WKUP_EN. The logic > behind both implementations are the same, just a different approach. > Keep the diff to as minimal as needed + update the commit message please. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D https://ti.com/opensource