Skip to content

Commit

Permalink
dt-bindings: thermal: tegra-bpmp: Add Tegra194 support
Browse files Browse the repository at this point in the history
The thermal controller implementation on Tegra194 is very similar to the
implementation on Tegra186. Add a compatible string for the new
generation.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
  • Loading branch information
thierryreding authored and Eduardo Valentin committed Jan 2, 2019
1 parent 925b383 commit 199bc54
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ Required properties:
- compatible:
Array of strings.
One of:
- "nvidia,tegra186-bpmp-thermal".
- "nvidia,tegra186-bpmp-thermal"
- "nvidia,tegra194-bpmp-thermal"
- #thermal-sensor-cells: Cell for sensor index.
Single-cell integer.
Must be <1>.
Expand Down
15 changes: 15 additions & 0 deletions include/dt-bindings/thermal/tegra194-bpmp-thermal.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* This header provides constants for binding nvidia,tegra194-bpmp-thermal.
*/

#ifndef _DT_BINDINGS_THERMAL_TEGRA194_BPMP_THERMAL_H
#define _DT_BINDINGS_THERMAL_TEGRA194_BPMP_THERMAL_H

#define TEGRA194_BPMP_THERMAL_ZONE_CPU 2
#define TEGRA194_BPMP_THERMAL_ZONE_GPU 3
#define TEGRA194_BPMP_THERMAL_ZONE_AUX 4
#define TEGRA194_BPMP_THERMAL_ZONE_PLLX 5
#define TEGRA194_BPMP_THERMAL_ZONE_AO 6
#define TEGRA194_BPMP_THERMAL_ZONE_TJ_MAX 7

#endif

0 comments on commit 199bc54

Please sign in to comment.