mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-28 09:22:08 +00:00

Preferred indentation for DTS examples in the bindings is 4-space. It is also preferred not to have redundant/unused labels. No functional change Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240705-dt-bindings-thermal-allof-v1-22-554061b52fbc@linaro.org Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
# 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 bindings described in
|
|
Documentation/devicetree/bindings/mfd/syscon.yaml
|
|
|
|
$ref: thermal-sensor.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
const: brcm,bcm2711-thermal
|
|
|
|
"#thermal-sensor-cells":
|
|
const: 0
|
|
|
|
required:
|
|
- compatible
|
|
|
|
unevaluatedProperties: 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>;
|
|
};
|
|
};
|
|
...
|