void (*init_card)(struct mmc_host *host, struct mmc_card *card); int (*start_signal_voltage_switch)(struct mmc_host *host, struct mmc_ios *ios); int (*execute_tuning)(struct mmc_host *host, u32 opcode); void (*enable_preset_value)(struct mmc_host *host, bool enable); int (*...
current_ocr = mmcsd_select_voltage(host, ocr); /* 配置SDIO外设设置为合适的电压,对于stm32、gd32等相关控制器,实际是不支持不同等级电压配置的,所以这里可以忽略,不过你需要注意你所使用的sd卡的电源在硬件上是匹配的 *//* * Can we support the voltage(s) of the card(s)?*...
If Default Speed is working with 1.8V, I suppose i.MX6 is able to work without voltage switching 3.3V to 1.8V. Really do we need the voltage switch 3.3V to 1.8V? https://community.nxp.com/message/810830?commentID=810830#comment-810830 Best Regard, Kazuma Sasaki. 0 Kudos Reply ...
->mmc_sd_get_cid--从SD卡读取CID。->mmc_set_uhs_voltage->mmc_host_set_uhs_voltage->mmc_set_signal_voltage(host->ops->start_signal_voltage_switch)--如果是UHS则设置IO电压。->sdhci_start_signal_voltage_switch->mmc_regulator_set_vqmmc--调用DTS配置的Regulator配置IO电压。 ->mmc_alloc_card ...
int mmc_sdio_init_card(struct mmc_host *host, u32 ocr, struct mmc_card *oldcard, int powered_resume) { 如果host支持uhs模式,则switch信号电压为1.8v if (mmc_host_uhs(host)) ocr |= R4_18V_PRESENT; 设置card支持的电压为ocr,这个电压是mmc_sdio_init_card传入的rocr if (!powered_resume) {...
[ 293.163454] mmc1: Skipping voltage switch [ 293.193415] mmc_host mmc1: Bus speed (slot 0) =z (slot reqz, actual Z div = 0) [ 293.193544] rk_sdmmc: BOOT dw_mci_setup_bus: argue clk_mmc workaround out normal clock [mmc1] [ 293.193917] rk_sdmmc: BOOT Bus speedz,Bus width=...
current_ocr = mmcsd_select_voltage(host, ocr);/* 配置SDIO外设设置为合适的电压,对于stm32、gd32等相关控制器,实际是不支持不同等级电压配置的,所以这里可以忽略,不过你需要注意你所使用的sd卡的电源在硬件上是匹配的 *//* * Can we support the voltage(s) of the card(s)? */if(!current_ocr) {...
current_ocr = mmcsd_select_voltage(host, ocr); /* 配置SDIO外设设置为合适的电压,对于stm32、gd32等相关控制器,实际是不支持不同等级电压配置的,所以这里可以忽略,不过你需要注意你所使用的sd卡的电源在硬件上是匹配的 */ /* * Can we support the voltage(s) of the card(s)?
3. The sdio voltage signalling used for HS speed card is 3V by default in host driver if the card doesn't support 1.8V(no-1-8-v). Since both options of 3V or 3.3V available, any reason to use this 3V instead of widely used 3.3V signalling...
current_ocr = mmcsd_select_voltage(host, ocr); /* 配置SDIO外设设置为合适的电压,对于stm32、gd32等相关控制器,实际是不支持不同等级电压配置的,所以这里可以忽略,不过你需要注意你所使用的sd卡的电源在硬件上是匹配的 */ /* * Can we support the voltage(s) of the card(s)?