Re: Question about omap_hsmmc driver

2010-05-25 Thread Neil Deshpande
Hi Enric,

I am facing the exact same problem with my board. I am using a Marvell 8686 
SDIO module connected to OMAP3 on MMC2. It works in 2.6.27 but when upgrading 
to 2.6.32 I am seeing CMD5 timing out. Could you please guide me to the 
solution?

Best regards,
Neil


  

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Question about omap_hsmmc driver

2010-01-07 Thread Enric Balletbò i Serra
Hi,

The mux configuration is set at u-boot level and this works with
kernel 2.6.28 so I suppose the mux configuration is setup correctly.

Looking at driver I see new data in twl4030_hsmmc_info struct. Please,
can you explain a bit the transceiver, ocr_mask and ext_clock  ?

Just for information, on IGEP v2 the MMC2 should be at 1.8V and don't
use twl4030 regulator.

Thanks a lot,

  Enric

2010/1/5 Madhusudhan :
> Hi Enric,
>
> You see from the log there is a timeout on CMD5. This could happen because
> of multiple reasons. One of them is muxing of CMD/CLK lines. Or it could be
> due to negotiation of voltage.
>
> I would look at these things first.
>
> Regards,
> Madhu
>
> 
> From: Enric Balletbò i Serra [mailto:eballe...@gmail.com]
> Sent: Tuesday, January 05, 2010 10:44 AM
> To: linux-omap@vger.kernel.org; madhu...@ti.com
> Subject: Question about omap_hsmmc driver
>
> Hi all,
>
> I'm having problems trying to run the SDIO WLAN module on my IGEP v2 board
> using the latest omap kernel (2.6.33-rc2). The SDIO WLAN module is connected
> to the MMC2 using 4 wires. With an older kernel ( 2.6.28 ) works fine but
> the same configuration with 2.6.33-rc2 do not detect the SDIO card.
>
>
> Any idea to solve the problem ? There is a substantial modification in this
> driver. Any help will be appreciated. I attached the log.
>
> Thanks in advance,
>    Enric
>
>
> [   24.521484] mmci-omap-hs mmci-omap-hs.1: DISABLED -> ENABLED
> [   24.522003] mmc1: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0
> timing 0
> [   24.522033] mmci-omap-hs mmci-omap-hs.1: ENABLED -> DISABLED
> [   24.522308] mmci-omap-hs mmci-omap-hs.1: DISABLED -> ENABLED
> [   24.522338] mmc1: clock 0Hz busmode 1 powermode 1 cs 0 Vdd 65535 width 0
> timing 0
> [   24.545104] mmc1: clock 40Hz busmode 1 powermode 2 cs 0 Vdd 65535
> width 0 timing 0
> [   24.568298] mmc1: clock 40Hz busmode 1 powermode 2 cs 1 Vdd 65535
> width 0 timing 0
> [   24.569335] mmc1: starting CMD0 arg  flags 00c0
> [   24.569366] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD0, argument 0x
> [   24.569519] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
> [   24.569549] mmc1: req done (CMD0): 0:    
> [   24.572540] mmc1: clock 40Hz busmode 1 powermode 2 cs 0 Vdd 65535
> width 0 timing 0
> [   24.573547] mmc1: starting CMD8 arg 00aa flags 02f5
> [   24.573577] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD8, argument 0x00aa
> [   24.573913] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
> [   24.573913] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
> [   24.573944] mmc1: req done (CMD8): -110:   
> 
> [   24.575744] mmc1: starting CMD5 arg  flags 02e1
> [   24.575775] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD5, argument 0x
> [   24.576110] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
> [   24.576141] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
> [   24.576171] mmc1: req failed (CMD5): -110, retrying...
> [   24.576171] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD5, argument 0x
> [   24.576507] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
> [   24.576538] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
> [   24.576568] mmc1: req failed (CMD5): -110, retrying...
> [   24.576568] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD5, argument 0x
> [   24.576904] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
> [   24.576934] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
> [   24.576934] mmc1: req failed (CMD5): -110, retrying...
> [   24.576965] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD5, argument 0x
> [   24.577301] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
> [   24.577331] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
> [   24.577331] mmc1: req done (CMD5): -110:   
> 
> [   24.578247] mmc1: starting CMD55 arg  flags 00f5
> [   24.578247] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD55, argument 0x
> [   24.578582] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
> [   24.578613] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
> [   24.578643] mmc1: req done (CMD55): -110:   
> 
> [   24.580444] mmc1: starting CMD55 arg  flags 00f5
> [   24.580474] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD55, argument 0x
> [   24.580810] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
> [   24.580810] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
> [   24.580841] mmc1: req done (CMD55): -110:   
> 
> [   24.582641] mmc1: starting CMD55 arg  flags 0

RE: Question about omap_hsmmc driver

2010-01-05 Thread Madhusudhan
Hi Enric,

You see from the log there is a timeout on CMD5. This could happen because
of multiple reasons. One of them is muxing of CMD/CLK lines. Or it could be
due to negotiation of voltage.

I would look at these things first.

Regards,
Madhu


From: Enric Balletbò i Serra [mailto:eballe...@gmail.com] 
Sent: Tuesday, January 05, 2010 10:44 AM
To: linux-omap@vger.kernel.org; madhu...@ti.com
Subject: Question about omap_hsmmc driver

Hi all,

I'm having problems trying to run the SDIO WLAN module on my IGEP v2 board
using the latest omap kernel (2.6.33-rc2). The SDIO WLAN module is connected
to the MMC2 using 4 wires. With an older kernel ( 2.6.28 ) works fine but
the same configuration with 2.6.33-rc2 do not detect the SDIO card.


Any idea to solve the problem ? There is a substantial modification in this
driver. Any help will be appreciated. I attached the log.

Thanks in advance,
   Enric


[   24.521484] mmci-omap-hs mmci-omap-hs.1: DISABLED -> ENABLED
[   24.522003] mmc1: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0
timing 0
[   24.522033] mmci-omap-hs mmci-omap-hs.1: ENABLED -> DISABLED
[   24.522308] mmci-omap-hs mmci-omap-hs.1: DISABLED -> ENABLED
[   24.522338] mmc1: clock 0Hz busmode 1 powermode 1 cs 0 Vdd 65535 width 0
timing 0
[   24.545104] mmc1: clock 40Hz busmode 1 powermode 2 cs 0 Vdd 65535
width 0 timing 0
[   24.568298] mmc1: clock 40Hz busmode 1 powermode 2 cs 1 Vdd 65535
width 0 timing 0
[   24.569335] mmc1: starting CMD0 arg  flags 00c0
[   24.569366] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD0, argument 0x
[   24.569519] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
[   24.569549] mmc1: req done (CMD0): 0:    
[   24.572540] mmc1: clock 40Hz busmode 1 powermode 2 cs 0 Vdd 65535
width 0 timing 0
[   24.573547] mmc1: starting CMD8 arg 00aa flags 02f5
[   24.573577] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD8, argument 0x00aa
[   24.573913] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
[   24.573913] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
[   24.573944] mmc1: req done (CMD8): -110:   

[   24.575744] mmc1: starting CMD5 arg  flags 02e1
[   24.575775] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD5, argument 0x
[   24.576110] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
[   24.576141] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
[   24.576171] mmc1: req failed (CMD5): -110, retrying...
[   24.576171] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD5, argument 0x
[   24.576507] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
[   24.576538] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
[   24.576568] mmc1: req failed (CMD5): -110, retrying...
[   24.576568] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD5, argument 0x
[   24.576904] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
[   24.576934] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
[   24.576934] mmc1: req failed (CMD5): -110, retrying...
[   24.576965] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD5, argument 0x
[   24.577301] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
[   24.577331] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
[   24.577331] mmc1: req done (CMD5): -110:   

[   24.578247] mmc1: starting CMD55 arg  flags 00f5
[   24.578247] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD55, argument 0x
[   24.578582] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
[   24.578613] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
[   24.578643] mmc1: req done (CMD55): -110:   

[   24.580444] mmc1: starting CMD55 arg  flags 00f5
[   24.580474] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD55, argument 0x
[   24.580810] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
[   24.580810] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
[   24.580841] mmc1: req done (CMD55): -110:   

[   24.582641] mmc1: starting CMD55 arg  flags 00f5
[   24.582672] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD55, argument 0x
[   24.583007] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
[   24.583007] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
[   24.583038] mmc1: req done (CMD55): -110:   

[   24.584899] mmc1: starting CMD55 arg  flags 00f5
[   24.584899] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD55, argument 0x
[   24.585235] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
[   24.585266] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
[   24.585296] mmc1: req done (CMD55): -110:   

[   24.587097] mmc1: starting CMD1 arg  flags 00e1
[   24.587097] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD1, argument 0x
[   24.587432] mmci-omap-hs mmci-omap-hs.1: IRQ S

Question about omap_hsmmc driver

2010-01-05 Thread Enric Balletbò i Serra
Hi all,

I'm having problems trying to run the SDIO WLAN module on my IGEP v2
board using the latest omap kernel (2.6.33-rc2). The SDIO WLAN module
is connected to the MMC2 using 4 wires. With an older kernel ( 2.6.28
) works fine but the same configuration with 2.6.33-rc2 do not detect
the SDIO card.

Any idea to solve the problem ? There is a substantial modification in
this driver. Any help will be appreciated. I attached the log.

Thanks in advance,
   Enric


[   24.521484] mmci-omap-hs mmci-omap-hs.1: DISABLED -> ENABLED
[   24.522003] mmc1: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
[   24.522033] mmci-omap-hs mmci-omap-hs.1: ENABLED -> DISABLED
[   24.522308] mmci-omap-hs mmci-omap-hs.1: DISABLED -> ENABLED
[   24.522338] mmc1: clock 0Hz busmode 1 powermode 1 cs 0 Vdd 65535
width 0 timing 0
[   24.545104] mmc1: clock 40Hz busmode 1 powermode 2 cs 0 Vdd
65535 width 0 timing 0
[   24.568298] mmc1: clock 40Hz busmode 1 powermode 2 cs 1 Vdd
65535 width 0 timing 0
[   24.569335] mmc1: starting CMD0 arg  flags 00c0
[   24.569366] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD0, argument 0x
[   24.569519] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
[   24.569549] mmc1: req done (CMD0): 0:    
[   24.572540] mmc1: clock 40Hz busmode 1 powermode 2 cs 0 Vdd
65535 width 0 timing 0
[   24.573547] mmc1: starting CMD8 arg 00aa flags 02f5
[   24.573577] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD8, argument 0x00aa
[   24.573913] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
[   24.573913] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
[   24.573944] mmc1: req done (CMD8): -110:    
[   24.575744] mmc1: starting CMD5 arg  flags 02e1
[   24.575775] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD5, argument 0x
[   24.576110] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
[   24.576141] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
[   24.576171] mmc1: req failed (CMD5): -110, retrying...
[   24.576171] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD5, argument 0x
[   24.576507] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
[   24.576538] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
[   24.576568] mmc1: req failed (CMD5): -110, retrying...
[   24.576568] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD5, argument 0x
[   24.576904] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
[   24.576934] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
[   24.576934] mmc1: req failed (CMD5): -110, retrying...
[   24.576965] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD5, argument 0x
[   24.577301] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
[   24.577331] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
[   24.577331] mmc1: req done (CMD5): -110:    
[   24.578247] mmc1: starting CMD55 arg  flags 00f5
[   24.578247] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD55, argument 0x
[   24.578582] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
[   24.578613] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
[   24.578643] mmc1: req done (CMD55): -110:    
[   24.580444] mmc1: starting CMD55 arg  flags 00f5
[   24.580474] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD55, argument 0x
[   24.580810] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
[   24.580810] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
[   24.580841] mmc1: req done (CMD55): -110:    
[   24.582641] mmc1: starting CMD55 arg  flags 00f5
[   24.582672] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD55, argument 0x
[   24.583007] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
[   24.583007] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
[   24.583038] mmc1: req done (CMD55): -110:    
[   24.584899] mmc1: starting CMD55 arg  flags 00f5
[   24.584899] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD55, argument 0x
[   24.585235] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
[   24.585266] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
[   24.585296] mmc1: req done (CMD55): -110:    
[   24.587097] mmc1: starting CMD1 arg  flags 00e1
[   24.587097] mmci-omap-hs mmci-omap-hs.1: mmc1: CMD1, argument 0x
[   24.587432] mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
[   24.587463] mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
[   24.587493] mmc1: req done (CMD1): -110:    
[   24.589294] mmc1: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
[   24.623962] mmci-omap-hs mmci-omap-hs.1: ENABLED -> DISABLED
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-