SDIO detection on cold boot

From: Mighty M
Date: Tue May 03 2022 - 02:59:07 EST


I have a samsung-espresso3g, which is an omap4430 device and I have
been running mainline linux on it. But there is an issue that I have
been facing since quite a while, that is the SDIO (mmc5) does not get
detected on cold boot (that is completely power off device then
start). If I boot into TWRP (which has downstream kernel) and then
boot to mainline, the SDIO gets detected and wifi works fine. Any help
on how I can further investigate why it does not work on cold boot,
maybe downstream sets some registers which mainline doesnt?

Regards.