The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/thermal/st,stm32-thermal.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/thermal/st,stm32-thermal.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: STMicroelectronics STM32 digital thermal sensor (DTS) binding
    8 
    9 maintainers:
   10   - Pascal Paillet <p.paillet@foss.st.com>
   11 
   12 properties:
   13   compatible:
   14     const: st,stm32-thermal
   15 
   16   reg:
   17     maxItems: 1
   18 
   19   interrupts:
   20     maxItems: 1
   21 
   22   clocks:
   23     maxItems: 1
   24 
   25   clock-names:
   26     items:
   27       - const: pclk
   28 
   29   "#thermal-sensor-cells":
   30     const: 0
   31 
   32 required:
   33   - "#thermal-sensor-cells"
   34   - compatible
   35   - reg
   36   - interrupts
   37   - clocks
   38   - clock-names
   39 
   40 additionalProperties: false
   41 
   42 examples:
   43   - |
   44     #include <dt-bindings/interrupt-controller/arm-gic.h>
   45     #include <dt-bindings/clock/stm32mp1-clks.h>
   46     dts: thermal@50028000 {
   47         compatible = "st,stm32-thermal";
   48         reg = <0x50028000 0x100>;
   49         clocks = <&rcc TMPSENS>;
   50         clock-names = "pclk";
   51         #thermal-sensor-cells = <0>;
   52         interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
   53     };
   54 
   55     thermal-zones {
   56         cpu_thermal: cpu-thermal {
   57             polling-delay-passive = <0>;
   58             polling-delay = <0>;
   59 
   60             thermal-sensors = <&dts>;
   61             trips {
   62                 cpu_alert1: cpu-alert1 {
   63                     temperature = <85000>;
   64                     hysteresis = <0>;
   65                     type = "passive";
   66                 };
   67 
   68                 cpu_crit: cpu-crit {
   69                     temperature = <120000>;
   70                     hysteresis = <0>;
   71                     type = "critical";
   72                 };
   73             };
   74 
   75             cooling-maps {
   76             };
   77         };
   78     };
   79 ...

Cache object: 80d430c7c0c5302ac63841f077d4a7a5


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.