diff options
author | Grigori Goronzy <greg@chown.ath.cx> | 2009-04-27 03:23:40 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-05-14 11:23:40 -0400 |
commit | 158ca1d75dd0d6223f3b1dd741d30777da62ab80 (patch) | |
tree | 9e70d7c8108ae7aff0fc13ca4bba9ef72c7c9bbb /drivers | |
parent | 978605c4fd8e7470f225eec7b5aab69d8796afcc (diff) |
eeepc-laptop: support for super hybrid engine (SHE)
The older eeepc-acpi driver allowed to control the SHE performance
preset through a ACPI function for just this purpose. SHE underclocks
and undervolts the FSB and undervolts the CPU (at preset 2,
"powersave"), or slightly overclocks the CPU (at preset 0,
"performance"). Preset 1 is the default setting with default clocks and
voltage.
The new eeepc-laptop driver doesn't support it anymore.
The attached patch adds support for it to eeepc-laptop. It's very
straight-forward and almost trivial.
Signed-off-by: Grigori Goronzy <greg@chown.ath.cx>
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/platform/x86/eeepc-laptop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c index 57f21f0a5655..7aaf5879f666 100644 --- a/drivers/platform/x86/eeepc-laptop.c +++ b/drivers/platform/x86/eeepc-laptop.c | |||
@@ -384,11 +384,13 @@ static ssize_t show_sys_acpi(int cm, char *buf) | |||
384 | EEEPC_CREATE_DEVICE_ATTR(camera, CM_ASL_CAMERA); | 384 | EEEPC_CREATE_DEVICE_ATTR(camera, CM_ASL_CAMERA); |
385 | EEEPC_CREATE_DEVICE_ATTR(cardr, CM_ASL_CARDREADER); | 385 | EEEPC_CREATE_DEVICE_ATTR(cardr, CM_ASL_CARDREADER); |
386 | EEEPC_CREATE_DEVICE_ATTR(disp, CM_ASL_DISPLAYSWITCH); | 386 | EEEPC_CREATE_DEVICE_ATTR(disp, CM_ASL_DISPLAYSWITCH); |
387 | EEEPC_CREATE_DEVICE_ATTR(cpufv, CM_ASL_CPUFV); | ||
387 | 388 | ||
388 | static struct attribute *platform_attributes[] = { | 389 | static struct attribute *platform_attributes[] = { |
389 | &dev_attr_camera.attr, | 390 | &dev_attr_camera.attr, |
390 | &dev_attr_cardr.attr, | 391 | &dev_attr_cardr.attr, |
391 | &dev_attr_disp.attr, | 392 | &dev_attr_disp.attr, |
393 | &dev_attr_cpufv.attr, | ||
392 | NULL | 394 | NULL |
393 | }; | 395 | }; |
394 | 396 | ||