diff options
author | Wei Ni <wni@nvidia.com> | 2019-02-21 05:18:39 -0500 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2019-05-13 23:35:33 -0400 |
commit | 7d8ac6b282ad4a2914f480ab80bf81dd5b77038c (patch) | |
tree | afffbb2a5902b46ab630e72f82efc151bb300a0f /include/dt-bindings | |
parent | 2510aa56ab8795e541386c4f662d40c6c4e98ba9 (diff) |
of: Add bindings of gpu hw throttle for Tegra soctherm
Add "nvidia,gpu-throt-level" property to set gpu hw
throttle level.
Signed-off-by: Wei Ni <wni@nvidia.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r-- | include/dt-bindings/thermal/tegra124-soctherm.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/dt-bindings/thermal/tegra124-soctherm.h b/include/dt-bindings/thermal/tegra124-soctherm.h index c15e8b709a0d..444c7bdde146 100644 --- a/include/dt-bindings/thermal/tegra124-soctherm.h +++ b/include/dt-bindings/thermal/tegra124-soctherm.h | |||
@@ -12,9 +12,9 @@ | |||
12 | #define TEGRA124_SOCTHERM_SENSOR_PLLX 3 | 12 | #define TEGRA124_SOCTHERM_SENSOR_PLLX 3 |
13 | #define TEGRA124_SOCTHERM_SENSOR_NUM 4 | 13 | #define TEGRA124_SOCTHERM_SENSOR_NUM 4 |
14 | 14 | ||
15 | #define TEGRA_SOCTHERM_THROT_LEVEL_LOW 0 | 15 | #define TEGRA_SOCTHERM_THROT_LEVEL_NONE 0 |
16 | #define TEGRA_SOCTHERM_THROT_LEVEL_MED 1 | 16 | #define TEGRA_SOCTHERM_THROT_LEVEL_LOW 1 |
17 | #define TEGRA_SOCTHERM_THROT_LEVEL_HIGH 2 | 17 | #define TEGRA_SOCTHERM_THROT_LEVEL_MED 2 |
18 | #define TEGRA_SOCTHERM_THROT_LEVEL_NONE -1 | 18 | #define TEGRA_SOCTHERM_THROT_LEVEL_HIGH 3 |
19 | 19 | ||
20 | #endif | 20 | #endif |