Skip to content

Commit be2ff5f

Browse files
jbrun3tsuperna9999
authored andcommitted
arm64: dts: amlogic: g12: assign the MMC B and C signal clocks
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>
1 parent 4067065 commit be2ff5f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2443,6 +2443,9 @@
24432443
<&clkc CLKID_FCLK_DIV2>;
24442444
clock-names = "core", "clkin0", "clkin1";
24452445
resets = <&reset RESET_SD_EMMC_B>;
2446+
2447+
assigned-clocks = <&clkc CLKID_SD_EMMC_B_CLK0>;
2448+
assigned-clock-rates = <24000000>;
24462449
};
24472450

24482451
sd_emmc_c: mmc@ffe07000 {
@@ -2455,6 +2458,9 @@
24552458
<&clkc CLKID_FCLK_DIV2>;
24562459
clock-names = "core", "clkin0", "clkin1";
24572460
resets = <&reset RESET_SD_EMMC_C>;
2461+
2462+
assigned-clocks = <&clkc CLKID_SD_EMMC_C_CLK0>;
2463+
assigned-clock-rates = <24000000>;
24582464
};
24592465

24602466
usb: usb@ffe09000 {

0 commit comments

Comments
 (0)