cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

socionext,uniphier-thermal.yaml (1551B)


      1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
      2%YAML 1.2
      3---
      4$id: http://devicetree.org/schemas/thermal/socionext,uniphier-thermal.yaml#
      5$schema: http://devicetree.org/meta-schemas/core.yaml#
      6
      7title: Socionext UniPhier thermal monitor
      8
      9description: |
     10  This describes the devicetree bindings for thermal monitor supported by
     11  PVT(Process, Voltage and Temperature) monitoring unit implemented on
     12  Socionext UniPhier SoCs.
     13
     14maintainers:
     15  - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
     16
     17properties:
     18  compatible:
     19    enum:
     20      - socionext,uniphier-pxs2-thermal
     21      - socionext,uniphier-ld20-thermal
     22      - socionext,uniphier-pxs3-thermal
     23      - socionext,uniphier-nx1-thermal
     24
     25  interrupts:
     26    maxItems: 1
     27
     28  "#thermal-sensor-cells":
     29    const: 0
     30
     31  socionext,tmod-calibration:
     32    $ref: /schemas/types.yaml#/definitions/uint32-array
     33    maxItems: 2
     34    description:
     35      A pair of calibrated values referred from PVT, in case that the values
     36      aren't set on SoC, like a reference board.
     37
     38required:
     39  - compatible
     40  - interrupts
     41  - "#thermal-sensor-cells"
     42
     43additionalProperties: false
     44
     45examples:
     46  - |
     47    // The UniPhier thermal should be a subnode of a "syscon" compatible node.
     48
     49    sysctrl@61840000 {
     50        compatible = "socionext,uniphier-ld20-sysctrl",
     51                     "simple-mfd", "syscon";
     52        reg = <0x61840000 0x10000>;
     53
     54        pvtctl: thermal {
     55            compatible = "socionext,uniphier-ld20-thermal";
     56            interrupts = <0 3 1>;
     57            #thermal-sensor-cells = <0>;
     58        };
     59    };