linux/drivers/platform/x86
Chris Bagwell 7f80d734b3 eeepc-wmi: Add cpufv sysfs interface
eeepc-laptop provides a sysfs interface to read and control what it
calls cpufv.  When WMI is enabled, the ACPI interface changes slightly
and becames a write-only control with 3 valid values.

Expose cpufv again to allow for user space utils that can extended battery
life noticably and come a little closer to parity with eeepc-laptop.

Write-only is OK for most user space apps because read status was
mostly used to prevent unneeded mode changes.  Since this same check
to ignore changes to same mode also exists in the DSDT then it was
wasted ACPI call.

acpi_osi="!Windows 2009" can be used for get back eeepc-laptop's
read support of cpufv for debugging things such as behaviour
during resume.

This patch was tested with EEE PC 1005PE by monitoring powertop output while
writing values of "0", "1", and "2" and by reviewing the decompiled DSDT of
an 1201NL and comparing it to 1005PE's DSDT.

Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
2010-10-21 10:10:53 -04:00
..
acer-wmi.c Don't show error if Acer WMI is not found 2010-10-21 09:36:44 -04:00
acerhdf.c acerhdf: fix resource reclaim in error path 2010-08-03 09:49:01 -04:00
asus_acpi.c drivers/platform/x86: Adjust confusing if indentation 2010-08-16 11:54:20 -04:00
asus-laptop.c asus-laptop: use attribute group to manage attributes 2010-10-21 09:36:46 -04:00
classmate-laptop.c classmate-laptop: make needlessly global symbols static 2010-08-03 09:48:59 -04:00
compal-laptop.c platform/x86: move rfkill for Dell Mini 1012 to compal-laptop 2010-08-16 11:55:00 -04:00
dell-laptop.c dell-laptop: Add debugfs support 2010-10-21 09:36:49 -04:00
dell-wmi.c Input: dell-wmi - switch to using sparse keymap library 2010-10-21 09:36:43 -04:00
eeepc-laptop.c platform-x86: sync eeepc-laptop and asus-laptop 2010-10-21 09:36:43 -04:00
eeepc-wmi.c eeepc-wmi: Add cpufv sysfs interface 2010-10-21 10:10:53 -04:00
fujitsu-laptop.c fujitsu-laptop: make needlessly global symbols static 2010-08-03 09:49:00 -04:00
hdaps.c Move hdaps driver to platform/x86 2010-10-21 10:10:43 -04:00
hp-wmi.c Input: hp-wmi - switch to using sparse keymap library 2010-10-21 09:36:43 -04:00
ibm_rtl.c IBM Real-Time "SMI Free" mode driver -v7 2010-10-21 10:10:46 -04:00
ideapad-laptop.c ideapad: Add param: no_bt_rfkill 2010-10-21 09:36:51 -04:00
intel_ips.c IPS driver: Fix limit clamping when reducing CPU power 2010-10-05 14:59:35 -04:00
intel_menlow.c intel_menlow: fix memory leaks in error path 2010-08-03 09:48:40 -04:00
intel_pmic_gpio.c intel_pmic_gpio: fix off-by-one value range checking 2010-10-21 10:10:47 -04:00
intel_rar_register.c rar: Fix off by one error 2010-08-24 10:42:08 -07:00
intel_scu_ipc.c scu_ipc: Fix warning caused by include changes 2010-10-21 09:36:45 -04:00
Kconfig IBM Real-Time "SMI Free" mode driver -v7 2010-10-21 10:10:46 -04:00
Makefile IBM Real-Time "SMI Free" mode driver -v7 2010-10-21 10:10:46 -04:00
msi-laptop.c msi-laptop: make struct rfkill_ops const 2010-08-03 09:49:00 -04:00
msi-wmi.c msi-wmi: make needlessly global symbols static 2010-08-03 09:49:10 -04:00
panasonic-laptop.c panasonic-laptop: Simplify calls to acpi_pcc_retrieve_biosdata 2010-10-21 10:10:50 -04:00
sony-laptop.c sony-laptop: use platform_device_unregister in sony_pf_remove 2010-08-03 09:48:53 -04:00
tc1100-wmi.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
thinkpad_acpi.c thinkpad-acpi: avoid keymap pitfall 2010-09-23 15:42:04 -04:00
topstar-laptop.c topstar-laptop - switch to using sparse keymap library 2010-10-21 09:36:42 -04:00
toshiba_acpi.c toshiba-acpi - switch to using sparse keymap 2010-10-21 09:36:43 -04:00
toshiba_bluetooth.c ACPI: replace acpi_integer by u64 2010-01-28 01:47:33 -05:00
wmi.c WMI: embed struct device directly into wmi_block 2010-10-21 09:36:48 -04:00
xo1-rfkill.c Add OLPC XO-1 rfkill driver 2010-10-21 10:10:44 -04:00