Skip to content
/ linux Public

Commit 92b7cd7

Browse files
jbrun3tSasha Levin
authored andcommitted
arm64: dts: amlogic: g12: assign the MMC B and C signal clocks
[ Upstream commit be2ff5f ] 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: 4759fd8 ("arm64: dts: meson: g12a: add mmc nodes") Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patch.msgid.link/20260114-amlogic-mmc-clocks-followup-v1-5-a999fafbe0aa@baylibre.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent b0f5f53 commit 92b7cd7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2336,6 +2336,9 @@
23362336
<&clkc CLKID_FCLK_DIV2>;
23372337
clock-names = "core", "clkin0", "clkin1";
23382338
resets = <&reset RESET_SD_EMMC_B>;
2339+
2340+
assigned-clocks = <&clkc CLKID_SD_EMMC_B_CLK0>;
2341+
assigned-clock-rates = <24000000>;
23392342
};
23402343

23412344
sd_emmc_c: mmc@ffe07000 {
@@ -2348,6 +2351,9 @@
23482351
<&clkc CLKID_FCLK_DIV2>;
23492352
clock-names = "core", "clkin0", "clkin1";
23502353
resets = <&reset RESET_SD_EMMC_C>;
2354+
2355+
assigned-clocks = <&clkc CLKID_SD_EMMC_C_CLK0>;
2356+
assigned-clock-rates = <24000000>;
23512357
};
23522358

23532359
usb: usb@ffe09000 {

0 commit comments

Comments
 (0)