summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFinley Xiao <finley.xiao@rock-chips.com>2018-12-04 16:06:23 +0800
committerTao Huang <huangtao@rock-chips.com>2018-12-25 17:58:26 +0800
commitf6ec026aa9916b08981b574416f555e2cdab6c66 (patch)
tree9676d1486ff91f6b2592d947f3d01cb173da117a /include
parentd2f238a541a2f72c1bfed9f20cdcff84dcd5edcb (diff)
thermal: power_allocator: Add support to get PID constant from dt
Change-Id: Ibabdad4ba2df6df26d75483dd35b6c51572befe8 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/thermal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h
index 5b0718c850ce..e132714398c7 100644
--- a/include/linux/thermal.h
+++ b/include/linux/thermal.h
@@ -300,15 +300,21 @@ struct thermal_zone_params {
*/
s32 k_po;
+ bool is_k_po_available;
+
/*
* Proportional parameter of the PID controller when
* undershooting
*/
s32 k_pu;
+ bool is_k_pu_available;
+
/* Integral parameter of the PID controller */
s32 k_i;
+ bool is_k_i_available;
+
/* Derivative parameter of the PID controller */
s32 k_d;