]> git.baikalelectronics.ru Git - kernel.git/commit
ufs: Add support for clock scaling using devfreq framework
authorSahitya Tummala <stummala@codeaurora.org>
Thu, 25 Sep 2014 12:32:34 +0000 (15:32 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 1 Oct 2014 11:11:25 +0000 (13:11 +0200)
commit7a505215c21e2e5f524777a990a9273c475a029b
treebbb29c8efc53c8b7b6e83f547e57a8007bc14b8c
parent17354ffe8e216f1dc1c34cc8d8959ec40908498d
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>
drivers/scsi/ufs/Kconfig
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshcd.h