thermal: int340x: Introduce processor reporting device
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 10 Dec 2014 00:47:17 +0000 (16:47 -0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 24 Dec 2014 02:37:35 +0000 (10:37 +0800)
commit47c93e6b3f37bf2b709fb107f3db586e39b8fd56
tree3d66b020d8c28f05d53a76ac0fd6ddba3c6d3bd2
parent0716b0ff0a11ca96e925bfac43a82eb88f75c928
thermal: int340x: Introduce processor reporting device

The Int340x thermal provides a processor thermal device, which
is used to control processor thermal states. These devices are
either reported as a PCI device or an ACPI device. This
device provides power limits, control states and optional
temperature.
This change implements minimal requirements to expose processor
power limits which can be used during thermal power limiting.
Power limits are exposed via an attribute group called
"power_limits" under the device. The exported attributes
are:
power_limit_0_max_uw
power_limit_1_max_uw
power_limit_0_min_uw
power_limit_1_min_uw
power_limit_0_tmin_us
power_limit_1_tmin_us
power_limit_0_tmax_us
power_limit_1_tmax_us
power_limit_0_step_uw
power_limit_1_step_uw

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/int340x_thermal/Makefile
drivers/thermal/int340x_thermal/processor_thermal_device.c [new file with mode: 0644]