[PATCH 3/3] [U300] Set f_max to 24 MHz for MMC

Linus Walleij linus.walleij at stericsson.com
Mon Feb 15 08:04:07 EST 2010


[David Vrabel]

> Linus Walleij wrote:
> > 
> > +	mmci_card->mmc0_plat_data.f_max = 24*1024*1024;
> 
> Is the frequency really 25165824 Hz and not 24000000 Hz?

It's actually 18900000 Hz. This f_max is a physical
limitation and a property of the SoC, so that figure
comes from some semiconductor person.

When combined with the U300 clock framework, the
min() function will resolve to min(18900000, 24000000)
i.e. 18900000 Hz.

Linus Walleij



More information about the linux-arm-kernel mailing list