]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: add registration to thermal zone
authorChaya Rachel Ivgi <chaya.rachel.ivgi@intel.com>
Tue, 29 Dec 2015 07:54:49 +0000 (09:54 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sat, 27 Feb 2016 19:59:49 +0000 (21:59 +0200)
commit9179d190b04a0fc1bf8da6feba890eea10dcb407
treeb0ca50346d363ffbbc894326918c06812d28f656
parent17646518f1fd1a63ab1e11bb19aa3ea2333e7129
iwlwifi: mvm: add registration to thermal zone

Register to thermal_zone interface and implement the
thermal ops.
The thermal handles the device throttling, and sets the
the temperature thresholds the Thermal Manager would be
notified of crossing.
The thermal interface adds a new thermal zone device sensor
under /sys/class/thermal/ folder.

Signed-off-by: Chaya Rachel Ivgi <chaya.rachel.ivgi@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw-api.h
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/ops.c
drivers/net/wireless/intel/iwlwifi/mvm/tt.c