Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Mikko Perttunen | 0199e99 | 2014-09-26 12:43:10 +0300 | [diff] [blame] | 2 | /* |
| 3 | * This header provides constants for binding nvidia,tegra124-soctherm. |
| 4 | */ |
| 5 | |
| 6 | #ifndef _DT_BINDINGS_THERMAL_TEGRA124_SOCTHERM_H |
| 7 | #define _DT_BINDINGS_THERMAL_TEGRA124_SOCTHERM_H |
| 8 | |
| 9 | #define TEGRA124_SOCTHERM_SENSOR_CPU 0 |
| 10 | #define TEGRA124_SOCTHERM_SENSOR_MEM 1 |
| 11 | #define TEGRA124_SOCTHERM_SENSOR_GPU 2 |
| 12 | #define TEGRA124_SOCTHERM_SENSOR_PLLX 3 |
Wei Ni | 6f7e0d9 | 2016-03-29 18:29:12 +0800 | [diff] [blame] | 13 | #define TEGRA124_SOCTHERM_SENSOR_NUM 4 |
Mikko Perttunen | 0199e99 | 2014-09-26 12:43:10 +0300 | [diff] [blame] | 14 | |
Wei Ni | 7d8ac6b | 2019-02-21 18:18:39 +0800 | [diff] [blame] | 15 | #define TEGRA_SOCTHERM_THROT_LEVEL_NONE 0 |
| 16 | #define TEGRA_SOCTHERM_THROT_LEVEL_LOW 1 |
| 17 | #define TEGRA_SOCTHERM_THROT_LEVEL_MED 2 |
| 18 | #define TEGRA_SOCTHERM_THROT_LEVEL_HIGH 3 |
Wei Ni | 6c7c324 | 2016-05-11 18:20:18 +0800 | [diff] [blame] | 19 | |
Mikko Perttunen | 0199e99 | 2014-09-26 12:43:10 +0300 | [diff] [blame] | 20 | #endif |