diff options
author | Darrick J. Wong <djwong@us.ibm.com> | 2009-09-18 15:41:09 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-09-19 01:30:01 -0400 |
commit | de584afa5e188a2da484bb5373d449598cdb9f5e (patch) | |
tree | 629dce13dc9c6f5160cf4515a11965d88feb9ef5 /drivers/acpi/Kconfig | |
parent | 74fca6a42863ffacaf7ba6f1936a9f228950f657 (diff) |
hwmon driver for ACPI 4.0 power meters
This driver exposes ACPI 4.0 compliant power meters as hardware monitoring
devices. This second revision of the driver also exports the ACPI string
info as sysfs attributes, a list of the devices that the meter measures,
and will send ACPI notifications over the ACPI netlink socket. This
latest revision only enables the power capping controls if it can be
confirmed that the power cap can be enforced by the hardware and explains
how the notification interfaces work.
[akpm@linux-foundation.org: remove default-y]
[akpm@linux-foundation.org: build fix]
Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/Kconfig')
-rw-r--r-- | drivers/acpi/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 7ec7d88c5999..2c1cab5642ff 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig | |||
@@ -82,6 +82,17 @@ config ACPI_PROCFS_POWER | |||
82 | 82 | ||
83 | Say N to delete power /proc/acpi/ directories that have moved to /sys/ | 83 | Say N to delete power /proc/acpi/ directories that have moved to /sys/ |
84 | 84 | ||
85 | config ACPI_POWER_METER | ||
86 | tristate "ACPI 4.0 power meter" | ||
87 | depends on HWMON | ||
88 | help | ||
89 | This driver exposes ACPI 4.0 power meters as hardware monitoring | ||
90 | devices. Say Y (or M) if you have a computer with ACPI 4.0 firmware | ||
91 | and a power meter. | ||
92 | |||
93 | To compile this driver as a module, choose M here: | ||
94 | the module will be called power-meter. | ||
95 | |||
85 | config ACPI_SYSFS_POWER | 96 | config ACPI_SYSFS_POWER |
86 | bool "Future power /sys interface" | 97 | bool "Future power /sys interface" |
87 | select POWER_SUPPLY | 98 | select POWER_SUPPLY |