diff options
author | Wang Dongsheng <dongsheng.wang@freescale.com> | 2013-12-17 16:17:02 +0800 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-01-09 17:51:38 -0600 |
commit | a7189483f03d4c4b93219ff27a2e0a01716abd21 (patch) | |
tree | 9a3412e1a8b7a13f2fd31cdbeea4f6d3a205f9fb /drivers/tty/Kconfig | |
parent | 1d47ddf7c3725e889763b1fffa70a04e1061940b (diff) | |
download | linux-next-a7189483f03d4c4b93219ff27a2e0a01716abd21.tar.gz |
powerpc/85xx: add sysfs for pw20 state and altivec idle
Add a sys interface to enable/diable pw20 state or altivec idle, and
control the wait entry time.
Enable/Disable interface:
0, disable. 1, enable.
/sys/devices/system/cpu/cpuX/pw20_state
/sys/devices/system/cpu/cpuX/altivec_idle
Set wait time interface:(Nanosecond)
/sys/devices/system/cpu/cpuX/pw20_wait_time
/sys/devices/system/cpu/cpuX/altivec_idle_wait_time
Example: Base on TBfreq is 41MHZ.
1~48(ns): TB[63]
49~97(ns): TB[62]
98~195(ns): TB[61]
196~390(ns): TB[60]
391~780(ns): TB[59]
781~1560(ns): TB[58]
...
Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
[scottwood@freescale.com: change ifdef]
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'drivers/tty/Kconfig')
0 files changed, 0 insertions, 0 deletions