From patchwork Fri Jul 5 13:46:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ciprian Marian Costea X-Patchwork-Id: 811352 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2081.outbound.protection.outlook.com [40.107.104.81]) (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 D28C714D2BD; Fri, 5 Jul 2024 13:47:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.81 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720187248; cv=fail; b=SitraL5s1zOy9to9lGptgPEyeJxXPhKHcSSH2sGpqSMnvclVddMxLEmM2IML8yf8huslvfGRtVG1L2a3sV0/KIwC9tiUJAq+sq5ksgOW6y3Ew1D0nZEjgl4F06F8OWc2su/rEBbbz4OS2tkbgDYZC1sk0rJEV5+YomV9yerByOQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720187248; c=relaxed/simple; bh=WA3wpQYMiw+SuvwzzQm8hfOQzI2ldcitSNgjB50H6Lc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=fwG5pQdM0+9PupmUWMNICoMlpNk0jp6xKWgy7jR1eETKWBLzIMMOR8p6/nOLrRB4zSYfPhkxRpIxrQcqQnWL4GN/8lMhrrHUb01TKA7BjeVVKpYwWkm7MKyWlr5F66V4y8ttQOFfol68i1Wc7vuftEHVuqRBehtqWxAEddrvUf8= 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=WLPu8z3s; arc=fail smtp.client-ip=40.107.104.81 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="WLPu8z3s" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lYfpsC7WdcCcxAbFXc6M3XF92GM/6VXvpnVmBK9/DXmqfptKGWL8nPp2eWdws/Vk+GRAxUvkXNjumv1uGO7tNDGHwnqtFbCB4LZ9GQILxRDmNsU+beehR3BCjtIr5y7w0c7zXJCSqw6LdU8knis2YvRkEZNhFDp4SC3y0P+zPr43NnZnSm/PTdJiFXDxah2pNFZTkshQG3SeOSVQQIwKmnZaRXhy9EQztM4+ZvvH3VQ5TG857KieLYIYPGmJYjI1hvVvas2/coxdOISm/ZA4s4KBCTRhEozE2F0v1VMVhkS2y5XToP2IJuLeZV+wgWt2FYoJnXxaragmQX/CFAwe7A== 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=GqXn2Spewu7hks/6PVU+Dt4N+nV0Zeg0eP7GR31+71M=; b=nJ+1fEKiSWsJdRHtzIaW30qygfYyIdjkf3Zszo6IyXEFSvuok7eWIkEcJXBv7hQIdxfY50uQ+w5ZKt8issnGFKrbvNfSrrqhhq7aezxedw/BjA7iFd39uRdKhF2tZ6wc+qOKNvsc+uAy0YkeVLDE9G10b6Nyih6UMCboOVT6gTWgIIF5CxEESAxqMmXaoLiJr787LGW3cMLAg6rpbivbdpadapyBYZv2eX3tngUxSiaUuyUl2Fdo7fmgibuAAU6CcJKYo6BiuhOzKEIlgIPoxb0GdcqOK8Ceq5DfFul0QQZS5TQEv+X+88tuundAsR1tGSQiauSmdhobgDADdRVDdA== 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=GqXn2Spewu7hks/6PVU+Dt4N+nV0Zeg0eP7GR31+71M=; b=WLPu8z3sC1GUqmGsuRULbl2yguAEtWHFhCx8qwDis9/AKOIte7lLj1ETGLaER9QXqiQkYlBribj4gMo7R/IaYQ/34yb4Om2wgY9ylR053hJ9TJ+vxOsBiVTd28dnmiqpjWpgoRJE1pP7cXTO0uo/o6hySHrZOFnI1J4AU+DnDro= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9251.eurprd04.prod.outlook.com (2603:10a6:10:352::15) by GV1PR04MB10244.eurprd04.prod.outlook.com (2603:10a6:150:17b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.30; Fri, 5 Jul 2024 13:47:21 +0000 Received: from DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd]) by DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd%5]) with mapi id 15.20.7741.027; Fri, 5 Jul 2024 13:47:20 +0000 From: Ciprian Costea To: Haibo Chen , Adrian Hunter , Ulf Hansson , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, s32@nxp.com, Ciprian Costea Subject: [PATCH 1/4] mmc: sdhci-esdhc-imx: disable card detect wake for S32G based platforms Date: Fri, 5 Jul 2024 16:46:44 +0300 Message-ID: <20240705134647.3524969-2-ciprianmarian.costea@oss.nxp.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240705134647.3524969-1-ciprianmarian.costea@oss.nxp.com> References: <20240705134647.3524969-1-ciprianmarian.costea@oss.nxp.com> X-ClientProxiedBy: AS4P189CA0033.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:5dd::6) To DU0PR04MB9251.eurprd04.prod.outlook.com (2603:10a6:10:352::15) Precedence: bulk X-Mailing-List: linux-mmc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9251:EE_|GV1PR04MB10244:EE_ X-MS-Office365-Filtering-Correlation-Id: 05c9e5d8-9f4e-4f4c-e42a-08dc9cf8fd7c 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; X-Microsoft-Antispam-Message-Info: =?utf-8?q?GnIoAFTnM6t5Rgrj3HCXlSt7IGIWJVF?= =?utf-8?q?8hgEII8FSDOchun9dd6aD1RuvMP86kVzOrUPoJb6DYazo6JV91QY2/vh2Xb7v1aPx?= =?utf-8?q?eWEGAfFAwH4L+ftMsWVPNqpNHcKWNX19S9dnrWVBT4RQTIPFbKsfW9Az3mcaf7FXE?= =?utf-8?q?colqB+uJhfA0WcFrJLiX5K2N7BrRKWRkPTOBdpqPcjp4hLYaMg6ImVH14A0PqiKCG?= =?utf-8?q?6GlF7/53SkQB/tsZhOsoO8tzfhkZJwl0yNRIxl/wc4dEcddZkV1l85qJTGj9KKyqh?= =?utf-8?q?z9KpWTnpHky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QxP/7V342NpMwcuq5TY/TzXNtggW3QjzHt56/g8zX6saEvCG+u7psqm1GWnp?= =?utf-8?q?0xKA7r0pSGb7bTE8EoEonEVKoGrsni0hK9ehlzp6hNz5B6qDr27JpcdgD2jqq3jJh?= =?utf-8?q?gzPimfH6a/JvpFBam3X390Hvfn8GwLzcL0Q=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9251.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(7416014)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?wanTVKzn+qMhSBHehZiWY8+seIcL?= =?utf-8?q?UBpCp+B/J3f5a66a2tuQMtIaon6rCW9m3NsxNe2PcaeG9T+QTrMA5H0BgzDXA5QCc?= =?utf-8?q?FCJIxYXadxI6HFZueEK4PC2xsqiK8pNzTWbelnryBzs2fKNZt58gEG0oLU+jW1w1t?= =?utf-8?q?pyvOS1Kx7RJUOYFudkHC3UnOLWCAg/HlWOy5cHRZO3F79svDxsUChI+ldiDsFaPgI?= =?utf-8?q?dvhTjmi2uexyOo31TrVqUAjaFq1HhBAuU89eeTrk+Z9UgC1hsvD6GSZlsxroPVZn/?= =?utf-8?q?iKlw3KnHx6VIk6CTAVLl0bqIVoYMGyw5qZoZkVV1m14Z7FbtdQIEFHNYMhF+eeLIv?= =?utf-8?q?hTz3BCom9c31LCJX/9Hz5hGq0aVrjvpRo7TB1U1Crn0Wkw9KYzTSZayGrR8jQEtY1?= =?utf-8?q?9fGSZBVEtyocmkv+sEErQ3dW+RayV5n0P4iwpY+AZk6PzeK7lBTLBUQQ3nMARt5yk?= =?utf-8?q?K/Q8WCG3+37dX7/wFvvGEkRawUASackg1bUPr2sGy0ddSr+yC3IyJlUmG0RGxzaJe?= =?utf-8?q?WNY3m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SDIaJyDEkWBu7Ztrt1IQrc+Z+EhUV9YtQMCHi75FPF0EIbJkFBzfc?= =?utf-8?q?3rC97z0AKWADAooM1C6y4UZchtkEGK32aID4zit4uIM3IDJNDvjfijgPNk+S5+4Z9?= =?utf-8?q?faN13VDq/fdozbjXX7IxsVgCTN7Jvbc9Sg=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 05c9e5d8-9f4e-4f4c-e42a-08dc9cf8fd7c X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9251.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2024 13:47:19.9254 (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: YVOlZxA7dC56B8CAMjFRQatOyd6cvIDzpmXEpQv3kfkwv9DBMAmd/0XlbgGDOiYt0ZEfMDT2+slZ5tHSqlR+sBYQh7Tg+wIrypNZ1FwDz6k= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB10244 In case of S32G based platforms, GPIO CD used for card detect wake mechanism is not available. For this scenario the newly introduced flag 'ESDHC_FLAG_SKIP_CD_WAKE' is used. Signed-off-by: Ciprian Costea --- drivers/mmc/host/sdhci-esdhc-imx.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index 40a6e2f8145a..21d984a77be8 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c @@ -201,6 +201,9 @@ /* ERR004536 is not applicable for the IP */ #define ESDHC_FLAG_SKIP_ERR004536 BIT(17) +/* The IP does not have GPIO CD wake capabilities */ +#define ESDHC_FLAG_SKIP_CD_WAKE BIT(18) + enum wp_types { ESDHC_WP_NONE, /* no WP, neither controller nor gpio */ ESDHC_WP_CONTROLLER, /* mmc controller internal WP */ @@ -298,7 +301,7 @@ static struct esdhc_soc_data usdhc_s32g2_data = { .flags = ESDHC_FLAG_USDHC | ESDHC_FLAG_MAN_TUNING | ESDHC_FLAG_HAVE_CAP1 | ESDHC_FLAG_HS200 | ESDHC_FLAG_HS400 | ESDHC_FLAG_HS400_ES - | ESDHC_FLAG_SKIP_ERR004536, + | ESDHC_FLAG_SKIP_ERR004536 | ESDHC_FLAG_SKIP_CD_WAKE, }; static struct esdhc_soc_data usdhc_imx7ulp_data = { @@ -1726,7 +1729,8 @@ static int sdhci_esdhc_imx_probe(struct platform_device *pdev) host->mmc->caps |= MMC_CAP_1_8V_DDR | MMC_CAP_3_3V_DDR; /* GPIO CD can be set as a wakeup source */ - host->mmc->caps |= MMC_CAP_CD_WAKE; + if (!(imx_data->socdata->flags & ESDHC_FLAG_SKIP_CD_WAKE)) + host->mmc->caps |= MMC_CAP_CD_WAKE; if (!(imx_data->socdata->flags & ESDHC_FLAG_HS200)) host->quirks2 |= SDHCI_QUIRK2_BROKEN_HS200; From patchwork Fri Jul 5 13:46:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ciprian Marian Costea X-Patchwork-Id: 810584 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2081.outbound.protection.outlook.com [40.107.104.81]) (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 EC590152184; Fri, 5 Jul 2024 13:47:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.81 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720187250; cv=fail; b=r1AW9xzfTlJgOEIDTcypbL6laTJPsjCqhTZLPmmaHGLpQSr/sDD5h6kofnekzxRGKgRhzWGy8YpO8sHfjNx4i94HEQk32w3ayAMrOWWW/cF7gRiluWWImq2h6BYaDjwmSXG5YtSmxUZFh8+lAh8KnO2g9g5bwHJnjtKj9vZPNLw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720187250; c=relaxed/simple; bh=4/UivPtlR60qrSoh3s+mf7nWjTTkNYETFIIUAGpASAk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=d7HJzQz+cfKBYkRX56b/kTXrQRRraemvvUIKii1HQZv+qTaM9i3fTlWBlMJ06DDTwSIDlhG2HjT8t+oEP+1iklJeLCC8ScxCqBc59hae7q5ej8l4u8jVSuEGE080fgZolcuOdfye12XM/zIV6p4XEZTjSsoL0PpfmDqSzFywgGE= 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=j8G2L2eM; arc=fail smtp.client-ip=40.107.104.81 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="j8G2L2eM" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gCuqvQMRSMS5UZnPk1tbxSu9Ek9RKv74uQd5PaEZ+ymtz8epbhTX50vO4DCt/4BXrf39IOqxPtirJCrmQTSxMABeUGQejFCxTdCC4/CAeO9uhOkSWPgfgMI/Yg+xqiYmwTaVp6XIs6AosE0OiJZWgEMnG+/lFzMVK7GPSdhGE5KFRs34IuRdpancJaQFu0O0lfbOxgReLMRjLDLTQH4IBiiQTANDfK8wAyQymaQJR21qA4CfGS7kYqBEnj5MS6bJPMXSTK0agFQ1PecRlEQoe/iRFn8elIVr2Ltu7VnKZBUwiyT35NJIanh9fP6RE19bjt74VJmhTOShMpARbM+4bA== 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=Sf7OPVuzFCVUbxqXMXgjlFlzFPQmuxktVkyKjUGXAQg=; b=nR8iKJOENa3yu5/HDaqrb8rv58mSHrtWw5d2qyyQnu7PnGZyZoSHDx2fNO22gLnWs/wqPtpDpARBPuSiBXgfkL5KFinJXF3Vf6KOFfA2OUDxsvWV3cV25WoXMAoJFSuuHrBJSQ/sGG8jugvmHSbqprFljCF21Duydu4VUfL8xS26gkBgMURKA88Lsg+nr9EiylBhIh0Pn8GEa1WVZ08vSSDOX7XRIz6uIAxCzc/Ru65bpy9TJjWQbiTYDjD6oNrZfRRNE+6T2QsMvMMRHgAD/s2Qb6QL/tCfRIoHKJ01gYzB3UncZnN+4VZu17bcmSGO2gPXFdu1dTJtwzCzmP4sKQ== 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=Sf7OPVuzFCVUbxqXMXgjlFlzFPQmuxktVkyKjUGXAQg=; b=j8G2L2eMeViQhmakzwiAqXIuYx+8NIDO3jJO8B3G8AFYsuj8GaUflgt+7EXaURhnp+9eKYLZnJSIUTs9rqTCGaSrV9ajQyt+JhwwbT0xYNnB9w6uW6yQv1YWW8sSfpgMfS1OZ5SFiCoWZ8eCNbrTnK5RrcrDwmvrcVzQb2Usrj8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9251.eurprd04.prod.outlook.com (2603:10a6:10:352::15) by GV1PR04MB10244.eurprd04.prod.outlook.com (2603:10a6:150:17b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.30; Fri, 5 Jul 2024 13:47:22 +0000 Received: from DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd]) by DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd%5]) with mapi id 15.20.7741.027; Fri, 5 Jul 2024 13:47:21 +0000 From: Ciprian Costea To: Haibo Chen , Adrian Hunter , Ulf Hansson , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, s32@nxp.com, Ciprian Costea Subject: [PATCH 2/4] mmc: sdhci-esdhc-imx: obtain the 'per' clock rate after its enablement Date: Fri, 5 Jul 2024 16:46:45 +0300 Message-ID: <20240705134647.3524969-3-ciprianmarian.costea@oss.nxp.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240705134647.3524969-1-ciprianmarian.costea@oss.nxp.com> References: <20240705134647.3524969-1-ciprianmarian.costea@oss.nxp.com> X-ClientProxiedBy: AS4P189CA0033.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:5dd::6) To DU0PR04MB9251.eurprd04.prod.outlook.com (2603:10a6:10:352::15) Precedence: bulk X-Mailing-List: linux-mmc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9251:EE_|GV1PR04MB10244:EE_ X-MS-Office365-Filtering-Correlation-Id: b70175c4-7977-4f52-f217-08dc9cf8fe9b 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; X-Microsoft-Antispam-Message-Info: =?utf-8?q?9O7FI+wyGX5ZKAyIjNHCre/ca5JvzzM?= =?utf-8?q?uEQxBVTI34AbMcltxUHhAY7Bxm5hgIwDeumRxXT/owcWl+Ccb1NZLiK01j3aMPZUh?= =?utf-8?q?N+ZZQInsgm9P8klyNcTCFcjLpFsZ8zuq3dWQRKf+OlOpyzbHYIINNcDgXiJQXCRLc?= =?utf-8?q?E1gLc22isQ96HCgwJFARNtpY06Y7spzAT5Jc529D3n0JavPndqc3rUEtlV7wvSpzm?= =?utf-8?q?bImlOI2qV2icX9y7OqDUAbOqy5Shn6aVMrY1bV8OZkV9yFvJevORhVTSsuo88I8RF?= =?utf-8?q?HfdqsHPgVwCvVcaK+WmxZIEgovoZ5ansUlLhuYJFBwLdhiDNVhgxmiihNaCBIpW/b?= =?utf-8?q?RtFS9UMemLv8G7N2OjCWx/MUBdvJacyNjK8bz+8AT8VVbunRi36NQiAuRw0nLHEgb?= =?utf-8?q?2yqSsnZIL2aIDa0ZJLIJeJbaINVB94JnSdSPru2ioWhec8b2TgGZooNqeoOj+Rf9i?= =?utf-8?q?Nj+bmU97EQnOaUVKpjhRsjVnQh2BNcQ87PW/zp3oECg5FewqNl2DPdfosAoUT8a0W?= =?utf-8?q?imzAUe9k2RcPtAB2OhDIrL9BBLeAHa7heozE+pvkNFWoWVSWk4uY/MBq+FgZWlWrx?= =?utf-8?q?Ue9hi9ExZsWNOdf2t7AnB5hf7my9bYHCECXBBmrdSKQow5o2+Ii6CoPXPEx5m1SZ9?= =?utf-8?q?GrTKKDQv645n7T9iLWLrq5mYsX9eCCZ009THNESGvd/VTjUeN91UDuLBq6MU5kDEJ?= =?utf-8?q?fjVZfPuKOXkDWtcTyNVwt8MvRWL0t7tOqG8kgEU6n3pfKcDtxKxdfsdxYunzggr9+?= =?utf-8?q?pMCE4DeymhA27GdrYO69ILIY0HNZt2IUvSH3DYlIiiQDrsL3cU+EYBDD6FUSa6o82?= =?utf-8?q?6yHzkpoi6k6ss/exYmlQWtFd5XpuG4CNpLvGi2NjdldSLR6Ai0+9CkNNz8h0kQ549?= =?utf-8?q?BBx2qe3YjroS237vHaxnBsLYgyM0eslERTc7lug7C/x0zuS+3kblLIyRE5gzA7nod?= =?utf-8?q?4hBflpFcXJWPbPvyD+EjD4pqKxQw2wJVpZmFz9Viqjf8AaQ3ryDRmGI9eMsRt6lBi?= =?utf-8?q?HWx1iE2KwWfEB+LuALA8ql+7ua8Qzn4MuCs6047ui8/FetAkgezad+FVHWEaob0ZF?= =?utf-8?q?uTG5Fy3589COAI1w/3lHoFkuNx3zod/X7+uIhgvmZUKpYCMAzSNEhVEXLQvTGaCs5?= =?utf-8?q?0y5RG8thl+ANhH/zPaAk+FHdlJlhPlFFwjtwV32jMQHbwpLx09a5lR+eiIQYvvrhE?= =?utf-8?q?ZyXY5/B2zCop1ihWYwfRgYIwD6tBOV/pNjVHy9ar5HHkLpwSez3TU2XsCOl8uH7mn?= =?utf-8?q?9dMknPz6b/OGcTIZ1gQLezPrF6XO+XxfNDQ=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9251.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(7416014)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: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sFrk28z854AiAMrqRw7bRLSIR47OkYebA41FL8tx4C38?= =?utf-8?q?1ZDu+pvb5engS+cDJkQgdAzqQANgU4HeGYHge0oorBiMrgliTPX3FJYnTe+rmB/oU?= =?utf-8?q?eorcR6Rl6X9jsU9P8Xa3I5+WreNudUxLUHYP2H7XyBoqduaXRDcaIZnswVjyQLBu6?= =?utf-8?q?QYHHUGwSySqGP1LckKu34nodYVCRER6UMU5updiIJGSSkrEOQhq+pay4Uq/o7XFLd?= =?utf-8?q?KFyc7z0yQqxDhxTLvObJjDq6u5cizn9wNlB4Ciy6j1FuJPXs1S/ISxH7yrvmGjLLR?= =?utf-8?q?GiSxDCGgEIRq75N7brApQnWYHdkjQvTut1ErST4chnK3i7iXX14MQ1Jr8VwHo7H8e?= =?utf-8?q?po4+U1nTRqdtGBnkOAtl5UO2hrew2IPzoPPCBu3v61hfyusC+OB5XQsNv9iple8d+?= =?utf-8?q?c65ma45MAvXmCQsA/Y2g08RuFMwOETs85VQJ0XMwhVvrqNrGtEPhPor3y7mX/p3Fq?= =?utf-8?q?lDiwKe//I/BTZeuF6laFDvrvCfHIzm5MhdozKoL0TcUx3VdE/yM1skm0ZPD/EUXH2?= =?utf-8?q?wf4ad4XPqTKRJqkTT6SdMJn/v7ygKPozg3IpaIGdTdi4Y/95qDDeMZ5wyC41hpGN0?= =?utf-8?q?2wkdsQVsHKSGJ1k7D7uj/VnvakZ4BPs/w1IeoyopqpN5OXy3Fx7/ngjEoXvvy79Qs?= =?utf-8?q?azVVoIZA12fLxGFdaMLxz8ossKOJ9KdIhg=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b70175c4-7977-4f52-f217-08dc9cf8fe9b X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9251.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2024 13:47:21.8437 (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: 17rOjZFZWSx89+Z6vbVtRZOL44/R2vODoNIy01bQH/cNAH2BtSPZuyewmbnBTMeotIpBlu6Ry7LGAkH9xdl7W7u09LlsY2W7DcWB60d1UFM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB10244 The I.MX SDHCI driver assumes that the frequency of the 'per' clock can be obtained even on disabled clocks, which is not always the case. According to 'clk_get_rate' documentation, it is only valid once the clock source has been enabled. Signed-off-by: Ciprian Costea Reviewed-by: Haibo Chen --- drivers/mmc/host/sdhci-esdhc-imx.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index 21d984a77be8..8f0bc6dca2b0 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c @@ -1709,7 +1709,6 @@ static int sdhci_esdhc_imx_probe(struct platform_device *pdev) } pltfm_host->clk = imx_data->clk_per; - pltfm_host->clock = clk_get_rate(pltfm_host->clk); err = clk_prepare_enable(imx_data->clk_per); if (err) goto free_sdhci; @@ -1720,6 +1719,13 @@ static int sdhci_esdhc_imx_probe(struct platform_device *pdev) if (err) goto disable_ipg_clk; + pltfm_host->clock = clk_get_rate(pltfm_host->clk); + if (!pltfm_host->clock) { + dev_err(mmc_dev(host->mmc), "could not get clk rate\n"); + err = -EINVAL; + goto disable_ahb_clk; + } + imx_data->pinctrl = devm_pinctrl_get(&pdev->dev); if (IS_ERR(imx_data->pinctrl)) dev_warn(mmc_dev(host->mmc), "could not get pinctrl\n"); From patchwork Fri Jul 5 13:46:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ciprian Marian Costea X-Patchwork-Id: 811351 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2081.outbound.protection.outlook.com [40.107.104.81]) (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 1A2F8155310; Fri, 5 Jul 2024 13:47:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.81 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720187252; cv=fail; b=R/VrF/sdXhv3sxup4GlOvqy8PUVmndlxcg8FM4KGt+a2ZNvkbOfWqmI+ltWUdBqDK+F33iHGNmIuAuOBIcahtk8KkcYD4DCzp1uKSudwsbLsMESFxLQPBqHSmvvKOBJTdOWm+9QzoJqDEGTS5ERzuop/Ph7ilqYzAeEUU7NpFsw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720187252; c=relaxed/simple; bh=DHhLXjxTs+NypUB9/UxERUOxX/LU6zaGoJtJE21AofE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=StZEsPHXveqpgUtzBzGu3lOiWdgV3mBS5VnGfb9wjiVyd1EBzMX4xSaKy3wGpBF5SiheDn7bcuWN5Zr7MqUlBhQS0wAiwRNIP0CALSL2BE16ZElq70omEeVBre0UfIMaGDR+AqYM2fa7bll4S47pYr0op68YdZzoZIbh8xU9yTI= 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=CFHpWrSC; arc=fail smtp.client-ip=40.107.104.81 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="CFHpWrSC" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T72ARCGWlxNelJ8EKgHR3PQ8rhg0E1wLvNfqBdi/6FiJkAI8z14ZLdOA/H90bL5BmD7KXFVF0fal70DIgN0xZiyarStCnI0j5OMjSo8it9MJupZdWZbHqIfSq/xY92hMD0ll/haCbsM7Y/vQC8/tih5vf4biz6Jg4iTQWibwspAC81qqSKkHQq3nG8PXvKd8pxsyWFTY0g9+GDMbkQBAqS6OnUVyUZWWlQaimkyak2xLUBEc4OltTbditn+uOlXQAwWscTudTvYp+D/yZUl4t19A9iN67scmXDvRLQa6eptjlGz4t+IsPjXLCABJQ9ag6VAmYXbP4vZY7j/msy0QuQ== 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=pualSqx0gdiGLDlFTYGFBmBq39trV+/C9DQoWAo688s=; b=bDQG9eOGEtArib/7Aps5EvxZ5vjA+8NV1avsGYRqbbsaOhQrxqKdY1WFoNXzZkCCDNwgHoi3JLkIRf0lTTLTxmFmkoX/f6rOHlYfGj4ejgNPdSZP6evuqSYhva2qxulpU+rzeKKArmTGEU1fHLdI9izs47HaTh9YYUa4wzgf0Jq7Zp0QNnfQIr27eoCrWkTLVcBYHd1RZhbrJWCd4HlHZzCwOhdEZ+5p954+EnchkXHSelp9WtQBSykTDWUuz7iRDqumxgVXqWHoCvuzBn1Ka1v+8Dy8A1ligFziDyY+nfbEM3tYBwizKij/u6OzKJLTyVZAMReHSgCFLDITnygtAQ== 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=pualSqx0gdiGLDlFTYGFBmBq39trV+/C9DQoWAo688s=; b=CFHpWrSCqHmb15J2m5hkxChr7/dXOBbPA+rRlcYNS3Iq6Y8zecLxanWP9vM0R1FB0oPdhv5ljkPy989n7FaGjA2AiPwsqm1F8Kb8Tws9kONOMWwHpnDiR23Ele1YFWctZaMJZ1dcC/1/8URTY4Z0IZmz6RdLlwDr1jOMnxjedUo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9251.eurprd04.prod.outlook.com (2603:10a6:10:352::15) by GV1PR04MB10244.eurprd04.prod.outlook.com (2603:10a6:150:17b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.30; Fri, 5 Jul 2024 13:47:23 +0000 Received: from DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd]) by DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd%5]) with mapi id 15.20.7741.027; Fri, 5 Jul 2024 13:47:23 +0000 From: Ciprian Costea To: Haibo Chen , Adrian Hunter , Ulf Hansson , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, s32@nxp.com, Ciprian Costea Subject: [PATCH 3/4] mmc: sdhci-esdhc-imx: add option to not change pinctrl state in suspend Date: Fri, 5 Jul 2024 16:46:46 +0300 Message-ID: <20240705134647.3524969-4-ciprianmarian.costea@oss.nxp.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240705134647.3524969-1-ciprianmarian.costea@oss.nxp.com> References: <20240705134647.3524969-1-ciprianmarian.costea@oss.nxp.com> X-ClientProxiedBy: AS4P189CA0031.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:5dd::11) To DU0PR04MB9251.eurprd04.prod.outlook.com (2603:10a6:10:352::15) Precedence: bulk X-Mailing-List: linux-mmc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9251:EE_|GV1PR04MB10244:EE_ X-MS-Office365-Filtering-Correlation-Id: 7e69419c-1c03-4325-f445-08dc9cf8ffad 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; X-Microsoft-Antispam-Message-Info: =?utf-8?q?7Jey+Btje8QgfmW7Xl3xAAMg3XufImV?= =?utf-8?q?cKcjRyX8Rqb/50k2PdNTR5oQZFCMvvAEq8hfnRw0f9FqsNYUB2Cn99E0tFDrntgXA?= =?utf-8?q?yxTH6YOg/ycIb2SffuvKZ9jMuGVBKrdU6lG8W2AIdd2kHA7dT0NS3YAgyGbica58A?= =?utf-8?q?GzSLZkXbSp93Fgmgyb0K66DAskQPIqSypPOA50P4GPDoWmEjGDKdTRi8KegxA9eGl?= =?utf-8?q?jB/aluD3GQff2nMgmpquTMMvugbi5Ojmd7dc7IwYRCjmut/VOeopAKQGcE+9sON+P?= =?utf-8?q?XW/nLm1wyuYV8Waxh+UZ16Rqkvo12X9z5AKWxLAy2OzIZ2+cs4y3atl4bipxP0+nc?= =?utf-8?q?ju3NHnYpEbdNONAf8cOS0e1J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hc8ZPaMo82k/V58xgbaEeTj4YX?= =?utf-8?q?UHlJezHMszsYCbVqWXDnf5mwdE5JjKNq7BA=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9251.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(7416014)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?XAR/iarg2wAG7lBE0i4RZ4oSILGT?= =?utf-8?q?VMGrn98gifBYCX59dpvRCmXnVCLmpMbWmyfuG7VHD5TkSBKGpe0O8mrSQ1KvTIxio?= =?utf-8?q?TSHUcL+NdspTOsfTpXdYj/655gVczxJYeAaO7YQUg3/Ki/qgeov5bl3iGsDv7WV2g?= =?utf-8?q?zqI+4VbO4OG+kzqBxrWocGDC0TVWi3s09yP62wjBxOEaWVyBs9kZm8iQNn8D5hCA3?= =?utf-8?q?NVd13vWk6z5nVvOtWdl7Z071ONq3Mu1eP/3sVoODm4yNMTHo20f7yGWjJ8qxswBgr?= =?utf-8?q?f4WdQ2DDeI7Ntl78kfryNZ6nN00zx9qgl4IoUx0uY+k26xnNBfsXsfQ+uNLPIzghX?= =?utf-8?q?pOmmxTbQQQZEyIXgc0dPtCTDt8QLCN4T1bU7IODt6HXl6rGmLKGs2MeotX4UkpP5v?= =?utf-8?q?lUHnRoosEVTcBq0XuibcF0/ugRECXFip6aT0HHo9a2/b5LUuCZixhKexkQrVbQS70?= =?utf-8?q?C+yyE3pY0UWMSYiOsSo+yqo2fUTedY0GI6mnwLFDyTTGnGrctJZ4GmDhO7cc9oRnq?= =?utf-8?q?j6IKzKJDqqnPH4VMlwBGksuycC9MpqBONsT77jcbbR44Ckv/9FOuzv07gj76wKo+s?= =?utf-8?q?CI+JIUlqBkundAY4v9z2IRt52Ljc/0/yWk/ozZCaq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SDO6bkuuPajQVgSlP6SLURR25aJDqdDct?= =?utf-8?q?bcbWGHMDEqRt5nmSYUGFCCqrNObK/IYU+A=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7e69419c-1c03-4325-f445-08dc9cf8ffad X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9251.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2024 13:47:23.6643 (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: Dqc21iBKpbjT6eEJ+LsQGgFLBvKIDS59pzgpLOzfNEVdOmYORFEZUBzxGMfSEPvgS69XXGO7BZ/xba6V00f72YebqnQbEDXrsyLAD8LaD9I= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB10244 On some boards such as S32G based, changing the pinctrl state in suspend routine may not be supported. For this scenario the newly introduced flag 'ESDHC_FLAG_SKIP_PINCTRL_SLEEP' is used. Signed-off-by: Ciprian Costea --- drivers/mmc/host/sdhci-esdhc-imx.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index 8f0bc6dca2b0..c3ff7fccd051 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c @@ -204,6 +204,9 @@ /* The IP does not have GPIO CD wake capabilities */ #define ESDHC_FLAG_SKIP_CD_WAKE BIT(18) +/* The IP does not support transition to pinctrl sleep state */ +#define ESDHC_FLAG_SKIP_PINCTRL_SLEEP BIT(19) + enum wp_types { ESDHC_WP_NONE, /* no WP, neither controller nor gpio */ ESDHC_WP_CONTROLLER, /* mmc controller internal WP */ @@ -301,7 +304,8 @@ static struct esdhc_soc_data usdhc_s32g2_data = { .flags = ESDHC_FLAG_USDHC | ESDHC_FLAG_MAN_TUNING | ESDHC_FLAG_HAVE_CAP1 | ESDHC_FLAG_HS200 | ESDHC_FLAG_HS400 | ESDHC_FLAG_HS400_ES - | ESDHC_FLAG_SKIP_ERR004536 | ESDHC_FLAG_SKIP_CD_WAKE, + | ESDHC_FLAG_SKIP_ERR004536 | ESDHC_FLAG_SKIP_CD_WAKE + | ESDHC_FLAG_SKIP_PINCTRL_SLEEP, }; static struct esdhc_soc_data usdhc_imx7ulp_data = { @@ -1884,9 +1888,11 @@ static int sdhci_esdhc_suspend(struct device *dev) if (ret) return ret; - ret = pinctrl_pm_select_sleep_state(dev); - if (ret) - return ret; + if (!(imx_data->socdata->flags & ESDHC_FLAG_SKIP_PINCTRL_SLEEP)) { + ret = pinctrl_pm_select_sleep_state(dev); + if (ret) + return ret; + } ret = mmc_gpio_set_cd_wake(host->mmc, true); From patchwork Fri Jul 5 13:46:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ciprian Marian Costea X-Patchwork-Id: 810583 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2081.outbound.protection.outlook.com [40.107.104.81]) (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 3B52D156657; Fri, 5 Jul 2024 13:47:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.81 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720187254; cv=fail; b=uw3rDnFGe4q3nldN1ijW0Lb3pAhC2EIMtH6POFSxufpo6GLWwMb/rwk8RRdwurtjt4OejU3A5qB4aTclGize3S1TE1+2CajVzojyeo/hnzDnJ8iUZhYl+UCNfsSTnck1y1cr93rRB4EsXfSL3NkJnlrhdUpTzL8t/2U0/7iD2+k= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720187254; c=relaxed/simple; bh=UvJ//py6u04igD8qG8neO2Kzkeg3fYEFwQSQ2MmZYw0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=GW5YaUWvpn10NHIBUL79CsRtLvPjStDdYGegONbE6cA+MyA2WybeUak9aK7/I0BZfUhToKyeOIjvpTbJdNa27+FJRG7HVKeBysbUMs9sfphF6PN6tpWUOX5ORhj6496/qPehtteiGOUEEGkKnL4WShQXTn15Pfx7EBx4b43JiiQ= 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=aeoFjbZJ; arc=fail smtp.client-ip=40.107.104.81 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="aeoFjbZJ" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DxcR7SCtohKGyXmz8u7rKgXi1lOpH8XlfIOZftICSX//ELC2BFjOAN3vW5n0jdgRsO0M2Sewx7+y8aozFH3ouFTPryPYbjHTxM8UOb0xl22lBKprjhQi2G0xDh/uXldV1pdW2PJtFtCbBi65cnZVhweq6AcoUpirjqbfFZ1MOgysk8ah5+C8LwW16mhyppbwHHdywK0kDMYA1pUt5gTAXU+e0ZlKjMfK7Vvlv+7hMjZ5Msj6AbtoLXsHJA8Dm0yO71uNvyESsUQ4yIRCKf53cnKo5tXjlZo3F/Y2ETEaF476qFacPY+VWfUa0r/yX7ABtsr5tr/TMmCyhntDwwPC4Q== 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=nmzi7pzRdCyBH91BfJgTLrJfH9xHWssBPfiXsqupkYg=; b=nS+zO5weg+aZ7FBNxik05uT9Qi+IoJZAuLfZuovaFbkeiFF8zX9QNA+hM1+DnK3XznoVb0tz2t2mNCKpEhFWitzhUTLX6p7e5/xqeYm2Fw5oXj9H7UK0nt7pEuo/bHfuY2jDrNFDfEFZLyCIeJ+w/eGfRf0sSg+oJ6Uaoa1z8NQRnPeC0PTVQD9mTGHa/eRVaztB3+oQ+maGdUvf2vrXRFPDdpJ3bD7zaauvf2MLZu0ygL974juZgiKvPr70YIPBFORanpUlSWfdrEvwOihfBFBoMhHr7EqiQTM9K21YXPS9uLRbaxsf0RPY3U9hjuoaUtWKNwM94+uaK0tStXG3kg== 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=nmzi7pzRdCyBH91BfJgTLrJfH9xHWssBPfiXsqupkYg=; b=aeoFjbZJ9KvE4TL0hkAFz27lT4Lav330bFn5gm+hi+iRkTuif3bX8rb3vqboUQqWMBLnCKVyScwaWXOevThWqI0jGc2CP+eEV1VwipCztIS5Mo67Kz94sjVPydZubiOSWBmxu3Jvo6NCBoUh36W+TsqcWeTFZmE3YUNkNxiMzZI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9251.eurprd04.prod.outlook.com (2603:10a6:10:352::15) by GV1PR04MB10244.eurprd04.prod.outlook.com (2603:10a6:150:17b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.30; Fri, 5 Jul 2024 13:47:25 +0000 Received: from DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd]) by DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd%5]) with mapi id 15.20.7741.027; Fri, 5 Jul 2024 13:47:25 +0000 From: Ciprian Costea To: Haibo Chen , Adrian Hunter , Ulf Hansson , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, s32@nxp.com, Ciprian Costea Subject: [PATCH 4/4] MAINTAINERS: add 's32@nxp.com' as relevant mailing list for 'sdhci-esdhc-imx' driver Date: Fri, 5 Jul 2024 16:46:47 +0300 Message-ID: <20240705134647.3524969-5-ciprianmarian.costea@oss.nxp.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240705134647.3524969-1-ciprianmarian.costea@oss.nxp.com> References: <20240705134647.3524969-1-ciprianmarian.costea@oss.nxp.com> X-ClientProxiedBy: AS4P189CA0044.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:5dd::13) To DU0PR04MB9251.eurprd04.prod.outlook.com (2603:10a6:10:352::15) Precedence: bulk X-Mailing-List: linux-mmc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9251:EE_|GV1PR04MB10244:EE_ X-MS-Office365-Filtering-Correlation-Id: 86077ca6-8e05-4c83-2761-08dc9cf900e9 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; X-Microsoft-Antispam-Message-Info: =?utf-8?q?oVHdmAVINwjK/QrhFKFLuNRplBikvnD?= =?utf-8?q?TIn98x1mMPFcIFtgWVw9skIQbAGm7BEqo/jAnsn/xdKxkyKZ/EQfBrRDRj0ri7/m1?= =?utf-8?q?jVm5boL5enMCazlt66pjzoMZnjiLel5NhhqOX59Xv964nqp0wBBDa4PkyQHDXso66?= =?utf-8?q?+h21aL4+4WgRpetF2g5l/KmZ/Mx3ZYKU3eMPsqw+LvF4f0IAUs7dnVWl3MO7/5cxT?= =?utf-8?q?u2Sj3E87IR1n3Rbt2J+OoXcA4YRFduCfEP2dqy11Mbm5OaIfdGF4r1s5qTKurmPEd?= =?utf-8?q?u+Snsnj13hyw/rXD4sQ4lDH3CWVdnqFWPOPcai+rJhxqpTZEAhLHpY0UheTYPocvW?= =?utf-8?q?Jz5+w2PlDYkDJFxxNaszoF0hGTZnVRhGkHtzuHh1mhuVMrpA7kQw0OwiwIY7dJ+H3?= =?utf-8?q?BeJ5pgVLsNrSgz4QePQdUv/OR6MVYKpHIjmnKuTEhNemwb/aoISPTg4mSIVLnMV7V?= =?utf-8?q?QuRTuZXvwan6MQ+ogUM8Pw9n9NSuIx2lT/ZWJZFQToDwrP48vgzl6N5bXwc3W33Hg?= =?utf-8?q?cFIcQn94NXRMaTxEtqamBZW4oQ50tw60kZaJv7E/iNvRNGnArN9WMKyYqPYz4uddj?= =?utf-8?q?gZI3Sq9o4PkL43XQTiM7BdIEpG2xR0C/ZaRLZf4VmpcwoprFErt3d5gz7CqsncyHh?= =?utf-8?q?0DSbm+YxGr/D2atI7QXCRDls+Mp84Z8hUpqksHN0SeDPoF6dp46vXrQRWFcV8eJ7A?= =?utf-8?q?bBj7Ub2GQ5rrR6iXZ7R5DmmjLU62WVaigTEL1FR4BckR1NcbFpKQL8YxAAS81yKo+?= =?utf-8?q?+e6VgKMFQ7dHCe2JHy+rxFKrTXhpuuy4zkT2eiP9+KnAyS5hxCjGA0EF+ypVQrA17?= =?utf-8?q?98lgS/KGG4JfJxIbNQ8YWfyRHeZG8UdFv7HscQ9KjxLUr29loNAVwvBJQ4+4cnzpy?= =?utf-8?q?Zt3dLf7VyQEo/yudxfzL7dqS4fvRFAd3TCOG0F/X/tHpF64erZYs5PB+PY9DEUbnP?= =?utf-8?q?2YQQxy1k5k/G3WxDReh8twbQHQV89yoENqMqiMCwHOH60JLZu014ks0uvAKnmz5h8?= =?utf-8?q?IAVHbnrpSIsIKnUos/43+nVS+Cu7+uYSKZnJWSJQeEs2GI2dOy6LvKRwE7Hb2N+fX?= =?utf-8?q?JE4TJO4guSgZbUeSnTymSHo0ujsoH19nDoRb0ZGTxuXU2nZt8BE36f4Dqj4hz24Kw?= =?utf-8?q?w+tYIjDEabAW4dnTuhdAGTQ7KMAbHuF9uDM8bcDzjgq+H2uP2Hv+n8jA6pSFFYFjB?= =?utf-8?q?33c9f81FOVGw4uxS3gWN8pr5acleaVVexx4+Xk3jWyHp1yvecH1mAHyRbtw7CihuU?= =?utf-8?q?oYmBBftTf+4Y0nG1E5Iw841J6edfAcHrK6A=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9251.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(7416014)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?+mLEZdqhz4+So+FfjGlu/FHlnvGg?= =?utf-8?q?89mYWsxSn5Tkc7brTLs/oabav2B5/mTRpsAiGc2A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QKmyJrN?= =?utf-8?q?LzN8MqLXx+aAGA5BByFrSlkBqlZccBTy/wO0f1RZvEC81AyZ7d0yho5BC6xLJFgGX?= =?utf-8?q?wAWemxLxHkwgNwpnZeTTXUKb7u2AbwIU9jkyjoJb52URKL2udlFhBIBYJ1V3s6E7+?= =?utf-8?q?VRcLg9+VhTOg9nCZTtvdsrFe9Fm9RKzNgrw33GWlvPGVCDBmDYkcINTa+zvr2MiOf?= =?utf-8?q?jE9wymb5wo678I5ynLfM4x7+JwHgMbFmZTA0cIxQ9ZmpZgAJBojEdpOMDwpH/xv8f?= =?utf-8?q?aPHDnUVIebQ10gambWpPduAJoYMhD3LHrkGRc3EE4WdqjTml/WGt3STuR815lBRVX?= =?utf-8?q?sR1SCXKw6thSRnx2L5jLAvJYlO+Y/iCDYP+cZ0iBhitj5HFEm8mr2ut0Gq35DY/Ny?= =?utf-8?q?4VmVWSkNchIUO+A1Lra5Pu9p/8exhmczGIOuSBayVHpNj1B3aTeWPI4N7H+hhc9kM?= =?utf-8?q?3b3z0z51ovOEXGEYbkezSY2pZI8OMJFniLko0DR3ATVBfX9pVmMNWq0C/drPK+KFc?= =?utf-8?q?0uhl3fOWCwTC7fD7LINBbzn0E59HlmFe5onoT1GTprbmgMsi7+/E+SCFdrKMYCPwc?= =?utf-8?q?HyQsb7VJQcd1DAsg/w+1QZhQFOAjKDc9Sw=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 86077ca6-8e05-4c83-2761-08dc9cf900e9 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9251.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2024 13:47:25.7093 (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: YqVWHpSc2GlN/+8iavnNdNeUvwEwSZurQX/90PZN6MPLKf3aqETt5TwHAtDxEucUB5GqlEWNuOIkh4lnOO1hHoBfKIMd7p5Hnvh63CKQyTI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB10244 Since NXP S32G2 and S32G3 SoCs share the SDHCI controller with I.MX platforms it would be valuable to add 's32@nxp.com' as a relevant mailing list in this area. Signed-off-by: Ciprian Costea --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index a39c237edb95..26b1ec2ba094 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -20098,6 +20098,7 @@ SECURE DIGITAL HOST CONTROLLER INTERFACE (SDHCI) NXP i.MX DRIVER M: Haibo Chen L: imx@lists.linux.dev L: linux-mmc@vger.kernel.org +L: s32@nxp.com S: Maintained F: drivers/mmc/host/sdhci-esdhc-imx.c