tegra124-soctherm.h 592 B

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