https://github.com/torvalds/linux
Raw File
Tip revision: af42d3466bdc8f39806b26f593604fdc54140bcb authored by Linus Torvalds on 17 November 2019, 22:47:30 UTC
Linux 5.4-rc8
Tip revision: af42d34
tegra124-soctherm.h
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * This header provides constants for binding nvidia,tegra124-soctherm.
 */

#ifndef _DT_BINDINGS_THERMAL_TEGRA124_SOCTHERM_H
#define _DT_BINDINGS_THERMAL_TEGRA124_SOCTHERM_H

#define TEGRA124_SOCTHERM_SENSOR_CPU 0
#define TEGRA124_SOCTHERM_SENSOR_MEM 1
#define TEGRA124_SOCTHERM_SENSOR_GPU 2
#define TEGRA124_SOCTHERM_SENSOR_PLLX 3
#define TEGRA124_SOCTHERM_SENSOR_NUM 4

#define TEGRA_SOCTHERM_THROT_LEVEL_NONE 0
#define TEGRA_SOCTHERM_THROT_LEVEL_LOW  1
#define TEGRA_SOCTHERM_THROT_LEVEL_MED  2
#define TEGRA_SOCTHERM_THROT_LEVEL_HIGH 3

#endif
back to top