From patchwork Tue Sep 3 07:17:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13788142 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2064.outbound.protection.outlook.com [40.107.22.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5E43E205E14 for ; Tue, 3 Sep 2024 07:09:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.64 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725347365; cv=fail; b=pgIplHlyF/ZMB7Sg5YLE62P+4Ab6pwgHWKMQ1KxMAO6OkfxzJiXv2sqICR2WkTYtl2iNBxumtOC1BzlFkdeYkThwayN6Pcvw6AEgL6fo/xitQuD0gC2/s9Ur4DFp1pKLFQsr5qgIlx4PF3/ccJE+NHM43q6/nLkOHkFsBkOtu2E= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725347365; c=relaxed/simple; bh=AOW3qJIK3PnIJkBgDHPLbX9ja3EsSAXc3rFMnTlymAg=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=KnHj7Z4mZufAq6cfSQ5gaqhOiSqRIa8VBxNaBnxQEyCbSV3tFWKb/UjMR5rQMM3N1kaikRThZUbZge8YJDzng2mu0zTlx+yY85do1SkpBisp6THgaoN8HoOxKa/Ptk+iGRAjP/rU+1VaShPl0cMLpmBhvlwamjoLrmIcxBlzelk= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=DBYwh9cv; arc=fail smtp.client-ip=40.107.22.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="DBYwh9cv" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=uiQozhhFANdD3//8YtlG1jst0MR/GtJBXf+1lpyOVhcn+tHuxmS0Ean2fr34xQlRYl53KB3kstMS43V7Xd0befq0z7kIzml1tlEA8WsWbhhauje6Kfcn6DO0xcc5gya4Yy6miv3hYwKkwyf1ON9aN0QzjSYbhjmS8yrV0reDXRYtqqQap9M4Zcziqtb8fGNu/b7KX+YhWWgnfeZ6G0vx7OvuYC12jzvsxECivRkklZhJfYEiyzRBr7s9nI+T4gFPZlY75s1kPxwLSfnSnWW1vA4fQF5HUgYUPzNdiRHrhgmGjbr6q2fmuWMdleLB11GHtQrN7/s3/w+c8MVSuTwXdw== 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=24Q3gOMGagIDtU+Gq4rLz3OCK4s4M2hs8o7OQMkyeF8=; b=TKmLhSsw6wuNIE/koW94pTlMosk+a9GmYWOFsQ+iEACx8sLL1QM6uYHFmohEPLMSbHGvqnyA8Srz4JGhbtLZ6imEJPw4TxfcajibCwFevpcLq6154xObTWaD7jIA1BG7MHHpvJ6S8qiN6pn0LxNNnHUldWjW6cDBKd+0DrMqYzard8Cspev0cUfzQY6NyZqVi+Rj47tLvALzkrWM1El0Z8JiT4jI7MuFoismRC/aibI55AvKQXTpmXH15SCmLGYq547GHweEasnaW9pCgcZtl5G7/swzVHXwPx0k5tPWqfNkKrUyuf/gVVwNnWiivl9eyKEedk6NzlB26YiK+8Ox8Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=24Q3gOMGagIDtU+Gq4rLz3OCK4s4M2hs8o7OQMkyeF8=; b=DBYwh9cvcMslxlV0N+YME2s60Z7I2snbscaFsz/nz6v8vh4kFpLPprcdVbyMIBXc/opDov4pBGpBrhHJJmtosAH9JPItWGRelIn03z9Gdg8bdaYAnkubLSitY10tIBT4B5/RDUPlumbVA2cGTVrm03a4Nid+XnudQoDoXoTEhMzZ6gsZ/rvTS5eUwK4kbSF2s+0E8qq0mPLiRz+ex2RIkmoY3JiLleXOrV2OxqIHSyCvBw8BLW+DwnOv/apo988XgqWOGTj/uxfwqwxBaIoeMgN4TWYNPx1+mhf1c1qJ0SnjPkq6RL+6OJMVBnf1ChEv+4muHa6O7WDDaZ1P5AVRfw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) by PA4PR04MB9365.eurprd04.prod.outlook.com (2603:10a6:102:2a8::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.25; Tue, 3 Sep 2024 07:09:19 +0000 Received: from PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630]) by PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630%6]) with mapi id 15.20.7918.024; Tue, 3 Sep 2024 07:09:19 +0000 From: "Peng Fan (OSS)" Date: Tue, 03 Sep 2024 15:17:51 +0800 Subject: [PATCH v2 6/7] arm64: dts: freescale: imx95-19x19-evk: add nxp,ctrl-ids property Message-Id: <20240903-imx95-dts-new-v2-6-8ed795d61358@nxp.com> References: <20240903-imx95-dts-new-v2-0-8ed795d61358@nxp.com> In-Reply-To: <20240903-imx95-dts-new-v2-0-8ed795d61358@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1725347874; l=1405; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=pJSS4nFlbHegGKzBbz85OQWg077AQK46lC4okdt27kA=; b=glyYsd7mLt736v3fQE8Krb2yiD/OjaL1kuVrHmciwatGzdRJvlv+KiKCxQAnnHEheWbwKAhxS FP1sM8AeaZED3t7k9mLYttf3h9dF5Q+t1T7p+lfgmUikxGQ/cSSSAii X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2P153CA0026.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::18) To PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8459:EE_|PA4PR04MB9365:EE_ X-MS-Office365-Filtering-Correlation-Id: 3a11c533-c4b8-4b6b-bcb4-08dccbe75430 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|7416014|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?x4tZXKHBvsPbh2Gpr//BxfZ7TtboyJc?= =?utf-8?q?Z1AGoIoIYZWSag/et8NqQrav46dU8N5xJu/t6UnMmh1nhYQjx+uvKgL+X6iQ0v3J9?= =?utf-8?q?L8OpnY8i6Zx8Fn+1WhhpSdCmeBNLX2KzVSrTzat/gjZxWs9R6ELhAjrf94P4zWC5k?= =?utf-8?q?bEF8mwzz7a/XlWhORCKuZJoHmsf6a0ZjTnR+66oHlE2svesnmVkayJRITB1wbHNrV?= =?utf-8?q?c/uTNwhx2E0g/Qm0HKVQchEEWICag9lJ7cTfeHEwnV7blHsE5+pVMgX7xFrV12XWU?= =?utf-8?q?dzIV7GWdT6FhXFxRnva9Jgz1cwDjkURjlOKjYrYnkSXgIT9hF62iCcvsYZV7AlhUh?= =?utf-8?q?TBOhtO8dZN3qjTi2Atl6vlCEJOfD4OJ+iaelFMXDutjw25/j3VbAI5IvEerSf78zU?= =?utf-8?q?Zo1xOVJiZiGjNGGmY3jPRiOm7+o+erjrzcoZVzfsWhxDKaSldQ8zxcVZ0hcT7yDgz?= =?utf-8?q?EXJ8huqJvC94acURMSlZhlYQ8VaWXtJyTfd2vDw3CcyG25/s9bgzGf5LRFruKraW3?= =?utf-8?q?BerKpSx5kyztu67fgmGXh/5aNGSsFaI8JtvR84mG5x3wFAMed+7qIPw4aCgxWGVnQ?= =?utf-8?q?atyro4aM+8pr7JVQgw48Swu1JHjHBn64zmEBe/ZUEte9CksxmWukfmg4FIwXhKaMA?= =?utf-8?q?yhzLoX//yIYawDnTdPPY5hdRjs9tsyzuNTAB3riydbqBkyCf7wAZlUfPbzfSjIn/6?= =?utf-8?q?sAHLt1uOLkj6mGOAbmeZCP0+mI0gBDnStONY93nqYr0pAkPYnRTC1nl6wVs9SHDN6?= =?utf-8?q?rvOanAtdLvwVLDUXywBSvEGGRf5FJdbYfv+9TO1CvmY+tfjlqaAbHpFlKzVmzP6hr?= =?utf-8?q?c4ug4dy7mh0UPkbwC8f43n+LIvPB4dhYKBKNMx4oUXGNGxMEg9BvA6fHZpFwdYNY/?= =?utf-8?q?CxHg+wUtY6Q/qhR6zPWk3poS321M5T+7U5FYbOLAV5TWjnrUg5KneP1GcWerTX/bP?= =?utf-8?q?AX91zjOFoiHqJtM/aD3Ym5gA6jA5gmXcRq95q7TZB3sXCfa306LEsWm91b8XmP5t+?= =?utf-8?q?ELnb8jM+/vkI/WDehJQCkd6nZ2mEUjOSt+IDIfP5nJK40A20E/t2MT2QCvennMJW4?= =?utf-8?q?g8xTzorLqoVsqL3tggcEtrMLn03XIctWhXLYh23yQAoa0bwTG8V9Cz/0JVzeNJxsK?= =?utf-8?q?0bIRvkyNfnYjkVi+3tgxxEGJAjaLBL+WTVJ250ivYAb2/dV0pt/iLYnCb/b4Waafm?= =?utf-8?q?LsQjkk6C9mlaw9Z9zejyhsH059oY0/Qzprlu5xGatK1G2q/R4BnPYpEr/PvItuB4C?= =?utf-8?q?lB7RcSa1Oqd/t776Q88O5dsERNKJiKlNmbEV4SJxL54MLGHbUKV/M0iz4ld7wHM7x?= =?utf-8?q?ok04TX15q+OqX2lMp0OA00GpZYpfUme0ew=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB8459.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(7416014)(376014)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?LU6QW97P8KVy6/R3Eeej6v/ir6gy?= =?utf-8?q?VPSgPoSK/nwOSxUchuaeBCNHcfdafXaU7CpSpaZkt2ecrz/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MK+koHo1Yvs61xBr?= =?utf-8?q?o58V27mtFhSWoaFvKsofYYCyLG6QnmQrLMpy621IWts5UV086lOWLNIVIR/EQEh/J?= =?utf-8?q?aQB3bIb3wB8dVs5BRZnCaf3VMHtzP2gaefWoIdOb715FjAXdfzNaNdffXkRBEd7F3?= =?utf-8?q?QCY9oQmIzGlpCZ5Oa/AKcn/4buCBkj3/5+rixVfL2pxMrZpqP2cK2FYH79Vskpoj2?= =?utf-8?q?o/foxB7JLoOPU4QKFYzSu1yOUaqZmEOgtg86jh9BbJf1CVLsRbTV5GduhACTgUR8K?= =?utf-8?q?WX/GtTi6moHq3VjHBDN/67VnsntsbeOEOihT+R6gtcCSQTrDiTIZHJvRvsxMxU+vj?= =?utf-8?q?44tEuD70++gmFohYMLEv/HwNnlS2YX0D0dh4mmID4/d84cHTbUkU11gufCiWkchO2?= =?utf-8?q?+K8CujGazVQacySOkQ65CLNUFg6ljgTre+fNl4vUbIx8awK2EJr6Hg7D/C/IMy3M5?= =?utf-8?q?Vqs2make8X3NXjWvezx4YXhUETZ1R24SxGwROUtoKoqkgGaX0oVN5BP5PDrzYJKHf?= =?utf-8?q?MZqZEsCZ20COdear7Lg17hhySrq1qfkdrsT7/t1Jr6sh87I/va5m25RdeciRlwh/5?= =?utf-8?q?KfGG8OvaUuWL?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3a11c533-c4b8-4b6b-bcb4-08dccbe75430 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Sep 2024 07:09:19.0923 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ZddcuIr/23yLBLwvcLlnyt69ZhFrzgy4hCdFZCVoNu6TAHh4MHf6oQ+kBS9yBa8vZBWx9Mcz78yM0cMtdz8jxw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB9365 From: Peng Fan Add 'nxp,ctrl-ids' for SCMI firmware to confirm the board ctrls as wakeup sources. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts index 37a1d4ca1b20..5101cd171e09 100644 --- a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts @@ -8,6 +8,15 @@ #include #include "imx95.dtsi" +#define FALLING_EDGE 1 +#define RISING_EDGE 2 + +#define BRD_SM_CTRL_SD3_WAKE 0x8000 /* PCAL6408A-0 */ +#define BRD_SM_CTRL_PCIE1_WAKE 0x8001 /* PCAL6408A-4 */ +#define BRD_SM_CTRL_BT_WAKE 0x8002 /* PCAL6408A-5 */ +#define BRD_SM_CTRL_PCIE2_WAKE 0x8003 /* PCAL6408A-6 */ +#define BRD_SM_CTRL_BUTTON 0x8004 /* PCAL6408A-7 */ + / { model = "NXP i.MX95 19X19 board"; compatible = "fsl,imx95-19x19-evk", "fsl,imx95"; @@ -357,6 +366,14 @@ &usdhc2 { status = "okay"; }; +&scmi_misc { + nxp,ctrl-ids = ; +}; + &wdog3 { fsl,ext-reset-output; status = "okay";