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 B8D0528507E; Wed, 25 Feb 2026 01:44:44 +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=1771983884; cv=none; b=cEcuTqZDAyff/FdRjr37TF9p+78Gi/0ll/axgmxBWitGQlcxLmzvSqp3EZ9gFSdr1XPQWnpO8RZkRgesloKaNBbxjeVuniMr7fldtPocM7DaVgGJo87eH5R6fxuNbVamAP+xXQIo7hSP2OtgrihADPR4goO8hqJrXDlF2fqA/P0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771983884; c=relaxed/simple; bh=qp7dleylViQ1L7WHZHUGe6LA+zA+Xsvcd5fPHV552qU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lS91aK4e6Mxs1Lijw/koY29WV3j6OXrtuL/1KyXh5rzIezVBA0V9M5VexZmVmIYM91NlE6FBMt4HKGh4zZiWgynMZvUKjzWBb3zuefxTIsFjYGxLNlSB52l4v8Q1pqaphA8dKqrBzms2AsAuh7OG7SIvXGC2RIw0Tj/9X5AnSKc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EWuo4Zk4; 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="EWuo4Zk4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A0D2C116D0; Wed, 25 Feb 2026 01:44:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771983884; bh=qp7dleylViQ1L7WHZHUGe6LA+zA+Xsvcd5fPHV552qU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EWuo4Zk4/fVBg5acdZ+/X9WHZgqQo18L4/W3cKQrYhxqe6eIroh/Qm8lwAnyuNeYw Q1TF26nnz+meLMIrrqhV4xqEgUCKrfoaDQ9DvJBE2d85IOOpy8SNAtH2Vq5KRlF04a RFeb6gEe9aeMTAPG2eTMsFdKC6s1eSyybHK+xcEc= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Jerome Brunet , Neil Armstrong , Sasha Levin Subject: [PATCH 6.18 158/641] arm64: dts: amlogic: g12: assign the MMC B and C signal clocks Date: Tue, 24 Feb 2026 17:18:04 -0800 Message-ID: <20260225012352.906149465@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260225012348.915798704@linuxfoundation.org> References: <20260225012348.915798704@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.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jerome Brunet [ Upstream commit be2ff5fdb0e83e32d4ec4e68a69875cec0d14621 ] The amlogic MMC driver operate with the assumption that MMC clock is configured to provide 24MHz. It uses this path for low rates such as 400kHz. Assign the clocks to make sure they are properly configured Fixes: 4759fd87b928 ("arm64: dts: meson: g12a: add mmc nodes") Signed-off-by: Jerome Brunet Reviewed-by: Neil Armstrong Link: https://patch.msgid.link/20260114-amlogic-mmc-clocks-followup-v1-5-a999fafbe0aa@baylibre.com Signed-off-by: Neil Armstrong Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi index dcc927a9da802..6724405eaa6f5 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi @@ -2443,6 +2443,9 @@ sd_emmc_b: mmc@ffe05000 { <&clkc CLKID_FCLK_DIV2>; clock-names = "core", "clkin0", "clkin1"; resets = <&reset RESET_SD_EMMC_B>; + + assigned-clocks = <&clkc CLKID_SD_EMMC_B_CLK0>; + assigned-clock-rates = <24000000>; }; sd_emmc_c: mmc@ffe07000 { @@ -2455,6 +2458,9 @@ sd_emmc_c: mmc@ffe07000 { <&clkc CLKID_FCLK_DIV2>; clock-names = "core", "clkin0", "clkin1"; resets = <&reset RESET_SD_EMMC_C>; + + assigned-clocks = <&clkc CLKID_SD_EMMC_C_CLK0>; + assigned-clock-rates = <24000000>; }; usb: usb@ffe09000 { -- 2.51.0