Skip to content

Commit 031c295

Browse files
Keerthyjdlezcano
authored andcommitted
dt-bindings: thermal: k3-j72xx: Add VTM bindings documentation
Add VTM bindings documentation. In the Voltage Thermal Management Module(VTM), K3 J72XX supplies a voltage reference and a temperature sensor feature that are gathered in the band gap voltage and temperature sensor (VBGAPTS) module. The band gap provides current and voltage reference for its internal circuits and other analog IP blocks. The analog-to-digital converter (ADC) produces an output value that is proportional to the silicon temperature. Signed-off-by: Keerthy <j-keerthy@ti.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220517172920.10857-2-j-keerthy@ti.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
1 parent 09700c5 commit 031c295

1 file changed

Lines changed: 63 additions & 0 deletions

File tree

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/thermal/ti,j72xx-thermal.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Texas Instruments J72XX VTM (DTS) binding
8+
9+
maintainers:
10+
- Keerthy <j-keerthy@ti.com>
11+
12+
properties:
13+
compatible:
14+
enum:
15+
- ti,j721e-vtm
16+
- ti,j7200-vtm
17+
18+
reg:
19+
items:
20+
- description: VTM cfg1 register space
21+
- description: VTM cfg2 register space
22+
- description: VTM efuse register space
23+
24+
power-domains:
25+
maxItems: 1
26+
27+
"#thermal-sensor-cells":
28+
const: 1
29+
30+
required:
31+
- compatible
32+
- reg
33+
- power-domains
34+
- "#thermal-sensor-cells"
35+
36+
additionalProperties: false
37+
38+
examples:
39+
- |
40+
#include <dt-bindings/soc/ti,sci_pm_domain.h>
41+
wkup_vtm0: thermal-sensor@42040000 {
42+
compatible = "ti,j721e-vtm";
43+
reg = <0x42040000 0x350>,
44+
<0x42050000 0x350>,
45+
<0x43000300 0x10>;
46+
power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>;
47+
#thermal-sensor-cells = <1>;
48+
};
49+
50+
mpu_thermal: mpu-thermal {
51+
polling-delay-passive = <250>; /* milliseconds */
52+
polling-delay = <500>; /* milliseconds */
53+
thermal-sensors = <&wkup_vtm0 0>;
54+
55+
trips {
56+
mpu_crit: mpu-crit {
57+
temperature = <125000>; /* milliCelsius */
58+
hysteresis = <2000>; /* milliCelsius */
59+
type = "critical";
60+
};
61+
};
62+
};
63+
...

0 commit comments

Comments
 (0)