eSDHC controller driver on MPC8308rdb

Maria Johansen m.johansen at no.parkairsystems.com
Tue Oct 19 19:49:33 EST 2010


>-----Original Message-----
>From: Tonyliu [mailto:Bo.Liu at windriver.com] 
><snip>
>> Thanks, the missing clock-frequency was part of my problem. The rest was solved by adding some more quirks to the esdhc-driver (SDHCI_QUIRK_FORCE_1_BIT_DATA and >SDHCI_QUIRK_RESET_AFTER_REQUEST). Why it is necessary to force 1-bit data transfers I am a bit unsure about, since the mpc8308 reference manual clearly states that 4-bit >transfers are supported.
>>   
>Actually, I did use 4-bit mode. You can try another 2 quicks:
>
>+   if (of_get_property(np, "sdhci,auto-cmd12", NULL))
>+       host->quirks |= SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12;
>+
>+   if (of_get_property(np, "sdhci,broken-timeout", NULL))
>+       host->quirks |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL;
>+
>

SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 worked (with my other quirks disabled), thanks!

--
Maria


More information about the Linuxppc-dev mailing list