From patchwork Mon Jul 8 12:10:16 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: 812010 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2040.outbound.protection.outlook.com [40.107.249.40]) (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 295B7143C7D; Mon, 8 Jul 2024 12:10:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.249.40 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720440638; cv=fail; b=QXJOiw3YJEW3DC6iOcXf3zRcrkiPP2JbV20wP1BgvnaXEwxO20z+VvNyhTCOUvpAZMvYL3Ky+PP2FnJdcig1NLOHiwfQ5jrNzEiRn+U6U/GhNHaLtb/lyQo2q3Ve7N8QwmfIV5ec7CRpEfzOs5nDgj0kMbRb+wg0BgzR7+40vek= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720440638; c=relaxed/simple; bh=WA3wpQYMiw+SuvwzzQm8hfOQzI2ldcitSNgjB50H6Lc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=lQL06NufP42zHGduCeBqXDLLq83tC19KJaPzoLOKjU+M8ec7rxZpKkGO+BiDeZV+/V5IRYKaRSaue4+ayi29pbLXzKsJHwwykcVD5BdWh9bpOY/15vkKIXBon6+ulX/qXTXU2T22L0fDrSA0/OMyGA8oxzCPectEJrFL8IkP4UA= 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=iqJ2/+0v; arc=fail smtp.client-ip=40.107.249.40 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="iqJ2/+0v" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hOmHQozoOzeTdNXidSsx6xPuBIN2QPa7GzEf8ptonejiSyRlr5zD9Joqnd+oY63APCbRQWViClJu4y+k/rUrVxtNfeSRBsbwXDx02zSNSRUKLsdT1rKf+O85tejsUa7M6UgkpTBEN67KE/zcxyIuHZrNVCGcpzR59kbP8fslrWIOL6/gcKkuaMEjCmOT24Bf9wDVRlwmt/6bSs6LfyxRleq9ZCipa0JQ7rg1XWyLiWUXw7ENuqKC9mdSUgB83pS5fzA3r9FlFUodXGo1wTjdIj1xK9ku71AVH0l2BfB7kQKpKVGyRrPwNLSrNH0fUO3zqNC5gOySmScyjVW3Hyp4mw== 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=E+SZ9nm+eXTFoAfhIl95cB7FrkrtLebkNrqb5v8ua26WJjOM7Q02thshsXGYUfHP87ttktAiwoZ7lk5MWqaeiRhFUcZZTbrqFLsOZFd+aZm6sRlL5lTskf6jrmv5WR37C3NjhwCiDRfGJCNKmNMdpm3WnfzWF7cp7cL1RTxLq4nOOPb63lBukZwyILwiZVoua4RJ3M7qwEdj9j5o7Y/KVpx5+Y0Wp9FeGhRsDDPeBvndC94Hv7CF38p6+ZzLh++IS3wxq9eFsdHqcV2p2VN/oY1yET3AN9S/TA6QVXW13jItyTTowrCTufUHoqLApvCICpXEGT1Z5TCx7W2xkrZ9rg== 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=iqJ2/+0v1PvzWGAWedhfyxQy+0saq1h+luP6nueG6h6CxHaRFND2C0RT1LV0+rzkzulJL8q07yfQ6ZDE6upmVpJIvD7YbD3Yu59XqcbLbMYHZEbi9d1zvsY4ps/EXlmrOMr+EayKxkOf4hYb2BmB+uhb8DbtBLFkZLF3TudcsOk= 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 VI0PR04MB10614.eurprd04.prod.outlook.com (2603:10a6:800:260::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.35; Mon, 8 Jul 2024 12:10:24 +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.033; Mon, 8 Jul 2024 12:10:24 +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/3] mmc: sdhci-esdhc-imx: disable card detect wake for S32G based platforms Date: Mon, 8 Jul 2024 15:10:16 +0300 Message-ID: <20240708121018.246476-2-ciprianmarian.costea@oss.nxp.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240708121018.246476-1-ciprianmarian.costea@oss.nxp.com> References: <20240708121018.246476-1-ciprianmarian.costea@oss.nxp.com> X-ClientProxiedBy: AS4P190CA0002.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:5de::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_|VI0PR04MB10614:EE_ X-MS-Office365-Filtering-Correlation-Id: 90be1601-904a-4dd7-7df4-08dc9f46f250 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|376014|1800799024|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?q?pEj2WfsBkmQwMJSrfXaDFDRNPIMPh67?= =?utf-8?q?0x8x6emZEkdVGxsuY6CSVaz5Hg0hwhaUP7Vmx9KZSdERSbxgIso6mhEOsY5XoTmNy?= =?utf-8?q?xn9t2VGZTeP/R67GrzGGqBCSu7EIl5yl3iofdbHI/FCSgoXFPzozGmRRCWclf56Be?= =?utf-8?q?2X8sKKKWoaOOJuAmRiDgzv/1Wpb5d7qsxaNVevp8hZc5uVE9WX3R1qgti/NcxNj9O?= =?utf-8?q?ebaEjJ7aE93GVfZ6p6lbQeXWH010olNYNQvkBXiorDhBKd8HVg6ozLs3qwv4BI1G8?= =?utf-8?q?JHO998UmTB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a6ZNXwaEWEgXdRE4C2ci2CHDZZbqJLfPEZMvIHM2atfHcZXFbvL5S37XM7y1?= =?utf-8?q?24FoIPx+Fim9Tw9Glg++108J8OFgkzYuBTIJ5YRMJJ1BdRCYmk4cyB51N7sUu7R4C?= =?utf-8?q?mK3Fxn1Wys6X3q3qtRDyj+c2KB0iYHIV7DQ=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)(7416014)(376014)(1800799024)(366016); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?yE1e5iO8cidb4lTSu0cBwjk3Eeyb?= =?utf-8?q?PcNp08RzH5AgGfCsBk+COIGb1pfmYx/l6SVUJNKHp3j85XNYe2jsy2Y2KEJzDRikd?= =?utf-8?q?zH+qCavm0KukKaOEnN+poXZFmFhRjXUX1QJ3OQRQwu28KMDxn2Z6d63+gWQGUCdQE?= =?utf-8?q?/TugEVq58U2Xf2Ymz0lnnWw3TyHk3YAbVFJUBshlxV8h81M9pc5j7vGMKcWLF1Ega?= =?utf-8?q?xZ/1a6PFdCirr+keNCDur5d/PkIXVhgIkUTH9Itdbo3OY6t2OKwQgMv521qdogdoz?= =?utf-8?q?TUix2/1ZQN4VlCtq3kjABQ/j5EQaR1xQo/HZSJ3L8ABdAst45mAZyn6RasOAl5P8E?= =?utf-8?q?DRnMoGPJVKenucfkRb4C/QBgkueb9UzSfR+A7N/Qj+83E0EvIGocI2mrm8r3l1fwG?= =?utf-8?q?5kyLJN2ZOrNdlP3wluC2pLD+mMOw+y9FsFS3fvBrWfk8R//ErepUabI8mPMxWmkR0?= =?utf-8?q?x4L3ZbP00voj1tmt8if6aunD7YKyYD4bV3X/D8quaZPh1DMmG4mLlW5tAFoZAaJQl?= =?utf-8?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-8?q?ReKBz9CVmfgdQsTWMlAr+3tqzrgjkIfO1slTKDAulNUUFZH4eSobijkSFAvyHVSOu?= =?utf-8?q?UPHI07qWi9pWmlw0r7QFRvNMQnPQzxHEskoZ1VlnVdKNcJC+QoIMP61eR7sLr9JAk?= =?utf-8?q?FwhwPBhUPChe2dYPFRRJo6b2oXkwWtjO+w=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 90be1601-904a-4dd7-7df4-08dc9f46f250 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9251.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jul 2024 12:10:24.3039 (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: cupYtf8BuAX8+jdU3iwJSmfdieTejIVBBfy9mmwsReHGIGV7Zx+Y0CvsD3RiJTe8n6G2A9jfPv5yLbO/XoT4FaSNkArsWwjFALCbJRN0tks= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10614 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 Acked-by: Adrian Hunter --- 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 Mon Jul 8 12:10:17 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: 811348 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2040.outbound.protection.outlook.com [40.107.249.40]) (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 AC4391422DF; Mon, 8 Jul 2024 12:10:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.249.40 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720440635; cv=fail; b=JMBgG0e/hEptpUg6tZubaTSvoUuO6odUFuC5V6arGLxjkXxYDZD/rJRO97LwkgoY3UMJIhAfTfBq+m+bu/RQtbwLkQnCSaXMfDrR7LQ6w+yq3oPOg2eohZsqSxaf0+H6jLXR/6mlKBXVOaQ69/Z+tuuyZEvjz0vnxTbzSsM6ajA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720440635; c=relaxed/simple; bh=4/UivPtlR60qrSoh3s+mf7nWjTTkNYETFIIUAGpASAk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=Rzb3/btc/wDfc96R/q3p1dvlAnpMrvJrhd7pFxFxZd9YdiHglxACUgG2IfV65cGWxJAT0q1R51AQM7VWAei2e0cx7CvSN4dWUnCfJw4Vkgto1mvg0A5PBI/IWtkzuYtOi5THlPocFbfP1tkZfi3JyVEKqzr/JRChFFgQanDZQQE= 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=mhL/bqLP; arc=fail smtp.client-ip=40.107.249.40 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="mhL/bqLP" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hNH5zlwwUjPXXiwMHwiao6+UBC6Se5uO7ViHlpurPqhgMYfKyL8NmdYJtqCOynN9SBmkR5CX8tVX+6XSEk/w/k2rn/ocjCoQayctavGy82DlGjYzq/jr6B76acuJxOVWeezO1KE95hI+ErEhdUiGe8+zGpRozlNGFrc5FbENYS/Hv9p3oiapHnAcHAdmgWSJzv/kPviZgbHV1F/y4RWa+jvg5wxCcCamowgKQVVRAe2FtSxnGLXbj3nx4X8jaRRxZbzUqBelgqUTcXjsT5JsMqTSTeITZEgGFM0H2xBVnx3P6bnlJQuHfLwRxiOVnECSQIGb92UiunO4fmnXM1a3HA== 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=fTIBijthe6CNHMTddwgIbskHBQ0+lAUmCT9HlNuc/criiYyk4CvQvBcFCJiFjyxVLsmRrG74adh1i4lGOyzftHMxTs+rXAbl9oHDKnHWliUoh/dr41Dt/wLqoQl3zDFkhtUlEljle1DFULKB3+dWOpfUPK3lcacnSlA2JjGy4dQgtbVKd4s6nKg6PNzqAVpa2DjUOSudm1Gzx5Kdh8ItKGFRqgZeX8JCnWd5kymsk9lfCj/dsrySk5XAuFw9qo+1Oxqsj4XtQFqWzEyhXw4AIr8OypE9kTIT7VH+NBI8VL1sgezap/bUphWUkZVLeJCepQ7P/odecMA1+SlVzcrAPA== 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=mhL/bqLPZ+rF10pgfwH2bEB3d+XeXrGEvtfZRl4gSqTkVqOp0BYVZgui38GU2HOjKZtkLWEsUtVdFopX7e+csVvvI+HFhordW3o+guh3DEyhQOFjHtNdpucmgwFUvm9Sx6v07FUaJLmyFqSOFQruEOfo9ZZt+q4FvvW6Q7ZSSTY= 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 VI0PR04MB10614.eurprd04.prod.outlook.com (2603:10a6:800:260::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.35; Mon, 8 Jul 2024 12:10:27 +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.033; Mon, 8 Jul 2024 12:10: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 2/3] mmc: sdhci-esdhc-imx: obtain the 'per' clock rate after its enablement Date: Mon, 8 Jul 2024 15:10:17 +0300 Message-ID: <20240708121018.246476-3-ciprianmarian.costea@oss.nxp.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240708121018.246476-1-ciprianmarian.costea@oss.nxp.com> References: <20240708121018.246476-1-ciprianmarian.costea@oss.nxp.com> X-ClientProxiedBy: AS4P190CA0014.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:5de::18) 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_|VI0PR04MB10614:EE_ X-MS-Office365-Filtering-Correlation-Id: a859684a-6210-4c5b-0157-08dc9f46f33e 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|376014|1800799024|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?q?7NjSBv3Ja4RgC9iOc8FbMyUehGGo4Zd?= =?utf-8?q?siUUEaPOAyAYYT9iyU2O8wN5jI5XZC7ogoZMeWu8Izsg81pa6OQVJeUM/BN3LZ7rW?= =?utf-8?q?K76QPlI4iyr9Yfc/v/PLnGIMiq/vkYf9Z8W9NNPnGwr/1RtAEgPOvqS9hWboFmye+?= =?utf-8?q?G5aUvm0r0X4dkdgNUgKqReNqD3PL7NwjH/GQTlZStA3RdvOPElr5RWKVbmotCru1m?= =?utf-8?q?NR1V9v4fbDIVgqKaJUjFKnfiUWlRvrUGLvH5p/Sxl2QVhlYRhWQf0sF75If3XoWMv?= =?utf-8?q?8rJeJsrvRPn8+Yz3Pcw05DSvLViT3J2K64kmBCl2Es2OnAWXgAmluD1YgRj9pjEkW?= =?utf-8?q?EL7FS4ZaJ9KKYaViO1+QDuOFA6sHLx0VITPoClaFU14N9GMJXm6GFymq8wSa2Rx/W?= =?utf-8?q?oUaR/Xf3ptnWdGI1DS9tShOC+zQRXlzjoYxbH6GJBV/zZDS00MSi71NP+OpwudeCH?= =?utf-8?q?Wo3o/vWCBVcriwbgHXuZ79wo8SGVbjbr5UvbM3fv2u4rqDVzKNV1Iy8Y8ZKrtvwHC?= =?utf-8?q?nEARBX2fQEzii12fduzhinPh9kX8JZiYpMZRwlUzYWEM2axmfxAvbwjbpu42puQSx?= =?utf-8?q?rx+1qPNycmvpBmKOb9k0q8uBq/Za8/OvT/u+5v11IDsHF0OnooM7aB4aDcMaM/tpS?= =?utf-8?q?TNYk6xguV7/o2z0WCXRv63d7Uc9lFwANgnZFmmiN8YNO7j39HHQa1BZ0nvNknJpkc?= =?utf-8?q?oxswn+Run3K90ij9HGSojIoo3F6a+XMFGcv2kMXCG64SkRzUybW8kdG35WXYptGR4?= =?utf-8?q?eJvrH4hOMZGHc6DPGH1r3m/vLu/VNm/2Y+g5TwyfxL94TUusvABsqizDffUm2KUdw?= =?utf-8?q?wXQpThkpYMV1AHpYCT45Afy0OITZTVKaWWGQMaU064tUi1n+Ritf+CgnBYAb1ONjE?= =?utf-8?q?YgLvJx9fg5cq9TSDYHSCS4qHPLt6jcpuykaIoYe3YCWW8O2nh4TCBcATyLreu2wHr?= =?utf-8?q?kWg7bJJX9bTYtPOgOlwyuO0L7HANGyXVcMnUspERIaIbOOn7xMQSsKYjV+ssulWAj?= =?utf-8?q?7ZHMZmw1dChhcg6juT6ivBTToCC4GcNA/Gxtpff/2kG7XXWyuPhyi5J4Ps2FhDmac?= =?utf-8?q?PZVh+ITSYee+GKCx9UGey3vUCLsRYGLqFwesM4vnntmP6j/woxLLNDWOWOlS1Ma67?= =?utf-8?q?3X2onIuADf50azp2Ka2K+DweVBSrgDkwPsW4SSpRyuhJaaPVs48/YjhnRN8gw4R8m?= =?utf-8?q?lx9f2vrUOvjcjIeu1Snk2lENHPpJ5B0jVVpGVsynyoeJWGgDpI13ynWevcw5Jt45g?= =?utf-8?q?v5WGidaf1miuOwmzX8LX/Y4DCxY1VDAF6dg=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)(7416014)(376014)(1800799024)(366016); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-Mess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EY2EKRA4YrnzBghNMXTCxmGmOV4gXnEC?= =?utf-8?q?8nn9zbMey/eUGc+k08JaisNH+8Wo40GmeelGPONjCijJYOjYSgRzZJLcVpCfSM5Rn?= =?utf-8?q?6MJMMhMSdtzUMNnie7Wza8rO7iEfS9pLv9sOphBvTiwXVNnxG/8rPWNiePGSrkgLN?= =?utf-8?q?69AsgDZUP+MpdYmBBXSaykRvtsa/GNlkKsgmNKsLHEpk8Wwsyq6h0W6IDTGIneVZJ?= =?utf-8?q?eAIPhOvP0GQAB4FxT1emJeyas3HUs5aJCZvjGsdxMEqSgguavxZkDY3gojI1BtefC?= =?utf-8?q?WGDm6iB5lSKWUZky5k+jd7gE2r3asJ9QjbjQLjQAs6HlVpuVPQksR/Ah1CKRLV5Hm?= =?utf-8?q?84eFsA6WUk+Qm8Nemhh7Q5nTGOReY47WjsPjduLDOsRdaqKQzT2OpCu/qw/HplhzC?= =?utf-8?q?+MJ2aQXBPiFJm37inUPYkuBkcqM7YOz0gXmmoTCd82SGVcyuprrurHPHY6y91luFa?= =?utf-8?q?S/8C9RUF/3A4sM2UZhZqAFQUCLdFkWl1pJZp6vvGMzu6oYWRoYfcqRIbirATSdr2G?= =?utf-8?q?VbX83vsKb+kdq0hY0AW0Kk+jWHKaE8PLRqbm84NfXWqcbxDt26xSzo+Yq6ew5Md7g?= =?utf-8?q?YS+JQogKm3Vv7sqyZY0OoiBLi/dBo0m++MxBEVo0zNN29vxkej0Ehm3PLni3Xf8oG?= =?utf-8?q?P2cqIMLExwBI/CHZz/039wKEuFAbr9/6sw=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a859684a-6210-4c5b-0157-08dc9f46f33e X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9251.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jul 2024 12:10:25.8833 (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: RhANsu6diJ6xLneHGe/h3oqadYBDlBRJL80z6Z/ANp5teuTAzOJSNPpagTCa7E5tm7JRpUHuOB6h1hHP3FGXv64hz5Hpbv7jerVzdKuAZ10= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10614 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 Acked-by: Adrian Hunter --- 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 Mon Jul 8 12:10:18 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: 811347 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2040.outbound.protection.outlook.com [40.107.249.40]) (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 4EE7B145332; Mon, 8 Jul 2024 12:10:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.249.40 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720440642; cv=fail; b=rKhiZcS2OqugTxSa7VEO8q+XVfxti4J5OfC4eBT9OMlXTyMV5kF+Gpg3HqPUBAfc93ifLT1zPdXeuEsIo+/6mHbVvM5Eg94DqLM7+1MhzdoLr5VmQCz7NyDEGP5tgSdtQxMPpG2Fkcj85A6aSwgTphfObefnrbHdySotHtmxUNQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720440642; c=relaxed/simple; bh=UvJ//py6u04igD8qG8neO2Kzkeg3fYEFwQSQ2MmZYw0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=GpDYdwYACKGKog2v1+dvWmha71NrvwpEpqD95fCx+FHFWZ3OwUSjN2O2Bg3TeTwp87Bm4j+FmUNBB6YzpbxaGooZ2Spfwf0PVfPFjreXEQkF9nHNFt0MGfdr+vbTGwB0coMGf/CjXISB3maGqrkbgj5GiiDo7gmdGhDkxRp4nHk= 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=S2ZxmEkd; arc=fail smtp.client-ip=40.107.249.40 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="S2ZxmEkd" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DqeP+LmeM4ZWVnZpLclvgp2wek7OvnaZ6zAY1EiyV4L1P3EOX3lQsCNy2TqsdTQOMOMnaiGY3yQ49leIUcd5yhm4RS3OBZjeFFvCDzLAoCkOnj98Jr4pzNHC9Y1rltdCNe4ZB3p9hTYOkkwhO6Z0NljKgmOauVLoCcnWLAf+rgesH2iyE/QkJX2QR5EucOCDvT6iCxd4Iz8A5KR6gO9SNDwTQ9l632CaTSiMHkQM1AUTYJMOQu4yCul++wM8VAUI20QxuCQ4pRW9zFfxED3YAR9AgdA5/j3x6HlJ9XCCU04GYv4nG7achT0UDH9ph0UOCpOHR3cG1U5jbK5z9b5s3Q== 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=gXdLbmzSsoQiMo/dRCdUqNdbwikQSrZp1pg+TsSwGkzkbMX9QTS1AnAfb4j9qjJNKAekNp9x0U0r3yOyck/ax/UMXgmJ4qf9FBfW00aRdXRFwakALdoUQaLL2gao1ajyk6PUHli32fuiEYzRczeknzP4Lg5EPIAN2pNdkswyu0uvO4nN0O0uIq1iSO5fJSbjAnAZ1jlC1J88B1BA6hlCH4VcGEfYFNcWMUYIH2V6TJgE0ZmAZEc3pbR9FhIUbiNuZRfj5wfAM7BQDV8/CPrBeHH0ZfZD0c64H9A01IzTkk1mBeQx0xwIlRDrk9sokOHlg2U147vpmMcZp7r5EdeDQQ== 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=S2ZxmEkd8LEvbLsILTRkaeOaQkgAP3f6nN/V9P39+kUAV26+hFU1TPn21ta2ybMncIKiNVyZzUBhIN5OjJWbCNV0jLqMIZBVeNaxOEDOGR4zPbNBU9lCZD9c359pYyNE6R89aAOINI0sU4Favi24Ll0K/3upFlrXs7bnbmgvDgY= 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 VI0PR04MB10614.eurprd04.prod.outlook.com (2603:10a6:800:260::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.35; Mon, 8 Jul 2024 12:10:27 +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.033; Mon, 8 Jul 2024 12:10:27 +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/3] MAINTAINERS: add 's32@nxp.com' as relevant mailing list for 'sdhci-esdhc-imx' driver Date: Mon, 8 Jul 2024 15:10:18 +0300 Message-ID: <20240708121018.246476-4-ciprianmarian.costea@oss.nxp.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240708121018.246476-1-ciprianmarian.costea@oss.nxp.com> References: <20240708121018.246476-1-ciprianmarian.costea@oss.nxp.com> X-ClientProxiedBy: AS4P190CA0003.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:5de::8) 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_|VI0PR04MB10614:EE_ X-MS-Office365-Filtering-Correlation-Id: a72d173e-cc8d-48f9-f2e5-08dc9f46f42f 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|376014|1800799024|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?q?QF37qm97iZkuAUQmD0pzoyZA6JKpEJ2?= =?utf-8?q?WTrDmCzE49WXxDyQ9HDBOOGp43A8zFwJqeeGpES112fzq9W0XVhMX6ozSTO+7UH4e?= =?utf-8?q?erFqOBjLKMmN9g8V3d14L5vUQPZ5KjyLVEefz61mQSHLMCLV9SQjlxq7v1L6BAP4W?= =?utf-8?q?z+2Xz3vlmEOMoYPfrLCYIIMmS8huMf8o3DhINek5bWL6kIhTiDq0hlIeTQ6Lw9NiU?= =?utf-8?q?KujAZ3jV2Zr3M5fKYlURERNyrS9qcij62vBqzjK+wg5NdpMfWIpTFhztYsNtJtcFl?= =?utf-8?q?NKuLe4r5oyRbsoxlm5sqt36AyMv9KycY2E2peS1oeUXocE/SpLP04kQ/ms0sinrEr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= =?utf-8?q?ar6S5osO1NUWrFpoUF4Q6UCRtZHmQ/PiqSWyEZjlbh3G6lQI2aVeOyA8H/SRF1+I8?= =?utf-8?q?YzgXYYFCnBPuytGtexnOfyOiuPyaQAyk+cg=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)(7416014)(376014)(1800799024)(366016); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?LJ6erfESPEryRfbvqLsQMPgezZYg?= =?utf-8?q?3i/ecdtS4heK3mkm/4vB7AI4sSWchnzpTjVhnGFifpcdXJ0sU51sZvUkCtlsQi2Ko?= =?utf-8?q?YFhfCClRld2qIDpiX9h5FIRp+yQ/gfxq//LnaHE2omULnXwu35jx+QUyBBJgGwyXG?= =?utf-8?q?q6hzTsXP7XY7zjSOoxmVy37vc3ltzSzyK8QHBoXz8iRXbL9C+FY0J644fmcMJsbji?= =?utf-8?q?9oBsVsraRYAw/h63wAM7IrfZcwF8VeEgue+JWqyFadpJVss3JLiRDdibFR5ls0lf8?= =?utf-8?q?9memjcyDilYTxaxGYP0hd/37GjNxYKtEeN1M19WN5XGjpfMRWlRqWlrkNr49ExqbU?= =?utf-8?q?ZBPO6uigC1HnnK+sMq4b+TTU86cKbW0VKhZVsiI/hF3xShIX0qvOpT0AERJEL2h53?= =?utf-8?q?3gSPJyt0JwhgtCOSddszSxxXU9BbZYBWblOXWhu4ITF/Dky2MmF9818UGGjCj0rzp?= =?utf-8?q?/ZSFJ6tg3CAzzyECc5r2UOfas+c+CC4s6vfQdD5LZAq9o63vZVdvd0V0+Ztrjv9C7?= =?utf-8?q?01RRQt5mFzRh8++tn5zSy8GKqV4FBQjb9xB7jajUWEqCV0J/bNn8r4d0T2xQv/0mW?= =?utf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utf-8?q?YwZsrjpbRdX0s9DAmzXpYVkb+pwaMzfxPIX8yhfnUSJNImBHYAMc0hz8EMSpbVhpQ?= =?utf-8?q?fcemOpJvS0Aw1t+gqfGC1vWGi6SQWcKwmA=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a72d173e-cc8d-48f9-f2e5-08dc9f46f42f X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9251.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jul 2024 12:10:27.4168 (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: JPJXPW9rY+HUPGCgN4gSKVxLbtYBin0bFXUdq90NVjF2AsHUXABpdMIghbNpFklUE3yJM3wGPD3QYrbroLJajViWTBIeoL3TOXBrJICZifo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10614 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 Acked-by: Adrian Hunter Acked-by: Haibo Chen --- 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