aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2017-10-19 10:30:59 -0400
committerThierry Reding <treding@nvidia.com>2017-10-19 10:30:59 -0400
commit5f5f4e1bf94101dc66e4c598b939877956e2181e (patch)
treece4bf06f90b3bfc0ca938e3bf26abe7d8e5984e3
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff)
parent3e09b155d58e44e33a699650128f8c6c833cb320 (diff)
Merge branch 'for-4.15/dt-bindings' into for-4.15/thermal
-rw-r--r--Documentation/devicetree/bindings/thermal/nvidia,tegra186-bpmp-thermal.txt32
-rw-r--r--include/dt-bindings/clock/tegra210-car.h1
-rw-r--r--include/dt-bindings/thermal/tegra186-bpmp-thermal.h14
3 files changed, 47 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/thermal/nvidia,tegra186-bpmp-thermal.txt b/Documentation/devicetree/bindings/thermal/nvidia,tegra186-bpmp-thermal.txt
new file mode 100644
index 000000000000..276387dd6815
--- /dev/null
+++ b/Documentation/devicetree/bindings/thermal/nvidia,tegra186-bpmp-thermal.txt
@@ -0,0 +1,32 @@
1NVIDIA Tegra186 BPMP thermal sensor
2
3In Tegra186, the BPMP (Boot and Power Management Processor) implements an
4interface that is used to read system temperatures, including CPU cluster
5and GPU temperatures. This binding describes the thermal sensor that is
6exposed by BPMP.
7
8The BPMP thermal node must be located directly inside the main BPMP node. See
9../firmware/nvidia,tegra186-bpmp.txt for details of the BPMP binding.
10
11This node represents a thermal sensor. See thermal.txt for details of the
12core thermal binding.
13
14Required properties:
15- compatible:
16 Array of strings.
17 One of:
18 - "nvidia,tegra186-bpmp-thermal".
19- #thermal-sensor-cells: Cell for sensor index.
20 Single-cell integer.
21 Must be <1>.
22
23Example:
24
25bpmp {
26 ...
27
28 bpmp_thermal: thermal {
29 compatible = "nvidia,tegra186-bpmp-thermal";
30 #thermal-sensor-cells = <1>;
31 };
32};
diff --git a/include/dt-bindings/clock/tegra210-car.h b/include/dt-bindings/clock/tegra210-car.h
index 46689cd3750b..43c4a8407333 100644
--- a/include/dt-bindings/clock/tegra210-car.h
+++ b/include/dt-bindings/clock/tegra210-car.h
@@ -309,6 +309,7 @@
309#define TEGRA210_CLK_BLINK 280 309#define TEGRA210_CLK_BLINK 280
310/* 281 */ 310/* 281 */
311#define TEGRA210_CLK_SOR1_SRC 282 311#define TEGRA210_CLK_SOR1_SRC 282
312#define TEGRA210_CLK_SOR1_OUT 282
312/* 283 */ 313/* 283 */
313#define TEGRA210_CLK_XUSB_HOST_SRC 284 314#define TEGRA210_CLK_XUSB_HOST_SRC 284
314#define TEGRA210_CLK_XUSB_FALCON_SRC 285 315#define TEGRA210_CLK_XUSB_FALCON_SRC 285
diff --git a/include/dt-bindings/thermal/tegra186-bpmp-thermal.h b/include/dt-bindings/thermal/tegra186-bpmp-thermal.h
new file mode 100644
index 000000000000..a96b8fa31aab
--- /dev/null
+++ b/include/dt-bindings/thermal/tegra186-bpmp-thermal.h
@@ -0,0 +1,14 @@
1/*
2 * This header provides constants for binding nvidia,tegra186-bpmp-thermal.
3 */
4
5#ifndef _DT_BINDINGS_THERMAL_TEGRA186_BPMP_THERMAL_H
6#define _DT_BINDINGS_THERMAL_TEGRA186_BPMP_THERMAL_H
7
8#define TEGRA186_BPMP_THERMAL_ZONE_CPU 2
9#define TEGRA186_BPMP_THERMAL_ZONE_GPU 3
10#define TEGRA186_BPMP_THERMAL_ZONE_AUX 4
11#define TEGRA186_BPMP_THERMAL_ZONE_PLLX 5
12#define TEGRA186_BPMP_THERMAL_ZONE_AO 6
13
14#endif