diff options
author | Thierry Reding <treding@nvidia.com> | 2018-11-23 13:18:37 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2018-11-27 18:41:23 +0100 |
commit | 34e8b809bf136c0554ba1131c6671ae6339543e0 (patch) | |
tree | 8839493b03f0ad36f55a386b81c956979039d6e4 | |
parent | 94ba4a5f16710eaa3a675761a7900bb9f79715db (diff) | |
download | linux-34e8b809bf136c0554ba1131c6671ae6339543e0.tar.gz linux-34e8b809bf136c0554ba1131c6671ae6339543e0.tar.bz2 linux-34e8b809bf136c0554ba1131c6671ae6339543e0.zip |
dt-bindings: thermal: tegra-bpmp: Add Tegra194 support
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>
-rw-r--r-- | Documentation/devicetree/bindings/thermal/nvidia,tegra186-bpmp-thermal.txt | 3 | ||||
-rw-r--r-- | include/dt-bindings/thermal/tegra194-bpmp-thermal.h | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/thermal/nvidia,tegra186-bpmp-thermal.txt b/Documentation/devicetree/bindings/thermal/nvidia,tegra186-bpmp-thermal.txt index 276387dd6815..e17c07be270b 100644 --- a/Documentation/devicetree/bindings/thermal/nvidia,tegra186-bpmp-thermal.txt +++ b/Documentation/devicetree/bindings/thermal/nvidia,tegra186-bpmp-thermal.txt @@ -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>. diff --git a/include/dt-bindings/thermal/tegra194-bpmp-thermal.h b/include/dt-bindings/thermal/tegra194-bpmp-thermal.h new file mode 100644 index 000000000000..aa7fb08135ca --- /dev/null +++ b/include/dt-bindings/thermal/tegra194-bpmp-thermal.h @@ -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 |