summaryrefslogtreecommitdiff
path: root/drivers/scsi/ufs/Kconfig
diff options
context:
space:
mode:
authorSahitya Tummala <stummala@codeaurora.org>2014-09-25 12:32:34 (GMT)
committerChristoph Hellwig <hch@lst.de>2014-10-01 11:11:25 (GMT)
commit856b348305c98d4e0c8e5eafa97c61443197f8d3 (patch)
treebbb29c8efc53c8b7b6e83f547e57a8007bc14b8c /drivers/scsi/ufs/Kconfig
parent4cff6d991e4a291cf50fe2659da2ea9ad46620bf (diff)
downloadlinux-856b348305c98d4e0c8e5eafa97c61443197f8d3.tar.xz
ufs: Add support for clock scaling using devfreq framework
The clocks for UFS device will be managed by generic DVFS (Dynamic Voltage and Frequency Scaling) framework within kernel. This devfreq framework works with different governors to scale the clocks. By default, UFS devices uses simple_ondemand governor which scales the clocks up if the load is more than upthreshold and scales down if the load is less than downthreshold. Signed-off-by: Sahitya Tummala <stummala@codeaurora.org> Signed-off-by: Dolev Raviv <draviv@codeaurora.org> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/ufs/Kconfig')
-rw-r--r--drivers/scsi/ufs/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/Kconfig b/drivers/scsi/ufs/Kconfig
index f07f901..6e07b2a 100644
--- a/drivers/scsi/ufs/Kconfig
+++ b/drivers/scsi/ufs/Kconfig
@@ -35,6 +35,8 @@
config SCSI_UFSHCD
tristate "Universal Flash Storage Controller Driver Core"
depends on SCSI && SCSI_DMA
+ select PM_DEVFREQ
+ select DEVFREQ_GOV_SIMPLE_ONDEMAND
---help---
This selects the support for UFS devices in Linux, say Y and make
sure that you know the name of your UFS host adapter (the card