From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A708D1EB5CE; Mon, 20 Apr 2026 15:58:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776700690; cv=none; b=f2ZVHZfFI2Gto0KLzX5Xt1BkIKrQzgP/XynVjepKGnsvJGmVXqBnnGgVkGZeT/zHqSBvkaRiOZueRm+Dpf+f8Bjq9A1VaijG2EM7ISyGG0InLJWHaqja7D09UvTGVNHkclzBYswSO5++YHx3S+lmOkHTQAl/5Qx9+2DcuDtp6S8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776700690; c=relaxed/simple; bh=K1igz01rAnI8PeQr16ZrIrY43bOOIF4bGwmksJLfiq4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rAjw/Vn+1A7yxK6AJ5Us7fsmb8bHC/8eld2D5ZVx+N1D4oRjgch35buBFmdNdl39o2qV8jr13FEi96nfTCYfQlcV6xWg50FZ5Xp+jgX4zTSUHuwqzBd9xZTeePx8UxsYaJHP/s0NQggLTKhf668zslyfO8V+rKkoXPTvlqwmQ/w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=bBH9irbe; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="bBH9irbe" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00361C19425; Mon, 20 Apr 2026 15:58:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776700690; bh=K1igz01rAnI8PeQr16ZrIrY43bOOIF4bGwmksJLfiq4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bBH9irbeCpMF/L3uYhYL14Gkr1RTdaWAfQN+QW4fggbOzSlrpEolK2SbXyt3JYF5c +pF1Zl3RmJgheCOlT4bPc/xDYprHSjRR8MG+bsW5MTbZlr2QBen77F+Wi2Z8EDWTFm qr6d2pDX+TQcHSPoxNestA6a1fWZjoZ0YRdfNUO8= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Luke Wang , Frank Li , Sasha Levin Subject: [PATCH 6.18 050/198] arm64: dts: imx93-9x9-qsb: change usdhc tuning step for eMMC and SD Date: Mon, 20 Apr 2026 17:40:29 +0200 Message-ID: <20260420153937.417765847@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260420153935.605963767@linuxfoundation.org> References: <20260420153935.605963767@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.18-stable review patch. If anyone has any objections, please let me know. ------------------ 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 --- 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