Skip to content

Commit 3c941fe

Browse files
jbrun3tsuperna9999
authored andcommitted
arm64: dts: amlogic: g12: assign the MMC A signal clock
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 clock to make sure it is properly configured Fixes: 8a6b3ca ("arm64: dts: meson: g12a: add SDIO controller") 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-6-a999fafbe0aa@baylibre.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
1 parent be2ff5f commit 3c941fe

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2431,6 +2431,9 @@
24312431
<&clkc CLKID_FCLK_DIV2>;
24322432
clock-names = "core", "clkin0", "clkin1";
24332433
resets = <&reset RESET_SD_EMMC_A>;
2434+
2435+
assigned-clocks = <&clkc CLKID_SD_EMMC_A_CLK0>;
2436+
assigned-clock-rates = <24000000>;
24342437
};
24352438

24362439
sd_emmc_b: mmc@ffe05000 {

0 commit comments

Comments
 (0)