Commit 10e1dcb6 authored by Svyatoslav Ryhel's avatar Svyatoslav Ryhel Committed by Daniel Lezcano
Browse files

dt-bindings: thermal: add Tegra114 soctherm header

parent 48fc33b9
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
/*
 * This header provides constants for binding nvidia,tegra114-soctherm.
 */

#ifndef _DT_BINDINGS_THERMAL_TEGRA114_SOCTHERM_H
#define _DT_BINDINGS_THERMAL_TEGRA114_SOCTHERM_H

#define TEGRA114_SOCTHERM_SENSOR_CPU 0
#define TEGRA114_SOCTHERM_SENSOR_MEM 1
#define TEGRA114_SOCTHERM_SENSOR_GPU 2
#define TEGRA114_SOCTHERM_SENSOR_PLLX 3

#define TEGRA114_SOCTHERM_THROT_LEVEL_NONE 0
#define TEGRA114_SOCTHERM_THROT_LEVEL_LOW  1
#define TEGRA114_SOCTHERM_THROT_LEVEL_MED  2
#define TEGRA114_SOCTHERM_THROT_LEVEL_HIGH 3

#endif