Searched hist:"8 dfd0374be84793360db7fff2e635d2cd3bbcb21" (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/mmc/host/ |
H A D | sdhci.h | diff a9e58f25734e153b8c6516d904e2398fb8b0b23d Thu Jul 30 00:04:16 CEST 2009 Anton Vorontsov <avorontsov@ru.mvista.com> sdhci: get rid of "frequency too high" flood when using eSDHC
Since commit 8dfd0374be84793360db7fff2e635d2cd3bbcb21 ("MMC core: limit minimum initialization frequency to 400kHz") MMC core checks for minimum frequency, and that causes following messages flood when using eSDHC controllers:
... mmc0: Minimum clock frequency too high for identification mode mmc0: Minimum clock frequency too high for identification mode ...
The warnings are legitimate, since if we'd use 133 MHz clocks for standard SDHCI controllers, we'd not able to scale frequency down to 400 kHz.
But eSDHC controllers have a non-standard SD clock management, so we can divide clock by 256 * 16, not just 256.
This patch introduces get_min_clock() callback for sdhci core and implements it for sdhci-of driver, and thus fixes the issue.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Cc: Matt Fleming <matt@console-pimps.org> Cc: Ian Molton <ian@mnementh.co.uk> Cc: "Roberto A. Foglietta" <roberto.foglietta@gmail.com> Cc: Pierre Ossman <drzeus@drzeus.cx> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
H A D | sdhci.c | diff a9e58f25734e153b8c6516d904e2398fb8b0b23d Thu Jul 30 00:04:16 CEST 2009 Anton Vorontsov <avorontsov@ru.mvista.com> sdhci: get rid of "frequency too high" flood when using eSDHC
Since commit 8dfd0374be84793360db7fff2e635d2cd3bbcb21 ("MMC core: limit minimum initialization frequency to 400kHz") MMC core checks for minimum frequency, and that causes following messages flood when using eSDHC controllers:
... mmc0: Minimum clock frequency too high for identification mode mmc0: Minimum clock frequency too high for identification mode ...
The warnings are legitimate, since if we'd use 133 MHz clocks for standard SDHCI controllers, we'd not able to scale frequency down to 400 kHz.
But eSDHC controllers have a non-standard SD clock management, so we can divide clock by 256 * 16, not just 256.
This patch introduces get_min_clock() callback for sdhci core and implements it for sdhci-of driver, and thus fixes the issue.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Cc: Matt Fleming <matt@console-pimps.org> Cc: Ian Molton <ian@mnementh.co.uk> Cc: "Roberto A. Foglietta" <roberto.foglietta@gmail.com> Cc: Pierre Ossman <drzeus@drzeus.cx> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
/linux/drivers/mmc/core/ |
H A D | core.c | diff 8dfd0374be84793360db7fff2e635d2cd3bbcb21 Thu Apr 09 08:32:02 CEST 2009 Sascha Hauer <s.hauer@pengutronix.de> MMC core: limit minimum initialization frequency to 400kHz
Some controllers allow a much lower frequency than 400kHz. Keep the minimum frequency within sensible limits.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|