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

Linus Walleij
2010-02-15T13:04:07Z

[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