mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
ARM: tegra: dvfs: Disable dvfs on sdmmc
The sdhci core calls clock functions with a spinlock held, which conflicts with the mutex in dvfs clocks. Disable dvfs on sdmmc for now. Signed-off-by: Colin Cross <ccross@android.com> Change-Id: I59c0648ab6718571794e082d1f4828f158d00031
This commit is contained in:
@@ -81,10 +81,20 @@ static struct dvfs dvfs_init[] = {
|
||||
CPU_DVFS("cpu", 3, MHZ, 730, 760, 845, 845, 1000),
|
||||
|
||||
/* Core voltages (mV): 950, 1000, 1100, 1200, 1275 */
|
||||
|
||||
#if 0
|
||||
/*
|
||||
* The sdhci core calls the clock ops with a spinlock held, which
|
||||
* conflicts with the sleeping dvfs api.
|
||||
* For now, boards must ensure that the core voltage does not drop
|
||||
* below 1V, or that the sdmmc busses are set to 44 MHz or less.
|
||||
*/
|
||||
CORE_DVFS("sdmmc1", 1, KHZ, 44000, 52000, 52000, 52000, 52000),
|
||||
CORE_DVFS("sdmmc2", 1, KHZ, 44000, 52000, 52000, 52000, 52000),
|
||||
CORE_DVFS("sdmmc3", 1, KHZ, 44000, 52000, 52000, 52000, 52000),
|
||||
CORE_DVFS("sdmmc4", 1, KHZ, 44000, 52000, 52000, 52000, 52000),
|
||||
#endif
|
||||
|
||||
CORE_DVFS("ndflash", 1, KHZ, 130000, 150000, 158000, 164000, 164000),
|
||||
CORE_DVFS("nor", 1, KHZ, 0, 92000, 92000, 92000, 92000),
|
||||
CORE_DVFS("ide", 1, KHZ, 0, 0, 100000, 100000, 100000),
|
||||
|
||||
Reference in New Issue
Block a user