Skip to content

Commit 10e1dcb

Browse files
clamor-sdlezcano
authored andcommitted
dt-bindings: thermal: add Tegra114 soctherm header
This adds header for the Tegra114 SOCTHERM device tree node. Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com> Link: https://lore.kernel.org/r/20250828055104.8073-5-clamor95@gmail.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
1 parent 48fc33b commit 10e1dcb

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2+
/*
3+
* This header provides constants for binding nvidia,tegra114-soctherm.
4+
*/
5+
6+
#ifndef _DT_BINDINGS_THERMAL_TEGRA114_SOCTHERM_H
7+
#define _DT_BINDINGS_THERMAL_TEGRA114_SOCTHERM_H
8+
9+
#define TEGRA114_SOCTHERM_SENSOR_CPU 0
10+
#define TEGRA114_SOCTHERM_SENSOR_MEM 1
11+
#define TEGRA114_SOCTHERM_SENSOR_GPU 2
12+
#define TEGRA114_SOCTHERM_SENSOR_PLLX 3
13+
14+
#define TEGRA114_SOCTHERM_THROT_LEVEL_NONE 0
15+
#define TEGRA114_SOCTHERM_THROT_LEVEL_LOW 1
16+
#define TEGRA114_SOCTHERM_THROT_LEVEL_MED 2
17+
#define TEGRA114_SOCTHERM_THROT_LEVEL_HIGH 3
18+
19+
#endif

0 commit comments

Comments
 (0)