cap-power-off-card 该属性表示关闭电源很安全 keep-power-in-suspend 该属性表示MMC设备待机时不掉电 cd-gpios 该属性表示使用gpio作为热插拔探测引脚 broken-cd 该属性表示没有热插拔探测引脚,使用轮询检测 non-removable 该属性表示不需要热插拔探测功能,设备一直存在(比如eMMC) 注意: 上述3个属性不能同时使用,...
cap-power-off-card 该属性表示关闭电源很安全 keep-power-in-suspend 该属性表示MMC设备待机时不掉电 cd-gpios 该属性表示使用gpio作为热插拔探测引脚 broken-cd 该属性表示没有热插拔探测引脚,使用轮询检测 non-removable 该属性表示不需要热插拔探测功能,设备一直存在(比如eMMC) 注意: 上述3个属性不能同时使用,...
staticvoidsprd_sdio_card_remove(struct mmc_card *card){structmmc_host*host=card->host;if(mmc_card_sdio(card)) {if(host->caps & MMC_CAP_POWER_OFF_CARD) { pm_suspend_ignore_children(mmc_classdev(host),true);// avoid mmc_attach_sdio->pm_runtime_set_active returning with error -16pm_...
static inline int mmc_card_is_removable(struct mmc_host *host) 卡是否被移除 static inline int mmc_card_keep_power(struct mmc_host *host) 卡在suspend时是否仍然保持供电 static inline int mmc_card_wake_sdio_irq(struct mmc_host *host) sdio中断来时是否会唤醒休眠的系统 static inline int mmc_ho...
printk(KERN_WARNING"%s: error %d during resume ""(card was removed?)\n", mmc_hostname(host), err); err =0; } }/* clear flag */host->pm_flags &= ~MMC_PM_KEEP_POWER; mmc_bus_put(host);returnerr; } 开发者ID:CenterTurkHD,项目名称:android_kernel_samsung_hugo,代码行数:49,代码...
"mmc_card_keep_power() && !mmc_card_wake_sdio_irq()". Moreover, if !mmc_card_keep_power(), then there really shouldn't be any IRQs registered so perhaps we should add a special check for that and return an error code. In regards to other callers of sdio_run_irqs(). I have ...
address-cells = <1> 该属性值必须为1size-cells = <0> 该属性值必须为0max-frequencymmc总线最大时钟频率bus-widthmmc总线位宽,常用值:1,2,4,8no-1-8-v 该属性表示系统不支持1.8vMMC设备cap-power-off-card 该属性表示关闭电源很安全keep-power-in-suspend ...
am335x_mmc[1].caps = MMC_CAP_4_BIT_DATA | MMC_CAP_POWER_OFF_CARD; am335x_mmc[1].nonremovable = true; am335x_mmc[1].pm_caps = MMC_PM_KEEP_POWER; am335x_mmc[1].gpio_cd = -EINVAL; am335x_mmc[1].gpio_wp = -EINVAL; ...
card_ctrl = 2 card_high_speed = 1 card_line = 8 sdc_clk = port:PC5<3><1><3><default> sdc_cmd = port:PC6<3><1><3><default> sdc_d0 = port:PC10<3><1><3><default> sdc_d1 = port:PC13<3><1><3><default> sdc_d2 = port:PC15<3><1><3><default> ...
mmc0: error -84 whilst initialising MMC card Follow the source code,I found when the emmc tried to send this command: #define MMC_ALL_SEND_CID 2 /* bcr R2 */ it would met error.when we tried to init the EMMC,we need tried to Fetch CID from card,but it couldnot fetch it: ...