2020-01-14 02:56:15 +08:00
|
|
|
# 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
|
2020-02-22 17:00:02 +08:00
|
|
|
Documentation/devicetree/bindings/mfd/syscon.yaml
|
2020-01-14 02:56:15 +08:00
|
|
|
|
|
|
|
properties:
|
|
|
|
compatible:
|
|
|
|
const: brcm,bcm2711-thermal
|
|
|
|
|
2020-07-20 19:43:08 +08:00
|
|
|
# See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for details
|
2020-01-17 02:41:17 +08:00
|
|
|
"#thermal-sensor-cells":
|
|
|
|
const: 0
|
2020-01-14 02:56:15 +08:00
|
|
|
|
|
|
|
required:
|
|
|
|
- compatible
|
2020-01-17 02:41:17 +08:00
|
|
|
- '#thermal-sensor-cells'
|
|
|
|
|
|
|
|
additionalProperties: false
|
2020-01-14 02:56:15 +08:00
|
|
|
|
|
|
|
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>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
...
|