TI中文支持网
TI专业的中文技术问题搜集分享网站

请问8148的mmc控制器3复用相关的问题?

8148的mmc控制器3的驱动在现有内核里面没有处理,我自己添加了,但是没有搞明白相关管脚的复用关系,我做了如下设置:

    if (cpu_is_ti814x()) {
             omap_mux_init_signal("mmc2_clk", 0);
        /* omap_mux_init_signal("mmc2_cmd", TI814X_PULL_UP); */
        omap_mux_init_signal("mmc2_cmd", 0);
        omap_mux_init_signal("mmc2_dat0", 0);
        omap_mux_init_signal("mmc2_dat1", 0);
        omap_mux_init_signal("mmc2_dat2", 0);
        omap_mux_init_signal("mmc2_dat3", 0);
        /* omap_mux_init_signal("mmc2_dat3", TI814X_PULL_UP); */
        omap_mux_init_signal("mmc2_sdcd", 0);
        /* omap_mux_init_signal("mmc2_sdwp", OMAP_PULL_ENA); */
    }

 

请问这一部分到底怎么设置才正确?

Yang Zeroman:

出现的错误如下:

Detected MACID=0:0:0:0:0:0

mmc2: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 timing 0

mmc2: starting CMD52 arg 00000c00 flags 00000195

mmci-omap-hs mmci-omap-hs.2: mmc2: CMD52, argument 0x00000c00

mmci-omap-hs mmci-omap-hs.2: IRQ Status is 38000

mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x38000 : ERRI CTO CCRC

mmc2: req done (CMD52): -110: 00000000 00000000 00000000 00000000

mmc2: starting CMD52 arg 80000c08 flags 00000195

mmci-omap-hs mmci-omap-hs.2: mmc2: CMD52, argument 0x80000c08

mmci-omap-hs mmci-omap-hs.2: IRQ Status is 38000

mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x38000 : ERRI CTO CCRC

mmc2: req done (CMD52): -110: 00000000 00000000 00000000 00000000

mmc2: clock 400000Hz busmode 1 powermode 2 cs 1 Vdd 21 width 0 timing 0

mmc2: starting CMD0 arg 00000000 flags 000000c0

mmci-omap-hs mmci-omap-hs.2: mmc2: CMD0, argument 0x00000000

mmci-omap-hs mmci-omap-hs.2: IRQ Status is 38000

mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x38000 : ERRI CTO CCRC

mmc2: req done (CMD0): -110: 00000000 00000000 00000000 00000000

mmc2: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 timing 0

mmc2: starting CMD8 arg 000001aa flags 000002f5

mmci-omap-hs mmci-omap-hs.2: mmc2: CMD8, argument 0x000001aa

mmci-omap-hs mmci-omap-hs.2: IRQ Status is 38000

mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x38000 : ERRI CTO CCRC

mmc2: req done (CMD8): -110: 00000000 00000000 00000000 00000000

mmc2: starting CMD5 arg 00000000 flags 000002e1

mmci-omap-hs mmci-omap-hs.2: mmc2: CMD5, argument 0x00000000

mmci-omap-hs mmci-omap-hs.2: IRQ Status is 38000

mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x38000 : ERRI CTO CCRC

mmc2: req failed (CMD5): -110, retrying…

mmci-omap-hs mmci-omap-hs.2: mmc2: CMD5, argument 0x00000000

mmci-omap-hs mmci-omap-hs.2: IRQ Status is 38000

mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x38000 : ERRI CTO CCRC

mmc2: req failed (CMD5): -110, retrying…

mmci-omap-hs mmci-omap-hs.2: mmc2: CMD5, argument 0x00000000

mmci-omap-hs mmci-omap-hs.2: IRQ Status is 38000

mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x38000 : ERRI CTO CCRC

mmc2: req failed (CMD5): -110, retrying…

mmci-omap-hs mmci-omap-hs.2: mmc2: CMD5, argument 0x00000000

mmci-omap-hs mmci-omap-hs.2: IRQ Status is 38000

mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x38000 : ERRI CTO CCRC

mmc2: req done (CMD5): -110: 00000000 00000000 00000000 00000000

mmc2: starting CMD55 arg 00000000 flags 000000f5

mmci-omap-hs mmci-omap-hs.2: mmc2: CMD55, argument 0x00000000

mmci-omap-hs mmci-omap-hs.2: IRQ Status is 38000

mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x38000 : ERRI CTO CCRC

mmc2: req done (CMD55): -110: 00000000 00000000 00000000 00000000

mmc2: starting CMD55 arg 00000000 flags 000000f5

mmci-omap-hs mmci-omap-hs.2: mmc2: CMD55, argument 0x00000000

mmci-omap-hs mmci-omap-hs.2: IRQ Status is 38000

mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x38000 : ERRI CTO CCRC

mmc2: req done (CMD55): -110: 00000000 00000000 00000000 00000000

mmc2: starting CMD55 arg 00000000 flags 000000f5

mmci-omap-hs mmci-omap-hs.2: mmc2: CMD55, argument 0x00000000

mmci-omap-hs mmci-omap-hs.2: IRQ Status is 38000

mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x38000 : ERRI CTO CCRC

mmc2: req done (CMD55): -110: 00000000 00000000 00000000 00000000

mmc2: starting CMD55 arg 00000000 flags 000000f5

mmci-omap-hs mmci-omap-hs.2: mmc2: CMD55, argument 0x00000000

mmci-omap-hs mmci-omap-hs.2: IRQ Status is 38000

mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x38000 : ERRI CTO CCRC

mmc2: req done (CMD55): -110: 00000000 00000000 00000000 00000000

mmc2: starting CMD1 arg 00000000 flags 000000e1

mmci-omap-hs mmci-omap-hs.2: mmc2: CMD1, argument 0x00000000

mmci-omap-hs mmci-omap-hs.2: IRQ Status is 38000

mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x38000 : ERRI CTO CCRC

mmc2: req done (CMD1): -110: 00000000 00000000 00000000 00000000

mmc2: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0

mmci-omap-hs mmci-omap-hs.2: mmc_fclk: disabled

mmci-omap-hs mmci-omap-hs.2: mmc_fclk: enabled

mmci-omap-hs mmci-omap-hs.2: context was not lost

赞(0)
未经允许不得转载:TI中文支持网 » 请问8148的mmc控制器3复用相关的问题?
分享到: 更多 (0)