summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml
blob: 1ab5070c751d5fc24cda59c832a4d80b3c483725 (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
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/thermal/brcm,avs-ro-thermal.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Broadcom AVS ring oscillator thermal

maintainers:
  - Stefan Wahren <wahrenst@gmx.net>

description: |+
  The thermal node should be the child of a syscon node with the
  required property:

  - compatible: Should be one of the following:
                "brcm,bcm2711-avs-monitor", "syscon", "simple-mfd"

  Refer to the the bindings described in
  Documentation/devicetree/bindings/mfd/syscon.yaml

properties:
  compatible:
    const: brcm,bcm2711-thermal

  # See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for details
  "#thermal-sensor-cells":
    const: 0

required:
  - compatible
  - '#thermal-sensor-cells'

additionalProperties: false

examples:
  - |
        avs-monitor@7d5d2000 {
                compatible = "brcm,bcm2711-avs-monitor",
                             "syscon", "simple-mfd";
                reg = <0x7d5d2000 0xf00>;

                thermal: thermal {
                        compatible = "brcm,bcm2711-thermal";
                        #thermal-sensor-cells = <0>;
                };
        };
...