All of lore.kernel.org
 help / color / mirror / Atom feed
* mmc: UHS Voltage switch and operating frequency question
@ 2017-07-31 16:20 ` Jerome Brunet
  0 siblings, 0 replies; 12+ messages in thread
From: Jerome Brunet @ 2017-07-31 16:20 UTC (permalink / raw)
  To: linus-amlogic

Hi Ulf,

I am working on adding signal voltage switch callback to the meson mmc driver.
While testing, I noticed that a few cards fail to exit the busy state after the
voltage switch.

After tinkering with the driver a bit, I noticed that increasing the clock
frequency from 400kHz to 1MHz solve the problem. Strange, isn't it ?

I'm don't know MMC that much but is it possible that some card require a minimum
operating frequency to enter UHS mode ?

The simplified spec (Part 1 - Physical Layer) says that before CMD11, we should
have had CMD41 (Init Command) . After CMD41, the card should be operating at
Default Speed or SDR12. 

I believe that in both case, the frequency is "up to 25Mhz" ? This would be the
maximum, but is there a minimum ? 400kHz seems pretty low compared to 25Mhz ...

I hope you will able to shed light on this :)

Best Regards
jerome

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

end of thread, other threads:[~2017-08-02 10:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-31 16:20 mmc: UHS Voltage switch and operating frequency question Jerome Brunet
2017-07-31 16:20 ` Jerome Brunet
2017-08-01  0:38 ` Shawn Lin
2017-08-01  0:38   ` Shawn Lin
2017-08-01 16:56   ` Jerome Brunet
2017-08-01 16:56     ` Jerome Brunet
2017-08-02  2:54     ` Shawn Lin
2017-08-02  2:54       ` Shawn Lin
2017-08-02  9:20       ` Jerome Brunet
2017-08-02  9:20         ` Jerome Brunet
2017-08-02 10:07         ` Shawn Lin
2017-08-02 10:07           ` Shawn Lin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.