brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · 8210b70 Raw
56 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 monitor8 9description: |10  This describes the devicetree bindings for thermal monitor supported by11  PVT(Process, Voltage and Temperature) monitoring unit implemented on12  Socionext UniPhier SoCs.13 14maintainers:15  - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>16 17$ref: thermal-sensor.yaml#18 19properties:20  compatible:21    enum:22      - socionext,uniphier-pxs2-thermal23      - socionext,uniphier-ld20-thermal24      - socionext,uniphier-pxs3-thermal25      - socionext,uniphier-nx1-thermal26 27  interrupts:28    maxItems: 129 30  "#thermal-sensor-cells":31    const: 032 33  socionext,tmod-calibration:34    $ref: /schemas/types.yaml#/definitions/uint32-array35    maxItems: 236    description:37      A pair of calibrated values referred from PVT, in case that the values38      aren't set on SoC, like a reference board.39 40required:41  - compatible42  - interrupts43 44unevaluatedProperties: false45 46examples:47  - |48    // The UniPhier thermal should be a subnode of a "syscon" compatible node.49 50    #include <dt-bindings/interrupt-controller/arm-gic.h>51    pvtctl: thermal-sensor {52        compatible = "socionext,uniphier-ld20-thermal";53        interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;54        #thermal-sensor-cells = <0>;55    };56