public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Why does it increase the dsor value in MMC?
@ 2007-06-29  9:52 Kyungmin Park
  2007-06-29 14:15 ` Tuukka.Tikkanen
  0 siblings, 1 reply; 6+ messages in thread
From: Kyungmin Park @ 2007-06-29  9:52 UTC (permalink / raw)
  To: 'Linux OMAP'

Hi,

In mmc_omap_calc_divisor(). We calculate the dsor value.
In the code why does it increase the dsor at the end of code?

Now the Apollon board uses func_clk_rate as 95,000,000 and ios->clock is
20,000,000

	dsor = func_clk_rate / ios->clock;	=> 4
        if (dsor < 1)
                dsor = 1;

        if (func_clk_rate / dsor > ios->clock)	=> True
                dsor++;				=> 5

        if (dsor > 250)
                dsor = 250;
        dsor++;					=> 6

After the current calculation, we use the host clock as 15,833,333 (dsor 6). But
if it is not increased, we can use the 19,000,000 (dsor 5)

It there any reason to increase this value?

Thank you,
Kyungmin Park

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-08-10  7:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-29  9:52 Why does it increase the dsor value in MMC? Kyungmin Park
2007-06-29 14:15 ` Tuukka.Tikkanen
2007-06-29 15:28   ` Syed Mohammed, Khasim
2007-07-02  2:14     ` Kyungmin Park
2007-07-02  3:04       ` Syed Mohammed, Khasim
2007-08-10  7:48         ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox