Tom Rini | 614edd8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 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 |
| 13 | #define TEGRA124_SOCTHERM_SENSOR_NUM 4 |
| 14 | |
| 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 |
| 19 | |
| 20 | #endif |