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 30F7D3264F1; Mon, 20 Apr 2026 16:07:23 +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=1776701243; cv=none; b=dIHioK7ykyTBCJ+a6frFld6fvtrnZWnWsaKWeP117VIPad1Qt1b4Qqlc59sW9HjoKbVf/tYekSoc6n1Q4fDKrb8GQB5SSavp0PBRI2A4wK/Hd8/ixBBF1TrOnOWfOKkvaOq6dqwLLibUgzgk2s/cPwjWjMdbl6iU6d8aKoHWkp4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776701243; c=relaxed/simple; bh=J1KBdRqDjRF8y4i8GbBd9aIYeec37AACYrU2uOQ9Muk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NKb/RyyHXDKz/4OKsL+bTJqnqfyoxtj+UY26qeOBh8D5BeqEg3aRwRMWWL6D8WZ80GTuYTJJT5rIybzsjpDXdM7ERC70BEsIDMaMgOQ7FsnuSgnpGAXsc4f2+dHCTKs89hGtpHDtbwWPuT57fyz9ZSAxye4occ75r5XUy2NUK1Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=buir7FSk; 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="buir7FSk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA5A3C19425; Mon, 20 Apr 2026 16:07:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776701243; bh=J1KBdRqDjRF8y4i8GbBd9aIYeec37AACYrU2uOQ9Muk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=buir7FSk/Tvg4DbpvUSRJr1jp1qjLYA9pfxoRGDgOxPhah04kcRMixFgbTDalS84O Jar9QVVHUSnEt7B/dlKuauugxFdk+0J7vpQi48C8lCz5EEMu8nx/GTNGSbf1D2iau0 369jQzRuLwe6twVI1LJMzZgftaiqyyZdRj/MLvrA= 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.12 037/162] arm64: dts: imx93-9x9-qsb: change usdhc tuning step for eMMC and SD Date: Mon, 20 Apr 2026 17:41:09 +0200 Message-ID: <20260420153928.370879924@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260420153927.006696811@linuxfoundation.org> References: <20260420153927.006696811@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-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 f8a73612fa051..8856835834a04 100644 --- a/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts +++ b/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts @@ -311,6 +311,7 @@ &usdhc1 { pinctrl-2 = <&pinctrl_usdhc1_200mhz>; bus-width = <8>; non-removable; + fsl,tuning-step = <1>; status = "okay"; }; @@ -323,6 +324,7 @@ &usdhc2 { vmmc-supply = <®_usdhc2_vmmc>; bus-width = <4>; no-mmc; + fsl,tuning-step = <1>; status = "okay"; }; -- 2.53.0