summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml
blob: 267a0f4235041947ad540831548db63205223d21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/thermal/brcm,avs-tmon.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Broadcom STB thermal management

description: Thermal management core, provided by the AVS TMON hardware block.

maintainers:
  - Florian Fainelli <f.fainelli@gmail.com>

allOf:
  - $ref: thermal-sensor.yaml#

properties:
  compatible:
    items:
      - enum:
          - brcm,avs-tmon-bcm7216
          - brcm,avs-tmon-bcm7445
      - const: brcm,avs-tmon

  reg:
    maxItems: 1
    description: >
      Address range for the AVS TMON registers

  interrupts:
    maxItems: 1

  interrupt-names:
    items:
      - const: tmon

  "#thermal-sensor-cells":
    const: 0

additionalProperties: false

required:
  - compatible
  - reg
  - "#thermal-sensor-cells"

examples:
  - |
     thermal@f04d1500 {
          compatible = "brcm,avs-tmon-bcm7445", "brcm,avs-tmon";
          reg = <0xf04d1500 0x28>;
          interrupts = <0x6>;
          interrupt-names = "tmon";
          interrupt-parent = <&avs_host_l2_intc>;
          #thermal-sensor-cells = <0>;
     };