thermal/int340x_thermal: Export OEM vendor variables
authorMatthew Garrett <mjg59@google.com>
Tue, 14 Apr 2020 02:09:52 +0000 (19:09 -0700)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 29 May 2020 18:26:51 +0000 (20:26 +0200)
commit006f006f1e5c48e5ddd6515eab2c9a7b27ce1144
tree53ee77a9db1e192cbbd44224a69e58f368e6c5be
parent0ba13c763aacb27ab32bde5d559bf40e88465921
thermal/int340x_thermal: Export OEM vendor variables

The platform vendor may expose an array of OEM-specific values to be used
in determining DPTF policy. These are obtained via the ODVP method, and
then simply exposed in sysfs. In addition, they are updated when a
notification is received or when the DPTF policy is changed by userland.

Conflicts:
drivers/thermal/intel/int340x_thermal/int3400_thermal.c

Signed-off-by: Matthew Garrett <mjg59@google.com>
Tested-by: Pandruvada, Srinivas <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Link: https://lore.kernel.org/r/20200414020953.255364-2-matthewgarrett@google.com
drivers/thermal/intel/int340x_thermal/int3400_thermal.c