This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

dm8148 mmc0使用问题



大家好:

     我们使用的ezsdk内核,以前一直使用的mmc1接口板子启动自带,现在添加mmc0接口,暂时只在内核中添加,

static struct omap2_hsmmc_info mmc[] = {
#if 1

{
.mmc = 1,
.caps = MMC_CAP_4_BIT_DATA, //| MMC_CAP_POWER_OFF_CARD,
.gpio_cd = -EINVAL,
.gpio_wp = -EINVAL,
.ocr_mask = MMC_VDD_33_34,
// .cover_only = true,
// .nonremovable = true,
},
#endif
#if 1
{
.mmc = 2,
.caps = MMC_CAP_4_BIT_DATA,
.gpio_cd = -EINVAL, /* check setup_mmc2_pin_mux() */
.gpio_wp = -EINVAL,
.ocr_mask = MMC_VDD_33_34,
},
#endif
{} /* Terminator */
};

添加了节点1

然后将dma寄存器等都添加上,发现mmc0接口怎么都不能使用,端口上电压为1.0v左右,正常应该mmc1 3v,是不是端口没有正常工作呢?有人添加过

mmc0接口使用吗?谢谢