18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * This header provides constants for binding nvidia,tegra124-soctherm.
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_THERMAL_TEGRA124_SOCTHERM_H
78c2ecf20Sopenharmony_ci#define _DT_BINDINGS_THERMAL_TEGRA124_SOCTHERM_H
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#define TEGRA124_SOCTHERM_SENSOR_CPU 0
108c2ecf20Sopenharmony_ci#define TEGRA124_SOCTHERM_SENSOR_MEM 1
118c2ecf20Sopenharmony_ci#define TEGRA124_SOCTHERM_SENSOR_GPU 2
128c2ecf20Sopenharmony_ci#define TEGRA124_SOCTHERM_SENSOR_PLLX 3
138c2ecf20Sopenharmony_ci#define TEGRA124_SOCTHERM_SENSOR_NUM 4
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci#define TEGRA_SOCTHERM_THROT_LEVEL_NONE 0
168c2ecf20Sopenharmony_ci#define TEGRA_SOCTHERM_THROT_LEVEL_LOW  1
178c2ecf20Sopenharmony_ci#define TEGRA_SOCTHERM_THROT_LEVEL_MED  2
188c2ecf20Sopenharmony_ci#define TEGRA_SOCTHERM_THROT_LEVEL_HIGH 3
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci#endif
21