Home | History | Annotate | Line # | Download | only in thermal
tegra124-soctherm.h revision 1.1.1.2.2.2
      1 /*	$NetBSD: tegra124-soctherm.h,v 1.1.1.2.2.2 2017/12/03 11:38:40 jdolecek Exp $	*/
      2 
      3 /* SPDX-License-Identifier: GPL-2.0 */
      4 /*
      5  * This header provides constants for binding nvidia,tegra124-soctherm.
      6  */
      7 
      8 #ifndef _DT_BINDINGS_THERMAL_TEGRA124_SOCTHERM_H
      9 #define _DT_BINDINGS_THERMAL_TEGRA124_SOCTHERM_H
     10 
     11 #define TEGRA124_SOCTHERM_SENSOR_CPU 0
     12 #define TEGRA124_SOCTHERM_SENSOR_MEM 1
     13 #define TEGRA124_SOCTHERM_SENSOR_GPU 2
     14 #define TEGRA124_SOCTHERM_SENSOR_PLLX 3
     15 #define TEGRA124_SOCTHERM_SENSOR_NUM 4
     16 
     17 #define TEGRA_SOCTHERM_THROT_LEVEL_LOW  0
     18 #define TEGRA_SOCTHERM_THROT_LEVEL_MED  1
     19 #define TEGRA_SOCTHERM_THROT_LEVEL_HIGH 2
     20 #define TEGRA_SOCTHERM_THROT_LEVEL_NONE -1
     21 
     22 #endif
     23