xref: /netbsd-src/sys/external/gpl2/dts/dist/include/dt-bindings/thermal/tegra124-soctherm.h (revision 4effb9b18f024fdac2e35b6e9f6ec111f2d026be)
1 /*	$NetBSD: tegra124-soctherm.h,v 1.1.1.3 2020/01/03 14:33:03 skrll 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_NONE 0
18 #define TEGRA_SOCTHERM_THROT_LEVEL_LOW  1
19 #define TEGRA_SOCTHERM_THROT_LEVEL_MED  2
20 #define TEGRA_SOCTHERM_THROT_LEVEL_HIGH 3
21 
22 #endif
23