@@ -166,6 +166,9 @@ static int ambiq_sdio_get_host_props(const struct device *dev, struct sdhc_host_
166166	props -> host_caps .adma_2_support  =  true;
167167	props -> host_caps .sdio_async_interrupt_support  =  true;
168168	props -> host_caps .vol_180_support  =  true;
169+ #if  defined(CONFIG_SOC_SERIES_APOLLO5X )
170+ 	props -> host_caps .vol_330_support  =  true;
171+ #endif 
169172	props -> host_caps .bus_4_bit_support  =  true;
170173	props -> host_caps .bus_8_bit_support  =  true;
171174	props -> host_caps .high_spd_support  =  true;
@@ -511,7 +514,7 @@ static int ambiq_sdio_request(const struct device *dev, struct sdhc_command *cmd
511514	LOG_DBG ("Send SDIO CMD%d" , sdio_cmd .ui8Idx );
512515	LOG_DBG ("CMD->Arg = 0x%x CMD->RespType = 0x%x" , sdio_cmd .ui32Arg , sdio_cmd .ui32RespType );
513516
514- 	if  (sdio_cmd .ui8Idx  ==  1 ) {
517+ 	if  (sdio_cmd .ui8Idx  ==  1   ||   sdio_cmd . ui8Idx   ==   41 ) {
515518		LOG_DBG ("Config CMD1 RespType" );
516519		sdio_cmd .ui32RespType  =  MMC_RSP_R3 ;
517520	} else  if  (sdio_cmd .ui8Idx  ==  3 ) {
@@ -525,7 +528,7 @@ static int ambiq_sdio_request(const struct device *dev, struct sdhc_command *cmd
525528		sdio_cmd .bCheckBusyCmd  =  true;
526529		sdio_cmd .ui32RespType  =  MMC_RSP_R1b ;
527530	} else  if  (sdio_cmd .ui8Idx  ==  17  ||  sdio_cmd .ui8Idx  ==  18  ||  sdio_cmd .ui8Idx  ==  24  || 
528- 		   sdio_cmd .ui8Idx  ==  25 ) {
531+ 		   sdio_cmd .ui8Idx  ==  25   ||   sdio_cmd . ui8Idx   ==   55 ) {
529532		sdio_cmd .ui32RespType  =  MMC_RSP_R1 ;
530533	}
531534
0 commit comments