Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: c5eb0a61238dd6faf37f58c9ce61c9980aaffd7a authored by Linus Torvalds on 08 May 2022, 20:54:17 UTC
Linux 5.18-rc6
Tip revision: c5eb0a6
brcm,avs-tmon.yaml
# 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>;
     };
back to top