Re: [PATCH] mmc: append a file to change host clock at run time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 12, 2010 at 6:17 PM, Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> For debugging power managment features there is quite convenient to have a
> possibility to change MMC host controller clock at run time. This patch adds
> 'clock' file under MMC host root of debugfs.
>
> Usage as follows:
>
> Â Â Â Â# cat /sys/kernel/debug/mmc0/clock
> Â Â Â Â24000000
Actually this value should be 52000000 here.

>
> Â Â Â Â# 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 second piece of example shows limits which are applied accordingly to used
> host driver.


-- 
With Best Regards,
Andy Shevchenko
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux