From mboxrd@z Thu Jan 1 00:00:00 1970 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 D84AAF588C4 for ; Mon, 20 Apr 2026 13:31:30 +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:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=491t4p2SPIdidrq0yuQCOFYluUL84nZ+Y4m2chRcfEE=; b=zMvNL6jPdVrFruGQ23e2Keu059 w4pXRwwHQHuz6YkxSDLEDl0HQ88mu40VfAdF0Be8426jmwSS6YHKe3V/oPkK34hDhtPhdMU+AZl95 4Locfx/Ruy/TOoFCnckgkgsgdwCPrv45aJjaP+qw0bJZ/shQKcVOG8ndxCcnHGtcDVmPtDF3Repp8 5HVm0piJu10wRgTeoajHMCZwIsIsqppWMgyXYSGSa3OR5nCycOuTA34+MZgSjJziseAxGLQtRNTfj UuCNIbYtoSuoS+0/rPMjfd+PAeLNib1naLR40TbRhGD4GjWhWte/3Q8JSMLRPcdl2WkcbNlFpujuM 8t3r8tFg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wEoik-000000072ea-2lW8; Mon, 20 Apr 2026 13:31:26 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1wEoii-000000072cj-060F for linux-arm-kernel@lists.infradead.org; Mon, 20 Apr 2026 13:31:25 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id AA029441C2; Mon, 20 Apr 2026 13:31:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3429DC2BCB4; Mon, 20 Apr 2026 13:31:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776691883; bh=daNxusGK2zC/hQrKEScJBi4trm+F7e7RYwlUjtVpuj4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kL2cXJ1DodipSppND/Luk862mzDbvS1lfm1c1WLO6/peUbi94gpfgIX4MpO1c9mIK pB37Gc4VZbdNFbQxWtgd/sDnW/GMpjDbwIyN9FJH3A5KlcW7Capwz414lG/0+QDJv8 qj+wM4S7fPWLlpRvVtzvPUzXVnTzH15XlrOYb166q+Hz5WCnEYubMXCarWotJviQS7 rDXUJ8K9rYmoYx8DuBL0kq51Y5UXTQiMNxeeTU6SEwOBPjoC/oZmMUszr1/hLKrcRp y1LybowXB67VjxkI1kJniFXlxhzrex4kasujnfBZ+PVXQWUUN5z4YuraGlikoVXQ1Z EFRYoGXvl6DdQ== From: Sasha Levin To: patches@lists.linux.dev, stable@vger.kernel.org Cc: Luke Wang , Frank Li , Sasha Levin , robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, peng.fan@nxp.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH AUTOSEL 6.18] arm64: dts: imx93-9x9-qsb: change usdhc tuning step for eMMC and SD Date: Mon, 20 Apr 2026 09:20:44 -0400 Message-ID: <20260420132314.1023554-250-sashal@kernel.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260420132314.1023554-1-sashal@kernel.org> References: <20260420132314.1023554-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.18.23 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260420_063124_210439_53142772 X-CRM114-Status: GOOD ( 11.74 ) 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: Luke Wang [ Upstream commit 08903184553def7ba1ad6ba4fa8afe1ba2ee0a21 ] During system resume, the following errors occurred: [ 430.638625] mmc1: error -84 writing Cache Enable bit [ 430.643618] mmc1: error -84 doing runtime resume For eMMC and SD, there are two tuning pass windows and the gap between those two windows may only have one cell. If tuning step > 1, the gap may just be skipped and host assumes those two windows as a continuous windows. This will cause a wrong delay cell near the gap to be selected. Set the tuning step to 1 to avoid selecting the wrong delay cell. For SDIO, the gap is sufficiently large, so the default tuning step does not cause this issue. Fixes: 0565d20cd8c2 ("arm64: dts: freescale: Support i.MX93 9x9 Quick Start Board") Signed-off-by: Luke Wang Reviewed-by: Frank Li Signed-off-by: Frank Li Signed-off-by: Sasha Levin --- LLM Generated explanations, may be completely bogus: Error: Failed to generate final synthesis arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts b/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts index 0852067eab2cb..197c8f8b7f669 100644 --- a/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts +++ b/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts @@ -507,6 +507,7 @@ &usdhc1 { pinctrl-2 = <&pinctrl_usdhc1_200mhz>; bus-width = <8>; non-removable; + fsl,tuning-step = <1>; status = "okay"; }; @@ -519,6 +520,7 @@ &usdhc2 { vmmc-supply = <®_usdhc2_vmmc>; bus-width = <4>; no-mmc; + fsl,tuning-step = <1>; status = "okay"; }; -- 2.53.0