diff options
author | Sujit Reddy Thumma <sthumma@codeaurora.org> | 2012-11-09 18:32:32 +0530 |
---|---|---|
committer | Subhash Jadavani <subhashj@codeaurora.org> | 2016-05-27 10:29:15 -0700 |
commit | 7d7218224b477ffb208655be43996fdfdb9d8370 (patch) | |
tree | 9cc0618db545d66da7e91bd0cc5148c75fd0a535 /drivers/message | |
parent | f3bca6c7763f02d8f1318aa840e4a3780ab219f2 (diff) |
mmc: core: Add a debugfs entry to set max clock rate
Limiting the max frequency supported by host controller
to a certain value can be useful for testing power consumption
at various frequencies that are supported by the host.
Note: If the card supports less than desired value then the
frequency of operation would be limited to that frequency.
Usage:
mount -t debugfs none /sys/kernel/debug
echo <desired_frequency> > /sys/kernel/debug/mmcX/max_clock
cat /sys/kernel/debug/mmcX/max_clock
Change-Id: I9e9a7e368f56d8e16548780288211bd8775fd048
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions