Documentation / devicetree / bindings / thermal / brcm,ns-thermal.yaml


Based on kernel version 6.8. Page generated on 2024-03-11 21:26 EST.

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 49 50 51 52 53 54 55 56 57 58 59 60
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/thermal/brcm,ns-thermal.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Broadcom Northstar Thermal

maintainers:
  - Rafał Miłecki <rafal@milecki.pl>

description:
  Thermal sensor that is part of Northstar's DMU (Device Management Unit).

allOf:
  - $ref: thermal-sensor.yaml#

properties:
  compatible:
    const: brcm,ns-thermal

  reg:
    description: PVTMON registers range
    maxItems: 1
 
  "#thermal-sensor-cells":
    const: 0

unevaluatedProperties: false

required:
  - reg

examples:
  - |
    thermal: thermal@1800c2c0 {
        compatible = "brcm,ns-thermal";
        reg = <0x1800c2c0 0x10>;
        #thermal-sensor-cells = <0>;
    };
 
    thermal-zones {
        cpu-thermal {
            polling-delay-passive = <0>;
            polling-delay = <1000>;
            coefficients = <(-556) 418000>;
            thermal-sensors = <&thermal>;
 
            trips {
                cpu-crit {
                    temperature = <125000>;
                    hysteresis = <0>;
                    type = "critical";
                };
            };
 
            cooling-maps {
            };
        };
    };