diff options
author | Steve Rogers <srogers@nvidia.com> | 2014-02-04 17:15:33 -0600 |
---|---|---|
committer | Juha Tukkinen <jtukkinen@nvidia.com> | 2014-02-10 04:39:36 -0800 |
commit | a7fd41b82287ba85e704f5e7bf06988e22e39151 (patch) | |
tree | 49aa5fe63a74e482030f9995aa956c298bd27ec6 /include | |
parent | 4253883370fd386e453c07c4764dd3eaaa795be3 (diff) |
EDP: sysedp: Add capping method selection
Bug 1453350
Change-Id: Ia4064cf59a93f90770a61144fcdb65918cdaa1b7
Signed-off-by: Steve Rogers <srogers@nvidia.com>
Reviewed-on: http://git-master/r/363494
(cherry picked from commmit 88b6025796e4b57e750b7c615b9416c433ef7761)
Reviewed-on: http://git-master/r/364963
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/platform_data/tegra_edp.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/platform_data/tegra_edp.h b/include/linux/platform_data/tegra_edp.h index 0964ee3340d1..ecee6f02a791 100644 --- a/include/linux/platform_data/tegra_edp.h +++ b/include/linux/platform_data/tegra_edp.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2013-2014, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -39,6 +39,13 @@ struct tegra_sysedp_corecap { unsigned int pthrot; }; +enum tegra_sysedp_corecap_method { + TEGRA_SYSEDP_CAP_METHOD_DEFAULT = 0, + TEGRA_SYSEDP_CAP_METHOD_DIRECT, + TEGRA_SYSEDP_CAP_METHOD_SIGNAL, + TEGRA_SYSEDP_CAP_METHOD_RELAX, +}; + struct tegra_sysedp_platform_data { struct tegra_system_edp_entry *cpufreq_lim; unsigned int cpufreq_lim_size; @@ -48,6 +55,7 @@ struct tegra_sysedp_platform_data { unsigned int init_req_watts; unsigned int pthrot_ratio; const char *bbc; + unsigned int cap_method; }; #if defined(CONFIG_EDP_FRAMEWORK) || defined(CONFIG_SYSEDP_FRAMEWORK) |