1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */ 2*c66ec88fSEmmanuel Vadot /* 3*c66ec88fSEmmanuel Vadot * This header provides constants for binding nvidia,tegra124-soctherm. 4*c66ec88fSEmmanuel Vadot */ 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_THERMAL_TEGRA124_SOCTHERM_H 7*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_THERMAL_TEGRA124_SOCTHERM_H 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadot #define TEGRA124_SOCTHERM_SENSOR_CPU 0 10*c66ec88fSEmmanuel Vadot #define TEGRA124_SOCTHERM_SENSOR_MEM 1 11*c66ec88fSEmmanuel Vadot #define TEGRA124_SOCTHERM_SENSOR_GPU 2 12*c66ec88fSEmmanuel Vadot #define TEGRA124_SOCTHERM_SENSOR_PLLX 3 13*c66ec88fSEmmanuel Vadot #define TEGRA124_SOCTHERM_SENSOR_NUM 4 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel Vadot #define TEGRA_SOCTHERM_THROT_LEVEL_NONE 0 16*c66ec88fSEmmanuel Vadot #define TEGRA_SOCTHERM_THROT_LEVEL_LOW 1 17*c66ec88fSEmmanuel Vadot #define TEGRA_SOCTHERM_THROT_LEVEL_MED 2 18*c66ec88fSEmmanuel Vadot #define TEGRA_SOCTHERM_THROT_LEVEL_HIGH 3 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel Vadot #endif 21