Commit 75d2364e authored by Srinivas Pandruvada's avatar Srinivas Pandruvada Committed by Rafael J. Wysocki

PowerCap: Add class driver

The power capping framework providing a consistent interface between the
kernel and user space that allows power capping drivers to expose their
settings to user space in a uniform way.
The overall design of the framework is described in the documentation
added by the previous patch in this series.
Signed-off-by: 's avatarSrinivas Pandruvada <>
Signed-off-by: 's avatarJacob Pan <>
Reviewed-by: 's avatarRafael J. Wysocki <>
Signed-off-by: 's avatarRafael J. Wysocki <>
parent e23feb16
# Generic power capping sysfs interface configuration
menuconfig POWERCAP
bool "Generic powercap sysfs driver"
The power capping sysfs interface allows kernel subsystems to expose power
capping settings to user space in a consistent way. Usually, it consists
of multiple control types that determine which settings may be exposed and
power zones representing parts of the system that can be subject to power
If you want this code to be compiled in, say Y here.
# Client driver configurations go here.
obj-$(CONFIG_POWERCAP) += powercap_sys.o
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment