Thermal: pid_thermal_gov: Add max_dout
authorJinyoung Park <jinyoungp@nvidia.com>
Mon, 18 Feb 2013 12:05:27 +0000 (21:05 +0900)
committerMandar Padmawar <mpadmawar@nvidia.com>
Wed, 6 Mar 2013 08:26:57 +0000 (00:26 -0800)
commitcd510d29e80c34e0047a9f7c7014ceca10d1ca7a
treec8c32dc13038342da363e6c6fe513e6ba0b8a6aa
parentb0c39dccee95a7b416339a920dc8fb4f745cda52
Thermal: pid_thermal_gov: Add max_dout

Added max_dout to limit derivative output to avoid extreme response
if delta temperature gets too large and added its sysfs node.
The max_dout is percentage of max_err.

Bug 1200111

Change-Id: I2a5a984a4dbfe430e2ec9edbb32e036dcfa23b53
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/201770
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Edward Riegelsberger <eriegels@nvidia.com>
drivers/thermal/pid_thermal_gov.c