summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/int340x_thermal/int3403_thermal.c
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2014-12-02 09:11:23 -0800
committerZhang Rui <rui.zhang@intel.com>2014-12-09 11:31:17 +0800
commit19ecaea26862228a6165232eed0861702700fb20 (patch)
tree51bfb574f9157955179f4cd73bd31c848a160d19 /drivers/thermal/int340x_thermal/int3403_thermal.c
parent009d0431c3914de64666bec0d350e54fdd59df6a (diff)
downloadop-kernel-dev-19ecaea26862228a6165232eed0861702700fb20.zip
op-kernel-dev-19ecaea26862228a6165232eed0861702700fb20.tar.gz
thermal/int3400: export uuids
INT3400 currently supports only one policy, which can't be changed. This change exports all available policies (uuids) to user space and allow this to be changed. It introduces an attribute group uuids in INT3400 platform driver. There are two attributes exposed: - available_uuids - current_uuid User space can set current_uuid via this interface to one of the available uuids. The uuid change is communicated to firmware, only when the current zone mode is changed to "enabled". So the ideal sequence should be - set INT3400 zone mode to "disabled" - change current_uuid - set INT3400 zone mode to "enabled" Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/int340x_thermal/int3403_thermal.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud