Skip to content
/ linux Public

Commit 1895ad9

Browse files
jbrun3tSasha Levin
authored andcommitted
arm64: dts: amlogic: g12: assign the MMC A signal clock
[ Upstream commit 3c941fe ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 44cd81b commit 1895ad9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2341,6 +2341,9 @@
23412341
<&clkc CLKID_FCLK_DIV2>;
23422342
clock-names = "core", "clkin0", "clkin1";
23432343
resets = <&reset RESET_SD_EMMC_A>;
2344+
2345+
assigned-clocks = <&clkc CLKID_SD_EMMC_A_CLK0>;
2346+
assigned-clock-rates = <24000000>;
23442347
};
23452348

23462349
sd_emmc_b: mmc@ffe05000 {

0 commit comments

Comments
 (0)