diff options
author | Wei Ni <wni@nvidia.com> | 2019-02-21 11:18:39 +0100 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2019-05-14 05:35:33 +0200 |
commit | 7d8ac6b282ad4a2914f480ab80bf81dd5b77038c (patch) | |
tree | afffbb2a5902b46ab630e72f82efc151bb300a0f /include/dt-bindings | |
parent | thermal: tegra: support hw and sw shutdown (diff) | |
download | linux-7d8ac6b282ad4a2914f480ab80bf81dd5b77038c.tar.xz linux-7d8ac6b282ad4a2914f480ab80bf81dd5b77038c.zip |
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 @@ #define TEGRA124_SOCTHERM_SENSOR_PLLX 3 #define TEGRA124_SOCTHERM_SENSOR_NUM 4 -#define TEGRA_SOCTHERM_THROT_LEVEL_LOW 0 -#define TEGRA_SOCTHERM_THROT_LEVEL_MED 1 -#define TEGRA_SOCTHERM_THROT_LEVEL_HIGH 2 -#define TEGRA_SOCTHERM_THROT_LEVEL_NONE -1 +#define TEGRA_SOCTHERM_THROT_LEVEL_NONE 0 +#define TEGRA_SOCTHERM_THROT_LEVEL_LOW 1 +#define TEGRA_SOCTHERM_THROT_LEVEL_MED 2 +#define TEGRA_SOCTHERM_THROT_LEVEL_HIGH 3 #endif |