linux/drivers/mmc/core
Andy Shevchenko 703aae3d09 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 <ext-andriy.shevchenko@nokia.com>
Cc: Adrian Hunter <adrian.hunter@nokia.com>
[cjb: modify changelog language]
Signed-off-by: Chris Ball <cjb@laptop.org>
2010-10-23 21:11:20 +08:00
..
Kconfig
Makefile mmc: Makefile: Fix EXTRA_CFLAGS assignment 2010-10-23 21:11:15 +08:00
bus.c mmc: add runtime PM handlers 2010-10-23 21:11:18 +08:00
bus.h mmc: rename dev_to_mmc_card() to mmc_dev_to_card() 2010-10-23 21:11:12 +08:00
core.c mmc: propagate power save/restore ops return value 2010-10-23 21:11:17 +08:00
core.h mmc: propagate power save/restore ops return value 2010-10-23 21:11:17 +08:00
debugfs.c mmc: add a file to debugfs for changing host clock at runtime 2010-10-23 21:11:20 +08:00
host.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
host.h
mmc.c mmc: propagate power save/restore ops return value 2010-10-23 21:11:17 +08:00
mmc_ops.c
mmc_ops.h
sd.c mmc: propagate power save/restore ops return value 2010-10-23 21:11:17 +08:00
sd.h
sd_ops.c mmc: add erase, secure erase, trim and secure trim operations 2010-08-12 08:43:30 -07:00
sd_ops.h mmc: add erase, secure erase, trim and secure trim operations 2010-08-12 08:43:30 -07:00
sdio.c mmc: sdio: ensure mmc_sdio_detect is powered 2010-10-23 21:11:18 +08:00
sdio_bus.c mmc: sdio: support suspend/resume while runtime suspended 2010-10-23 21:11:19 +08:00
sdio_bus.h
sdio_cis.c
sdio_cis.h
sdio_io.c
sdio_irq.c
sdio_ops.c
sdio_ops.h