From patchwork Mon Sep 2 10:19:28 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: 13786997 Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011048.outbound.protection.outlook.com [52.101.65.48]) (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 9DA691D2F5F for ; Mon, 2 Sep 2024 10:11:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.65.48 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725271868; cv=fail; b=jhuA84y0ULfX0S4w678ehQhGCp5cu5KvicrHYAZRNv58WX64/bLrkRP+lgb4qixwndMT2qQUIHRoe72I6hXR9jRhKMiahbzYqfjguY2D4MSYgM2JQeUlm6KQnTS97pyU49ECN2B+whxqVWppGYf/mcPikm+tb5XHlHFp1eP3sjA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725271868; c=relaxed/simple; bh=AOW3qJIK3PnIJkBgDHPLbX9ja3EsSAXc3rFMnTlymAg=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=jSuNlY9g+TgR0BYLnQMOTbAGOUYJp10aCLddD5962E3g3WUxUH39WBqoD3l9sm8mu14/aVKuvzAnm1HtZ1Pum3liPxmNBWVhzfID0vAjOYa5y8TWqeBrJUIarGqtR2EpLIedDfXuyYnWPMJSP37QEL1GX+Pe/1Q+lsIy1Ce/Z2w= 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=D5Qu+SWM; arc=fail smtp.client-ip=52.101.65.48 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="D5Qu+SWM" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XgF6H1Dec/rOmE6ghxq90iHAnfbAmyfv34DeBVVEHrpaffgjZaL1oalWiOdigYdFC0s94Fy0uoZynQG8miV8NkxjFCreJiBuUDJDbRWFhGwrl3KL3+PQTlkbZ+QrWng/grB70K15zsMqczMnreUu4GzwoI/S1jeDwjbO/SNaN1C64z5LfE8RUcf8IAJQ/TM7xtkppJXnqwRWurMt4kb93O2WLmEyX8pgCJceGFdMWnEiqP+XYkUrtInqcQ59ebN8aPJHEaRQ3OPoA+X9DuD3ZVHEXw1UBYKCZELKXlk9dr9K+6kaO+IdlisE0eu9gcztIHLD31i+qpFlGocmmL0oMg== 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=uzAEKeNWFjT9BZ+lhEyNwNH7n3sTUl0mMRrDSRbDsgcpevfcsVT2gZymAkdaW3v4CgejVatuUKGU4pX+ZftT9pM8aYobhbsm2OXpUVIPrj0KZOI/xLQ+1twAv01aV5bBTT5J4bTcu2XBD4Y+HIsLJXrWWoAexZ1we5Iw1D72eAZHV9ssgd3e4xSunTEmvKx2JaenOOHPij77vmmdK3mcY/yS5q6MBwk7CPSxeEY+2bbAV1fonbA/mFUR1YVD4mP2mUdMpflbR+VGKSo7FYaUdhvyzviL3iEPEH2Qv1EpQwGqV/fmiafGKFBufDqFJD4hxZBI6VYHM5p8sFHmMSN1AQ== 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=D5Qu+SWMIRfnBEFBTDfjn/qtt5ktyiaI6uY3d+NzaJhkj3RFOmv2GqGlwJepr4LKMJ07b3AeT+HKfpNyR+4uMCKb9YKCUIljRU1uG7xs5tN+uMTurO9vjTAdRYTXSu643w2cN+oRUtDsdQoFetBcdsUmMxiDOBUk3l8dzia1xUstVUWiCFDLU8IEt8ZRFmprUOcB7pESpQ55CMwDh4JUuqnyA40BD0pDOZjGX5NwRN+QwoSZLacOevbfljk9BaABAC60KVUf/bqa41qD1R6WF7Toikgt1fC1WduSWNv7ulmVS77mZ3WR1evSrz/otntvsPNMXVxBOhPYHMUfRw1ROQ== 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 PA1PR04MB10099.eurprd04.prod.outlook.com (2603:10a6:102:45d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.25; Mon, 2 Sep 2024 10:10:57 +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.020; Mon, 2 Sep 2024 10:10:57 +0000 From: "Peng Fan (OSS)" Date: Mon, 02 Sep 2024 18:19:28 +0800 Subject: [PATCH 6/7] arm64: dts: freescale: imx95-19x19-evk: add nxp,ctrl-ids property Message-Id: <20240902-imx95-dts-new-v1-6-a1f798f4f746@nxp.com> References: <20240902-imx95-dts-new-v1-0-a1f798f4f746@nxp.com> In-Reply-To: <20240902-imx95-dts-new-v1-0-a1f798f4f746@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=1725272374; l=1405; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=pJSS4nFlbHegGKzBbz85OQWg077AQK46lC4okdt27kA=; b=pOTHpYlNMqUUSmFT7ivvKahkkAb/a2lNnSQaJY4+6rShwkrpGXwaTahoobl2XA/SSsqGChuyc k5DV14LyJvNB3yyubd8k7hPjAhh9PPpphgqmupfMV8YChJ4zvHbo34C X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SGXP274CA0021.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::33) 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_|PA1PR04MB10099:EE_ X-MS-Office365-Filtering-Correlation-Id: 10f98f76-5513-4041-7fd0-08dccb378983 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|52116014|376014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?YJCEqeDTvwERVn9zhB5Fsf/pG1gjn+m?= =?utf-8?q?Ko+vsj2A+h/FHwKOriXPEvM8xuEoora/e6D4Nf9ZOd1H0hgSUce8+LfAojBRX4jbr?= =?utf-8?q?CmSQqTIg/74zUuYLzrvR1UryX7yzqDb8v4wwMsnYzkv6Rbedm/KL0NZAdFEYzq6mb?= =?utf-8?q?eEbnkzyB5j+o+RnYjkImOb2VjOj0TzybLB63k/5GjQCLtDTGFFoG1xKjBB7ZGvKwv?= =?utf-8?q?ANma9KTtTiGitoT5LzchAhD9S90vvUz09QYe3XpnptN3KijWGzJhkfDYn7V73D050?= =?utf-8?q?pCXcLfqOgMOBg4/fXiNLedl9Ymb3TC5UzYjQOLIRdnvgVIq7Dnp5Snc372OexWSZf?= =?utf-8?q?hWuNi3Pd8qHEQuHg8tu3jPF3Bp8ixFfcBsVYugc/G4Zkmnes5fTXVbDVgDbsas4gh?= =?utf-8?q?P6QrzUapvMQDcIk7kSpHt0nlBOfk6cVjxqqaw4pDL0u0HS+M7Th93pwoDOxJPUKyl?= =?utf-8?q?VysGJugmlLjh6a6r0TOz2eTyu9328NuaGaZmXcv2PXmxmxNwxdxwM/pCOp4REObac?= =?utf-8?q?kP8+anH4c9h4yEq2mUvAZgblJ5tDo19I5zHHdbgyDhQM4KWlYuuDtyxnkKgUN17se?= =?utf-8?q?qR8eyi5yBjhEker70CxMnTfjRfUwH5c+EnEGszJXCjnT/MXaau/jjA+q7KjrafS7N?= =?utf-8?q?47LGmfgVWInObAWBJF61xOUKeGpWQ9yH8hTHz/om8/g5grOj7G/b6ekveSpFff2p1?= =?utf-8?q?BzBFTUPWM7a7r+i5IJ5brDbjo0luQ8xnfR3i+F5sTKcCETWSuEp4JYZI2HKf++CRa?= =?utf-8?q?yKib7d0UVdwEoDgfomsZ4H+eSOHDe2K16D0ja29wlHLBKeD1LXoqj+jtRPqhDkA0q?= =?utf-8?q?zGFEvk70mY23ZIBpQeHvoHC//SgZBiXdBKBM226RPeGZRkoAnvFfrUWEg7/geTpxe?= =?utf-8?q?QH6Cg4stdlRpis0h+CHNodIJn/z2+5pSSNydHaYo5SoNvBl6yhcqBJrtkssqeWbPZ?= =?utf-8?q?mc9pX5flVaqXoP+O0QRmpqvg5tmXVjZVbH+499Tv99cf8BFVx65ojbFmIIQ0u2eQ2?= =?utf-8?q?23y9aqk4QoPUBa5ObhiP2Rs5GS1I2HaDGk6MEsN2vzn9N9CK3BW+r7rLKBYPvMJDS?= =?utf-8?q?hp7sA+hdnRSD/IkSjt1earhsmhMnAVnL4dHHl7QALBInyUkqXn3Sl8+jA0Uhg8BlL?= =?utf-8?q?Fw4nWjqGiQkubagfeBryP7W19UtFIB47M+PHTQdSk44Rn1UBXqHPOiBS7D6tCiG2+?= =?utf-8?q?BDqoDLt7KYQlyxuc5fe35wBIRV/PbvXRChXNQzmvkciR47k9Aw/94peBb5ebNX5Hk?= =?utf-8?q?zXv0FB+pBY9Stbtv9uH6DclgkFIRb4X9XsLIaI3xslOCpFvRgBCupjwssNFia04tY?= =?utf-8?q?/MZQjIp4Gdd/trOgExoILi9s7u8nPDP8jg=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)(52116014)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?JU447z+yWvR6mGKVMrE2V4irt2Uh?= =?utf-8?q?tXiXHHbc2YF8GAuPtkNxDPmHdRkCpxwGqa3oRGYpsh6aFUw0IKct9cHme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-8?q?omjFRd/ad68930XjiUKk6HI+HwoBBNWNwf2bYoI//50Y8z8y4AdKLwkxqjDqFtk3+?= =?utf-8?q?6u0Mh0YFl608NqQePZSiH+cdQCJrdWWmLjuXKo+87BEXZHesOeSVQbeXdiZtvZDts?= =?utf-8?q?lWOh9e95MWT1upWCGpL9ta117v/u60dTUs05uRCztpbpqPR4Rw2ZZl74W2so0Wzzg?= =?utf-8?q?oYlvXnONh0KBoR9KNN+jY4P4a3nKNys+oSV0YtFk7GqiuKf6dmPxUX7iEVMI2qGb/?= =?utf-8?q?6Sd4zO3e6M2SVFJeFBYDQi13sSGjEGqiMALy+20SomKvAktSTtM+RcOg2nEl5QzFr?= =?utf-8?q?47u/zVS1xB2jJbeIKv0viPfS+jOPEmMECHXy9ieA8luSrY3PIXdQEOGTN645kb+0c?= =?utf-8?q?P1l7RJp0azWBEJEcwtX14c3ssBbIi5PjFTC4Z4UkrLjMNXqVFKRjp2E0XFB4gIfcn?= =?utf-8?q?Nbn48iY2QeGwMUYhEobGFKMmAStPas3AWU9z7NnaXsdwz0lGUiartRCAv2g0LV8Ju?= =?utf-8?q?A7WVbMLLn79RRm+yrCfWnJWcdtBhs3IAI+ejIrfx22+bX81ULI7exyNbyIot2fs/4?= =?utf-8?q?sbAOE0uGA29A?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 10f98f76-5513-4041-7fd0-08dccb378983 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Sep 2024 10:10:57.1220 (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: WuHwt+3DalebnWJXsA6A/39L0R3nSIHLTJ2Abt7oQoCouCVSJmyQ00rI5twd8rWoFlBgZUiaUdXtVCUkitH6EA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA1PR04MB10099 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";