1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/thermal/soc 4 $id: http://devicetree.org/schemas/thermal/socionext,uniphier-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Socionext UniPhier thermal monitor 7 title: Socionext UniPhier thermal monitor 8 8 9 description: | 9 description: | 10 This describes the devicetree bindings for t 10 This describes the devicetree bindings for thermal monitor supported by 11 PVT(Process, Voltage and Temperature) monito 11 PVT(Process, Voltage and Temperature) monitoring unit implemented on 12 Socionext UniPhier SoCs. 12 Socionext UniPhier SoCs. 13 13 14 maintainers: 14 maintainers: 15 - Kunihiko Hayashi <hayashi.kunihiko@socionex 15 - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 16 16 17 $ref: thermal-sensor.yaml# << 18 << 19 properties: 17 properties: 20 compatible: 18 compatible: 21 enum: 19 enum: 22 - socionext,uniphier-pxs2-thermal 20 - socionext,uniphier-pxs2-thermal 23 - socionext,uniphier-ld20-thermal 21 - socionext,uniphier-ld20-thermal 24 - socionext,uniphier-pxs3-thermal 22 - socionext,uniphier-pxs3-thermal 25 - socionext,uniphier-nx1-thermal 23 - socionext,uniphier-nx1-thermal 26 24 27 interrupts: 25 interrupts: 28 maxItems: 1 26 maxItems: 1 29 27 30 "#thermal-sensor-cells": 28 "#thermal-sensor-cells": 31 const: 0 29 const: 0 32 30 33 socionext,tmod-calibration: 31 socionext,tmod-calibration: 34 $ref: /schemas/types.yaml#/definitions/uin 32 $ref: /schemas/types.yaml#/definitions/uint32-array 35 maxItems: 2 33 maxItems: 2 36 description: 34 description: 37 A pair of calibrated values referred fro 35 A pair of calibrated values referred from PVT, in case that the values 38 aren't set on SoC, like a reference boar 36 aren't set on SoC, like a reference board. 39 37 40 required: 38 required: 41 - compatible 39 - compatible 42 - interrupts 40 - interrupts >> 41 - "#thermal-sensor-cells" 43 42 44 unevaluatedProperties: false !! 43 additionalProperties: false 45 44 46 examples: 45 examples: 47 - | 46 - | 48 // The UniPhier thermal should be a subnod 47 // The UniPhier thermal should be a subnode of a "syscon" compatible node. 49 48 50 #include <dt-bindings/interrupt-controller 49 #include <dt-bindings/interrupt-controller/arm-gic.h> 51 pvtctl: thermal-sensor { 50 pvtctl: thermal-sensor { 52 compatible = "socionext,uniphier-ld20- 51 compatible = "socionext,uniphier-ld20-thermal"; 53 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL 52 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; 54 #thermal-sensor-cells = <0>; 53 #thermal-sensor-cells = <0>; 55 }; 54 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.