From patchwork Mon Nov 25 08:33:56 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: 13884571 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2066.outbound.protection.outlook.com [40.107.105.66]) (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 4180F185955 for ; Mon, 25 Nov 2024 08:34:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.105.66 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732523647; cv=fail; b=NIJX6PWFIRomwM4sZyo0qaLqe+3MwNCih6qbPqNXvcpFsZpPOfQNaDgLU3i8Mw6DKyhHy+DNt++1CYM6Ms7V8Ku0KL/jveu7uwGBKoqcLaLpA5eslSydaviJY5tBnvs4JRFOkUYGQUi/Gbvp7HphOGDe74vG/Dg4FLIlc5h2xek= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732523647; c=relaxed/simple; bh=HoUe0C6pVV4kmDj3XBaqaUM1T84TyDQTt7WeEbqigzU=; h=From:To:Cc:Subject:Date:Message-ID:Content-Type:MIME-Version; b=ZWwqjt9QPqomSz/fYclKXSJpUJp8yb0+EVfQX9+SWsbhdcv920U2tmgsetpB6I8gWeynBRjlVOiIgc8vsPPX1OWPsaSjD08YmUhf0oFQdSIgHckW6CUmMfMP2TicxTvXTsOZAh070ldxCGai4s85gIrwpHqRYPiOyS/pMTkLA+M= 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=lIhwE642; arc=fail smtp.client-ip=40.107.105.66 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="lIhwE642" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=b/tOOTF3BF4kji6Amf3NnzEA2TJLUdx3NNZOqSUI+Pu5GGpGcjj8iqE1k/isiH31iQRv5MuDoFiL/iKuYeUq5s5NDym15fGQnPqaU2J5dijylkS+SWV+wYzt6c+yaZv9wXs9xRvrTV4QzjbkmYa8JKpWYff6X/gtBqVlrUKpH6BjKqqjT2YzMCq0mqMKejLv+NiX3EgK6o3/hOKMxE/5DY+W10O/A7SDc1ntwE1+iX2J+bLT0axcXNaRutHCAlZsEyukFA3Li5ksAeHzzbV+rxJ5b8SZCoxaPhigs2pXR/k2RTV+TrWH/irdtbf3aN0ZHRVZ6CzF/sjZbCF/uAmi+g== 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=5DdgRaImBJGrmY31w50BHnYNZsbvbj/gDz5ekYx+7Bk=; b=Rsayc0itb/FMzuUR+ScNxGWOfNAZYFFTRx1PGB+CiY3dXkVBPrn8BfVNf2O+4TLicXKAermEsv3mR7C9XP0UCXEBgqyohKDHwIgyRGas/EjJkSe/eQHZApZ+jbmD/YdxC0Srz0rw/EXTcZe7Vj+mIOTBjmxSZ2Er4oa18KeVg6QJYKmSBFVAZ2ju4gCu1CKsVYFuJ+C1ZbOXViujvnbpWz31qmPDvL1TBvWHh33yH1aNcN8Psd4EKFxJG3qRj9UNyQEPEzbW7t6PwcblWoH7dM4GonLxgvcAgefULf31V7iBUap2lUtkfpZBp/nDxs4MUhWifIMgsBzwjwZ1d4vsMQ== 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=5DdgRaImBJGrmY31w50BHnYNZsbvbj/gDz5ekYx+7Bk=; b=lIhwE642nLGn5mAVgqc/jBThdLWnKkJJDBcxMuMHQK4grVyfOwdfk9iofF7zyTaN+6S8UNvFq7FAoei0QVjRJx7cQSZXJZ3rxHPCXEQw8FM/L4q277ysRIW5UgUdR3MsxdRRKWs3X4UIG9RK6yj1Gi4FzGeti719gVwcyBsbBCpAHKcMW7DhAH5S7TCs0u4fAIe2hjlop0IAsb9uE4BicOItQgL6FPhLHLKdY9ekMeTjMwlysnwg8S8CR7MOUQh5hnREJof9ghbzTey4wFJxMiUD4SxNDq5QVzhnBrlhTiQYqATZSvMBRe4AtyZaAAyR6zk2qcp4R3pWaA+F5imhsg== 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 PA1PR04MB10699.eurprd04.prod.outlook.com (2603:10a6:102:488::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8182.18; Mon, 25 Nov 2024 08:34:01 +0000 Received: from DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd]) by DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd%6]) with mapi id 15.20.8182.018; Mon, 25 Nov 2024 08:34:01 +0000 From: Ciprian Costea To: Haibo Chen , Adrian Hunter , Ulf Hansson , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Pengutronix Kernel Team , imx@lists.linux.dev, linux-mmc@vger.kernel.org, s32@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Christophe Lizzi , Alberto Ruiz , Enric Balletbo , Ciprian Marian Costea Subject: [PATCH] mmc: sdhci-esdhc-imx: enable 'SDHCI_QUIRK_NO_LED' quirk for S32G Date: Mon, 25 Nov 2024 10:33:56 +0200 Message-ID: <20241125083357.1041949-1-ciprianmarian.costea@oss.nxp.com> X-Mailer: git-send-email 2.45.2 X-ClientProxiedBy: AM0PR02CA0208.eurprd02.prod.outlook.com (2603:10a6:20b:28f::15) To DU0PR04MB9251.eurprd04.prod.outlook.com (2603:10a6:10:352::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: DU0PR04MB9251:EE_|PA1PR04MB10699:EE_ X-MS-Office365-Filtering-Correlation-Id: c7439485-932d-475f-f20e-08dd0d2be9b2 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|376014|7416014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?A2ySXjM0zdsUL0sUug4y2mszEMl41wI?= =?utf-8?q?3EMc3uoHei60Lu0X9Cthp/MrzmBfVi5u+ZymJNmbLxEBvcXt+hrQ9oG+tMJ/NJsQO?= =?utf-8?q?+AMjUMAb6bVH9U30r9IYAenWU5zl4X6L1GhVGS6QIkgg8JKIPWeBE7XZ2/5AU1vSb?= =?utf-8?q?YVp8fQ1PGuVrF5zpppf0j6kxECj7K23KnrYqO9GR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5+9WcpB8AS2r5X04TE6N5JbZLj?= =?utf-8?q?me90Vn0sPHmCmArh0Bw/kZxol6XgFCjihztwp6EDTxsZ3jI565ohSAXJzOlvJeixa?= =?utf-8?q?JhHocN2yEAjTQo5DQFwKWbbaDMGqFDAFt05QmFdh1atLHQ2Odwwu9LtTFEw3iRt7N?= =?utf-8?q?+DBc10T9Y7m7Yn7bPafyauSNS1hQeVX5NZz6peJxniCRIAEm3hNiSALPUQwM9YmOr?= =?utf-8?q?D4D2mw9ExrSqKSl8u91PQy3tL3G7RQnGxsg=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)(376014)(7416014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?oc84oJFB6DKMaar82IYuPNJFhKjc?= =?utf-8?q?y5iY2o79yo3qqWmz8GCdGKJi/gYizH0PCXCI9KFhW42mvwEtxJhlKMooWqzNsSXcE?= =?utf-8?q?JtxP+U8zCJSz7cgrSXu+3qzzaRf4Zk9LOH3vcl+wzMV70UjKvufTaF9fYLlDgW9ED?= =?utf-8?q?Jow3YwNtZ+sOcSyA76ux+veeSizGikemSr/IqXHh/dSzB1JQig05zWo53nLr3lJwi?= =?utf-8?q?4a5ZTsjL7lvW9x89dgqMJeyB9vRj0c6xnT/NtkJazyC/f7QxOGaKaennn9drYDfLj?= =?utf-8?q?Q05bru8fufpzva8cQHUjdtu40zWWMD5v+3dz1IW8kh0peRP/XGtDDX1jg/RGvTUGv?= =?utf-8?q?uRKdaMDnRkz3CaYN2asQuA8brUa/ysVkbAgO8q//6E7o8FxX1qptHojZ40InMR/oi?= =?utf-8?q?eh1NfgOdWtYVyGFPMrPtp1pDZJv91IAtTpC9ulv7KjlegrgjrZS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?= =?utf-8?q?xDpCwHGbx7I4vGvh5Vk1YOA8t3ZoqyNyYg6MV2s7nZcJtqmSRj0oPjMlRFuyDYicg?= =?utf-8?q?m73Vg/L2FVwp0Y/x9DA7sJ3lhPMKitHHeaHjAirPzi+WaSQmlhjYfDJheFKva0irb?= =?utf-8?q?IGrIUaVD2DNkITrPbrPWHbDfMIB9lPuiI3J4dvp1iTE38YguVQQpHbfk5Ueb99k3x?= =?utf-8?q?1vUILhfzdRVXC/TRfne8qMww5PJl3y4uMA=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c7439485-932d-475f-f20e-08dd0d2be9b2 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9251.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Nov 2024 08:34:01.4287 (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: 3IrhZaJJepbrru3+1QIQo3BKjNVgv2Vmm9eLN3sPprN+jrMU+/S4U/44U5rtl5zPp7CmSPoaIR9vFUugmQangBWcnzWR17e4KBGcD3DP90Y= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA1PR04MB10699 From: Ciprian Marian Costea Enable 'SDHCI_QUIRK_NO_LED' quirk for S32G2/S32G3 SoCs. S32G SDHCI controller does not have a LED signal line. Signed-off-by: Ciprian Marian Costea Reviewed-by: Frank Li Acked-by: Adrian Hunter Reviewed-by: Haibo Chen --- drivers/mmc/host/sdhci-esdhc-imx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index d55d045ef236..e23177ea9d91 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c @@ -304,6 +304,7 @@ static struct esdhc_soc_data usdhc_s32g2_data = { | ESDHC_FLAG_HAVE_CAP1 | ESDHC_FLAG_HS200 | ESDHC_FLAG_HS400 | ESDHC_FLAG_HS400_ES | ESDHC_FLAG_SKIP_ERR004536 | ESDHC_FLAG_SKIP_CD_WAKE, + .quirks = SDHCI_QUIRK_NO_LED, }; static struct esdhc_soc_data usdhc_imx7ulp_data = {