xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*4882a593Smuzhiyun%YAML 1.2
3*4882a593Smuzhiyun---
4*4882a593Smuzhiyun$id: http://devicetree.org/schemas/thermal/brcm,avs-ro-thermal.yaml#
5*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml#
6*4882a593Smuzhiyun
7*4882a593Smuzhiyuntitle: Broadcom AVS ring oscillator thermal
8*4882a593Smuzhiyun
9*4882a593Smuzhiyunmaintainers:
10*4882a593Smuzhiyun  - Stefan Wahren <wahrenst@gmx.net>
11*4882a593Smuzhiyun
12*4882a593Smuzhiyundescription: |+
13*4882a593Smuzhiyun  The thermal node should be the child of a syscon node with the
14*4882a593Smuzhiyun  required property:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun  - compatible: Should be one of the following:
17*4882a593Smuzhiyun                "brcm,bcm2711-avs-monitor", "syscon", "simple-mfd"
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun  Refer to the the bindings described in
20*4882a593Smuzhiyun  Documentation/devicetree/bindings/mfd/syscon.yaml
21*4882a593Smuzhiyun
22*4882a593Smuzhiyunproperties:
23*4882a593Smuzhiyun  compatible:
24*4882a593Smuzhiyun    const: brcm,bcm2711-thermal
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun  # See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for details
27*4882a593Smuzhiyun  "#thermal-sensor-cells":
28*4882a593Smuzhiyun    const: 0
29*4882a593Smuzhiyun
30*4882a593Smuzhiyunrequired:
31*4882a593Smuzhiyun  - compatible
32*4882a593Smuzhiyun  - '#thermal-sensor-cells'
33*4882a593Smuzhiyun
34*4882a593SmuzhiyunadditionalProperties: false
35*4882a593Smuzhiyun
36*4882a593Smuzhiyunexamples:
37*4882a593Smuzhiyun  - |
38*4882a593Smuzhiyun        avs-monitor@7d5d2000 {
39*4882a593Smuzhiyun                compatible = "brcm,bcm2711-avs-monitor",
40*4882a593Smuzhiyun                             "syscon", "simple-mfd";
41*4882a593Smuzhiyun                reg = <0x7d5d2000 0xf00>;
42*4882a593Smuzhiyun
43*4882a593Smuzhiyun                thermal: thermal {
44*4882a593Smuzhiyun                        compatible = "brcm,bcm2711-thermal";
45*4882a593Smuzhiyun                        #thermal-sensor-cells = <0>;
46*4882a593Smuzhiyun                };
47*4882a593Smuzhiyun        };
48*4882a593Smuzhiyun...
49