diff options
author | Andy Shevchenko <[email protected]> | 2010-10-13 11:22:22 +0300 |
---|---|---|
committer | Chris Ball <[email protected]> | 2010-10-23 21:11:20 +0800 |
commit | 703aae3d09a4b351866f1a97b2afafb905bdbf1e (patch) | |
tree | b177dbc351fc54c23fd683dac2dab110c74e3bfa /lib/mpi/mpi-inline.h | |
parent | 643a81ff3c5a89ae5c0768f89b29d3e1d08be5c3 (diff) |
mmc: add a file to debugfs for changing host clock at runtime
For debugging power management features it is convenient to have the
possibility of changing the MMC host controller clock at runtime. This
patch adds a 'clock' file for this under the MMC host root of debugfs.
Usage is as follows:
# cat /sys/kernel/debug/mmc0/clock
52000000
# echo "1000000000" > /sys/kernel/debug/mmc0/clock
# cat /sys/kernel/debug/mmc0/clock
52000000
# echo "48000000" > /sys/kernel/debug/mmc0/clock
# cat /sys/kernel/debug/mmc0/clock
48000000
The middle example shows limits being applied by the host driver.
Signed-off-by: Andy Shevchenko <[email protected]>
Cc: Adrian Hunter <[email protected]>
[cjb: modify changelog language]
Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions