From patchwork Fri Apr 19 03:37:05 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: 13635595 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2087.outbound.protection.outlook.com [40.107.6.87]) (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 736E52940D for ; Fri, 19 Apr 2024 03:29:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.6.87 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713497395; cv=fail; b=pgo3+S1XP4qeH+vis2mAgnjhCc0T87TxsrY6DcQcPKRSGzCOxdl25lyG4KoQKuzX1PXJ7UTUNI8GukE4gP3fES9/L2zM7Zww27xjWNZLStFOiwYckyqBw0yH7ddbHsMxSCLoGm/JPuUqRSV+MYnowQ3uXHUi4MaLdFIIh1T3aYw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713497395; c=relaxed/simple; bh=a8Yin9UNvJZ1H69GAJ2Gs9KZmurfHKDKhqvvf0HW9hw=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=aP9CoDDlkgXUPmQ+GZvu4YJS1/5t/90FSiDcyswiGacek4yOcg5cY5HbJQhJkel1UqdW5UsmbgQbt8BRU9+iUP+geB1ANbA1Kqpe8h5UhUDJ4ZBTw1fYaMiskV3VB7AyXWVz+/pFodL7csLkgXGKbyG9tEX75MzXAg4u603iCVM= 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 (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=W0/LFdyF; arc=fail smtp.client-ip=40.107.6.87 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 (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="W0/LFdyF" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fu19XImvL74V4K5+ubGNcP0BGZzxPkQfGmQGKhEq27TiGlS4q/b3O3a0DhnJe8Z9PZB71xq6C5tjMlfv3AdvxOivahp8yi8Gy6wNRotbRniEZTOE3CxR10E4i2Yc+GShsgzBth0Lawlt3XneEhf/Hi8YoX7DLbVVKsdu8Go0UnTJs7WWzjDBJADaj8qKf5u0fY01S6ZW8xNOKljBgSZp7AjN7kpYeYvLgkqQSepCqrZ0Y9DYQdtK2HKJ1fCOzaQFK3SNu4uoTMdl0OuS5w0NqOKusWxbRDWklLgFEYg/te2t/ynNSVMvKKKyLJoWLuob72mo/U7y0MlvogMsfL25jQ== 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=A3NVyXgePVeYYgwWIWlhBWJiZIvg/AVy+K9WBcxlvX0=; b=EpmG1QuAALtTIh5pe8DeCHROFaailGodEJEX+i8dmQZnMeAtucxz8/i9SdtLqtoP4wlQS36Uhkx6rYh6x6WHx6Rye4sKU7Cty3U51EKk58YO9BkQ05nXkX3NDM6nZVZ058D0HS6OYg+DKl3jSOtgWMOUfi9eeh2DkWSb0mzWq4C6lC17ySoMQZkeAbqz4+t1XzvTmBHQ6pDJKRJXJh6CQyuKVope0fDaIWhapxrHxC7Kb9DU+aCi8q0CX2dHzGMBZt/BVCj7PZQY1MHdI/DkVYALjmSeUZCn+Ju0QTPZg7+6by5doU4R5csuPLJLtUBP7hLHoD8tFAhraTQzQGOChg== 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=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=A3NVyXgePVeYYgwWIWlhBWJiZIvg/AVy+K9WBcxlvX0=; b=W0/LFdyFd4fvtbh29UfWeMkLXPKCSkrSTwr+NLa/AtPtQVBC23TCi6rIjatcEnm8sE+2Kzru8c21lTxBy1Z1zgX3+YLrj9FrfeHBh8XbgImQujvg/dntsIx+8SAVPrZBC+ihsWPCGaAxmgKkT6J574sgefgi7uCeI0I3CzW2wEA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AS8PR04MB8802.eurprd04.prod.outlook.com (2603:10a6:20b:42d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.43; Fri, 19 Apr 2024 03:29:50 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d%4]) with mapi id 15.20.7452.049; Fri, 19 Apr 2024 03:29:50 +0000 From: "Peng Fan (OSS)" Date: Fri, 19 Apr 2024 11:37:05 +0800 Subject: [PATCH v2 10/12] arm64: dts: imx93-11x11-evk: add sleep pinctrl for sdhc2 Message-Id: <20240419-imx93-dts-4-13-v2-10-9076e1d7d399@nxp.com> References: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@nxp.com> In-Reply-To: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@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.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713497841; l=1902; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=IkgkzajW3i1/2uBfzzBinYnK7req5nUwjI0YrZQay6g=; b=hci03aqo6vL+ELpg33s+D1JzSKFLo4+HTokNTzFGGiKtmq6cUNyL/2kqWpL6Mmv1sgzrQSt/J lRLgdkIGXCCD7gIHpHWNdOn6iLHsQXc2yfiwl9xjh6I/RR9HMWGjIIE X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR02CA0025.apcprd02.prod.outlook.com (2603:1096:4:195::21) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) 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: DU0PR04MB9417:EE_|AS8PR04MB8802:EE_ X-MS-Office365-Filtering-Correlation-Id: f5ca031a-328f-4dfc-9d97-08dc6020f84d X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Zhlqdh2aixgbEHyYX4MrejVUcfga5862IfGNi00n717kUo2D1dHTa+FyDpTNv6XzWVEKcTdrHJLzHyTSmMH+JXyPkCIx0zwfoJjr0PEXON77zbfiO33yLEwBnljTuPULg5zkPcZa6cPI53/97WMZOl9Gp+awl4m2wUXwnmlj8M1zE0EEcljzwcSze0AwoG6QR/obdcQJgt9mN7XEE5fDnln0/6g0WCfjtr+fhjhlugUnJ33RzDYDJtoHM7rFcsqUmI9YTtuTLJ50/7SurWIOvcCm4pfQPBcSik1GbcVAKkpKU61B6ZCA3dGnEE743GMnPbQZhad30Dex8w98Z0Apm7GkU2vsNegSAzaXqXUypa8maIe/3nfhZ8E4Cdw6aizvbTbDjZRZYVuSH/7z91VBPifZcvPvZtarab748dCqYB9UhcAwH/ZyD7xia/koioq0IgOlOuw0aEfKyRN+5EJs4iIMGjU/r3T8ZNKIB0JtgA0KY4jCNRKFbWWSEfHTqML9+mOyUigYTWwaATHfObsUGHm5AapBaFG5g/QeZIexKrKli/V3s9fs/BqzjFqQ0QX12zT0Tdshdq4GfpoOmb5iquDf21D67ZUf4qAOmAFlpR8/bxHU4YkCU7uPIjkjpl81uwnt4jD35jzdaeumr7oSVt3TtjvoXn/7pqdXa7vlpAuL+CaLHTd02GQv3mke7wHD1qlKvXzKBDpNUj5l+DMgjw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(366007)(376005)(7416005)(52116005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ULJ8M48PGysBInqSyOYQcLXBKHQS?= =?utf-8?q?s6nNNHRw9Qk2f/SVA/I3jdU4zgR4367FJnxzt5mKlx4iPkyVz5Lx058FVLW8WcRgV?= =?utf-8?q?VX8xE88MroOkSVH9wOVBbpdUIRWf4gPDJjTT5Hgpf+uy/lBvnVx4OmMdcYTcbplno?= =?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utf-8?q?uLEcSR+5Zfbbk84gbr9v7yjANpBOK1B5dlOFsEWyIpLR48j1PNfDdDWCUFsC6neT7?= =?utf-8?q?onVRWSExzFywN3+jNo+99gx5FtuPcuXI1RExID2agd35sdgS9O6qJuS+td8KM964G?= =?utf-8?q?jVGVPvFgUi13cv77UGt5eRmMqwYFUhiHkxDMMadXl98FaEPPSob862wY82I7f44xc?= =?utf-8?q?X6qAzgDxN73fj4J+7WMPErgzwyM2sls4aW6qgZ75IvISt0vREol/Br09xudZG6ACx?= =?utf-8?q?6+JaXqnwP7kDL9IXujSYDXcEw+FV12n3OjeZmago6hRrVyVjwCR6qEa2jBrX8qswT?= =?utf-8?q?P/u16Dwe6iMvxTj1ipZaTAhSRVnj/5VeovrAVAds/7Ev/AFeMmumbRqBddkcjJY/1?= =?utf-8?q?3/B6C2LkYY3vHE0Q+ETeRnE0DUkMwef1tzflEhnUEni94R1/Qu5vj6Gy4TlDwV9am?= =?utf-8?q?cNfXeKQceUMgB6uTPWdytV2g8i6G69qB8EzzhC9bNBebmf3QyiYWCDs9g1EHTCsSJ?= =?utf-8?q?TtLzTtiyIpEl?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f5ca031a-328f-4dfc-9d97-08dc6020f84d X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2024 03:29:50.1701 (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: A8Twk5YJwZ/x0GRupXnW3hqPf+lz1ztncWSNZZeDvOEm7KmFlzLtN9CywvZRbUzmLyuFfhVsGm/ea9jY0G09fQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8802 From: Peng Fan Add sleep pinctrl for SDHC2 for suspend usage. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index f848cb0922ef..b29d470d2492 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -169,10 +169,11 @@ &usdhc1 { }; &usdhc2 { - pinctrl-names = "default", "state_100mhz", "state_200mhz"; + pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep"; pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; + pinctrl-3 = <&pinctrl_usdhc2_sleep>, <&pinctrl_usdhc2_gpio_sleep>; cd-gpios = <&gpio3 00 GPIO_ACTIVE_LOW>; vmmc-supply = <®_usdhc2_vmmc>; bus-width = <4>; @@ -452,6 +453,12 @@ MX93_PAD_SD2_CD_B__GPIO3_IO00 0x31e >; }; + pinctrl_usdhc2_gpio_sleep: usdhc2gpiosleepgrp { + fsl,pins = < + MX93_PAD_SD2_CD_B__GPIO3_IO00 0x51e + >; + }; + /* need to config the SION for data and cmd pad, refer to ERR052021 */ pinctrl_usdhc2: usdhc2grp { fsl,pins = < @@ -490,4 +497,17 @@ MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x400013fe MX93_PAD_SD2_VSELECT__USDHC2_VSELECT 0x51e >; }; + + pinctrl_usdhc2_sleep: usdhc2sleepgrp { + fsl,pins = < + MX93_PAD_SD2_CLK__GPIO3_IO01 0x51e + MX93_PAD_SD2_CMD__GPIO3_IO02 0x51e + MX93_PAD_SD2_DATA0__GPIO3_IO03 0x51e + MX93_PAD_SD2_DATA1__GPIO3_IO04 0x51e + MX93_PAD_SD2_DATA2__GPIO3_IO05 0x51e + MX93_PAD_SD2_DATA3__GPIO3_IO06 0x51e + MX93_PAD_SD2_VSELECT__GPIO3_IO19 0x51e + >; + }; + };