Re: [PATCH] arm64: dts: mediatek: add mmc2 support for mt8365-evk

From: Alexandre Mergnat
Date: Wed Jan 15 2025 - 07:12:49 EST




On 14/01/2025 11:38, AngeloGioacchino Del Regno wrote:
+&mmc2 {
+    assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL>;
+    assigned-clocks = <&topckgen CLK_TOP_MSDC50_2_SEL>;
+    bus-width = <4>;
+    cap-sd-highspeed;
+    cap-sdio-irq;
+    hs400-ds-delay = <0x12012>;
+    keep-power-in-suspend;

Why keep-power-in-suspend?

This slot is mainly used for WiFi / BT / GPS chip, which need to keep powered on.
I guess this is to avoid to do full re-init, re-load firmware, lose context, wake-up from it...
TBH, I didn't work on it, all I know is MTK need it.

--
Regards,
Alexandre