RK3568+MM6108 Recognition Issue

When the RK3568 and MM6108 communicate via the SDIO 3.0 bus, if a sudden power outage occurs and power is immediately restored, the MM6108 may fail to be recognized.How can we resolve this issue?

I can’t see the Morse Micro driver registration anywhere in this log. Is the driver definitely loaded? Can you share the full dmesg output as a text file please?

If there is a Morse Micro driver registration event, maybe the card detection is failing? Are you using the non-removable property in the Morse device tree node?

In some systems, we include a morse chip reset script which runs in early init. While this shouldn’t be a problem for a power loss event - perhaps, under these specific conditions, the chip is entering a bad state.

Note that this script requires a gpio-line-names property to be defined on your gpio controller’s device tree node, specifically an MM_RESET name defined for the Morse Micro reset pin. See https://www.kernel.org/doc/Documentation/devicetree/bindings/gpio/gpio.txt for information on gpio-line-names.