The mmc/sd card detect gpio definition in DT is not defined as per hardware design, the card detect gpio is an active low signal. As per MMC/SD device tree binding documentation, the card detect signal should be an active low signal and when ever a hardware is designed with an active h...
SDMMC004 without card detect signal Not applicable 20 May 2013 Hi,If "Card Detection Signal" SDCD is unchecked on the UIEditor then the code seems to still look for a signal on P1.10.I have added: SET_BIT( SDMMC->HOST_CTRL,SDMMC_HOST_CTRL_CARD_DET_SIGNAL_DETECT_Pos );...
return PresenceState == RkSdmmcCardPresent; if (FixedPcdGetBool (PcdRkSdmmcCardDetectInverted)) { return PresenceState != RkSdmmcCardPresent; } else { return PresenceState == RkSdmmcCardPresent; } } STATIC PLATFORM_DW_MMC_PROTOCOL mDwMmcDeviceProtocol = { 1 change: 1 addition & 0 delet...