From patchwork Sat Oct 12 11:19:13 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: 13833973 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 B082DCF2564 for ; Sat, 12 Oct 2024 11:20:34 +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:MIME-Version:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=GvcDPZgW48sShMgPRS9p65repKDP5tQIjIcVNnOsSCA=; b=Ksrjh3+HnZAmzRhRRKwJBfAt1k Nmowqc55ZWILyUyGbj2K4dz/KSiNe7riPeDHzq84yJoadi9qXQdT5WmplGK+a8UBUWVSd5+UcvqAT 20tY60Zr/+GNdLx9Gn+LY2aKLm+OJ/+cw3kTG9ShKhyzozLcmmAKTy3MyB/QcmAh4TPaJ3Tdkzo5M Ne7yw6gDfCqv0Hf4WvvbL+9wiTgS2qwQxeyPuhCrvnGY2Bo2/wO0EX7NJqAS4NgkG6YiqLaqyix32 e544e9VLrBvKeaJqZl5cfR1pe+tpbcahQMNJsqpTu/AAw6cXmCVJ8osKSjBQHmXyNuY76wB4kxIbH 56PWRSLA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1szaAZ-000000012mO-21SQ; Sat, 12 Oct 2024 11:20:23 +0000 Received: from mail-db8eur05on20606.outbound.protection.outlook.com ([2a01:111:f403:2614::606] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sza1T-000000011rR-2Srm for linux-arm-kernel@lists.infradead.org; Sat, 12 Oct 2024 11:11:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Pw447UhI/Ay4uRzjbiMQLIA5Q0YxHzIFiKON1z0/OSIzONfOaR5Dng6u4DYzUQqO3FkmC0w9mZNJQg5r+7wB2iLSdhhdew3J4oOIA162Ov+H/f52RVGQ+ZgcXX5Eu79/9M+RoILGnOYqfsALEntP6BrYXlM7i6YKlPaEKkQHDIXdWg8Dj/yI7Tj+EEVzGeVYkwwxmmtQpnsFwSLNrbV1AxFV1d8fU/hDRTaXB8PWfsRFs8+xuaAoPFAdefAB0CIMsAwPXg05M0kmm7QHGEex39IRHoFPjtkgjPcouNQtAwMxfrcSquhvYoytJo950vGKqkuCUGI61y+hnH9JxvrLEw== 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=GvcDPZgW48sShMgPRS9p65repKDP5tQIjIcVNnOsSCA=; b=Q8VMEIdKbLh+Uwz8QUn34h7UacNYkBwlHZCViURLBsm1thoVg7Rlnm3V2eajH0i7M1CDGdpbVdnrMTZa29O8+rnQM2t2tZPY8G3WuYq4pV94pNrgxjIjHbm/6xn/ohmBx4CAZy5+sPrT1dDIquQZv7plqvyY8R7HNECVgj8tiRkanWvV6ivbjImXJZFLloYZbVEsoEmggmoPHv+RwdIE5A37Yn1H/0UvoClUOTdkwrf378ktglLCHBgbWUDQOXzytsNOKK3BkpJRgCVFptGW/oY5jTh+5yLpQ29qMDywuuhwfZ8mp8El2FO44MPtpG+ZVOY7a1HSHyDWjmj2Xstqlw== 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=GvcDPZgW48sShMgPRS9p65repKDP5tQIjIcVNnOsSCA=; b=tqbWq5vbwElgxA/gjlCA/ChwXD9YhKHzLUiInRC9AHuCvkTfXVRbmgi2gxBpL0L080FcsHzdA/PPOLKvfQ62RIPFVmFhHlaoBcXHunyK2MXC1pwZNwMSCC71bKNUFcb34Lfm3bNh/uBpptWlnbDGVdrgsem3ccaK9YnXlXqUkMkLrp7T0XVK5fvcZrFQhQjCmvAJ0hbCOvsW7YvR74T9aX272uICbzCZnT1/S120A7ac1HThdMvBuE/fOEIKSsNRMkfJuMD+b6Mj8v8NzmbCbFBBD2xX4O3hsZmOW1eLiKmGPptRRN0/H3uySTTLMrjvD1PKbcNqbjVxcglv1E8YgA== 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 AM0PR04MB6771.eurprd04.prod.outlook.com (2603:10a6:208:18d::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.16; Sat, 12 Oct 2024 11:10:55 +0000 Received: from PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630]) by PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630%5]) with mapi id 15.20.8048.020; Sat, 12 Oct 2024 11:10:55 +0000 From: "Peng Fan (OSS)" Date: Sat, 12 Oct 2024 19:19:13 +0800 Subject: [PATCH v3 6/7] arm64: dts: imx95-19x19-evk: add nxp,ctrl-ids property Message-Id: <20241012-imx95-dts-new-v3-6-edfab0054c71@nxp.com> References: <20241012-imx95-dts-new-v3-0-edfab0054c71@nxp.com> In-Reply-To: <20241012-imx95-dts-new-v3-0-edfab0054c71@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.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1728731962; l=1463; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=efx64CdU6o516UnSSuW8d4LT5QtBcq0XsS3yN1yX1YE=; b=GCIsaQ2kYgsx2FWj+H6jfsc6VIfjyHYtuAnNbaOys6L4qCjezjWcLgexChXsb0OdnJXXjC12Q HZV/DZ2+/bSByEcFIKY73OfseDnYvU+teTh97hCyG92fTWddCWsG0h2 X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SG3P274CA0020.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::32) To PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8459:EE_|AM0PR04MB6771:EE_ X-MS-Office365-Filtering-Correlation-Id: 4f4b4494-6b6a-4dc6-d3a8-08dceaae8ac4 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|7416014|52116014|1800799024|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?lV8lqoomVtJnj3xFPejgSzGRzzkRnYC?= =?utf-8?q?yJMDAnjlvlfRrVFndNOXqTiUCIIhTwBS1HU66scvFslHsBcSWMIedXusPbA1gHt7e?= =?utf-8?q?N6q6z4aeHrcEFn+Q8pnNeyjz4jbSDZVRqSkGdldNIJXUbCGAZVCmfqG9XTHO6cH6f?= =?utf-8?q?Rlhq++TZ2M3LjgwxbUnF1e8HL4myFXZqS5Wkd/lOFWxpzrDL0e33J4vffYcxOZkrf?= =?utf-8?q?6C2GWBTRPkmQBjFkvqT0jvlNeCRxqVTZ3WaFJb+OGkY+WHlW9z1691y4JhUEJx/RM?= =?utf-8?q?3wC68oItKI/oP+o1/YIFkHSs9/tPfBrFvTic4X2EMePfSDNXMrve5hBYlOb07ebQ+?= =?utf-8?q?Lk6HTTooszR+fluftFDdHZPF9CYzLVh29xAieLftXvPq2dPerNgVC1BATsSuYpw0w?= =?utf-8?q?UbERF2lMmEX6D3rbA/vStajQuyzeZy92LCDrfSutjqq9SHfYZQoR4XI0OqPOWlkxy?= =?utf-8?q?9adfsUKBLL0MMqHu/DVF1YtGgQZcPqjtVK0btgqY4rqNsNXrEkDDlvqEA2FSTyh5i?= =?utf-8?q?Rxt6Z4jF2UI7XEylUmG+1JZrWrRDGfEl9AW36xW0+/ZLibdPIxLnMJd0Pg1ion6ST?= =?utf-8?q?8OtafIYLF+eYbU9CKRq2ENGfh3EiuLxYlNXdaEvCJqGkfj7w6xWpekhiZ8+m2r0Rs?= =?utf-8?q?+2Yy02QqaBlL8/H8WBqAh4ZEN4pyJttUJNB0iPL8Zx0vNyE+jRF7D4WwVEDgThN//?= =?utf-8?q?6tHBiRdDYmmesWr6S5LPcQf0jXLOk12Kfbpt2AypQlZniWHWFV9Ok6SUejf7WEWrn?= =?utf-8?q?n8vNKhJa4Q1+zOVwgO0ne75HkF08ypIhHzNzGolo8M8S8vEf5GGqA/eq921lyMD/O?= =?utf-8?q?/muk8AUVcr9tUvjL6xuC+7IwsSpZF0HXoCCczYmLdXI2dP7a0A7+PldjMYv5/UKwe?= =?utf-8?q?owHBIJ/Ua7DK2748A+URhkkTrTxxI3405mGBvYcDmYMLHyvjj1wcj0I1sMYRsWvLA?= =?utf-8?q?lyMk4SvQ8FqOs54HalaSeTCJTSceC6nRZe5gAfsXyjX4P51S+CYd4rpWHwMSogTuG?= =?utf-8?q?nkV5WiQSKG+I9CZTtRj9fVc7NTXO2b4q7IEg5tpsym/lMduV388Etqn/zpcxd9+Jf?= =?utf-8?q?alJHH04Ea1jGVwyaRSnuM18YlTjNA55fri08ch+dSK8f1aOS0JlvnIZkJQVEcQ2OW?= =?utf-8?q?Unxb/4L/jEV2TFLUyo9mudbn11VrFHlBj2sxehppotK8Hc+JGUiF3hpO2it4f5i/h?= =?utf-8?q?/UTufYZedCqiBTZbX8WCkfwQM/p6+pnlL8YedbyCrmJQYAgbJMuo5zXcftxkEkIa6?= =?utf-8?q?WWTVq2MPg5q3b3mFSBFWdLQz1HpO0ciF60g=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)(7416014)(52116014)(1800799024)(376014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?8HTy2Xkg2KNA/+1oMmsQ3HcazbVg?= =?utf-8?q?VF8ffU9tyZPYFL8aHd+y+vtXbBUWLv8dq8Xdr9VhHUmFUkrFsWIwBz8ApXV/9WCw4?= =?utf-8?q?AEuH1lh0M3THo63tjXg8zva46+30mpNiXPJpUjzBc87Ij9lLGH9VFP9SPpbNJ3XPH?= =?utf-8?q?dT9dFTpq09+D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inTtQSJwoppdNhaBhhk3bIRRv6CpPxdd9/9/u599ciQdKu0Vm5?= =?utf-8?q?J2LmoxlzadUmbqIf1hkKm1VcEybZD5+NCdl+t8Q5BLaK6otI3F/DjUsS/EeS5nEiy?= =?utf-8?q?dJ5afvWMNdJtsNIVhiIGET+k1ajyr5iADmwubU06D7+SNtAC7drUGzxC+Dk9p/KZJ?= =?utf-8?q?2trhxGNuoTA6OccZmnChY5frOFoTkDwmEUwYm7ownzvuWM2fDBtVJr70KMpJoYegu?= =?utf-8?q?FXh8fhoh3572ybvP/XQj5Xcf04XY7/3qldIcZA64DKY5coBVwv+SXLR3XkpN8IETr?= =?utf-8?q?ITxeVuv2Ui0+GqdHt8TxzvmtpfLqubsHefoqKvuO6JIaf/XYEjDTRmLQrEqlfhtY6?= =?utf-8?q?NUe2DoDB6BNiMY+Jps2oc39Pzu81eKhrHQKrF+DAG6pfXj+iqvWyGHFm2rr6GWeNa?= =?utf-8?q?55dEXOXNhJqo/wzIXZdsc4I3DPVD+dJnB/UqnuEGE6XHfRBCGZG4sD9piZ034iezD?= =?utf-8?q?CuikQjmr3PPz?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4f4b4494-6b6a-4dc6-d3a8-08dceaae8ac4 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2024 11:10:55.4005 (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: FgsUOWjeUvTehGnYhTHCRKAqR6n3xGTR792DZwUxB6Qa4UOd213pV1BxhiwfdCAMX4kkqCb79v5O3Eiv0s8alQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6771 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241012_041059_668267_812CE66E X-CRM114-Status: UNSURE ( 9.32 ) 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 From: Peng Fan Add 'nxp,ctrl-ids' for SCMI firmware to configure 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 37a1d4ca1b2079880f6a0397027c22c5e471bd40..5101cd171e095fb5209464055a52ebdfa7dc5a61 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";