diff options
author | Sahitya Tummala <stummala@codeaurora.org> | 2014-09-25 14:32:32 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-10-01 13:11:24 +0200 |
commit | 1ab27c9cf8b63dd8dec9e17b5c17721c7f3b6cc7 (patch) | |
tree | 50663bbaad4193381118b8ec3a1a4c451b70a2c0 /virt/kvm | |
parent | ufs: refactor configuring power mode (diff) | |
download | linux-1ab27c9cf8b63dd8dec9e17b5c17721c7f3b6cc7.tar.xz linux-1ab27c9cf8b63dd8dec9e17b5c17721c7f3b6cc7.zip |
ufs: Add support for clock gating
The UFS controller clocks can be gated after certain period of
inactivity, which is typically less than runtime suspend timeout.
In addition to clocks the link will also be put into Hibern8 mode
to save more power.
The clock gating can be turned on by enabling the capability
UFSHCD_CAP_CLK_GATING. To enable entering into Hibern8 mode as part of
clock gating, set the capability UFSHCD_CAP_HIBERN8_WITH_CLK_GATING.
The tracing events for clock gating can be enabled through debugfs as:
echo 1 > /sys/kernel/debug/tracing/events/ufs/ufshcd_clk_gating/enable
cat /sys/kernel/debug/tracing/trace_pipe
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 'virt/kvm')
0 files changed, 0 insertions, 0 deletions