Skip to content

Commit ee31ff3

Browse files
lategoodbyedlezcano
authored andcommitted
dt-bindings: Add Broadcom AVS RO thermal
Since the BCM2711 doesn't have a AVS TMON block, the thermal information must be retrieved from the AVS ring oscillator block. This block is part of the AVS monitor which contains a bunch of raw sensors. Signed-off-by: Stefan Wahren <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Nicolas Saenz Julienne <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 85f0ad2 commit ee31ff3

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/thermal/brcm,avs-ro-thermal.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Broadcom AVS ring oscillator thermal
8+
9+
maintainers:
10+
- Stefan Wahren <[email protected]>
11+
12+
description: |+
13+
The thermal node should be the child of a syscon node with the
14+
required property:
15+
16+
- compatible: Should be one of the following:
17+
"brcm,bcm2711-avs-monitor", "syscon", "simple-mfd"
18+
19+
Refer to the the bindings described in
20+
Documentation/devicetree/bindings/mfd/syscon.txt
21+
22+
properties:
23+
compatible:
24+
const: brcm,bcm2711-thermal
25+
26+
reg:
27+
maxItems: 1
28+
29+
required:
30+
- compatible
31+
- reg
32+
33+
examples:
34+
- |
35+
avs-monitor@7d5d2000 {
36+
compatible = "brcm,bcm2711-avs-monitor",
37+
"syscon", "simple-mfd";
38+
reg = <0x7d5d2000 0xf00>;
39+
40+
thermal: thermal {
41+
compatible = "brcm,bcm2711-thermal";
42+
#thermal-sensor-cells = <0>;
43+
};
44+
};
45+
...

0 commit comments

Comments
 (0)