blob: 444c7bdde146ed932246b11c45a1f9ff34e4c0b2 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Mikko Perttunen0199e992014-09-26 12:43:10 +03002/*
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
Wei Ni6f7e0d92016-03-29 18:29:12 +080013#define TEGRA124_SOCTHERM_SENSOR_NUM 4
Mikko Perttunen0199e992014-09-26 12:43:10 +030014
Wei Ni7d8ac6b2019-02-21 18:18:39 +080015#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
Wei Ni6c7c3242016-05-11 18:20:18 +080019
Mikko Perttunen0199e992014-09-26 12:43:10 +030020#endif