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# 17 $ref: thermal-sensor.yaml# 18 18 19 properties: 19 properties: 20 compatible: 20 compatible: 21 enum: 21 enum: 22 - socionext,uniphier-pxs2-thermal 22 - socionext,uniphier-pxs2-thermal 23 - socionext,uniphier-ld20-thermal 23 - socionext,uniphier-ld20-thermal 24 - socionext,uniphier-pxs3-thermal 24 - socionext,uniphier-pxs3-thermal 25 - socionext,uniphier-nx1-thermal 25 - socionext,uniphier-nx1-thermal 26 26 27 interrupts: 27 interrupts: 28 maxItems: 1 28 maxItems: 1 29 29 30 "#thermal-sensor-cells": 30 "#thermal-sensor-cells": 31 const: 0 31 const: 0 32 32 33 socionext,tmod-calibration: 33 socionext,tmod-calibration: 34 $ref: /schemas/types.yaml#/definitions/uin 34 $ref: /schemas/types.yaml#/definitions/uint32-array 35 maxItems: 2 35 maxItems: 2 36 description: 36 description: 37 A pair of calibrated values referred fro 37 A pair of calibrated values referred from PVT, in case that the values 38 aren't set on SoC, like a reference boar 38 aren't set on SoC, like a reference board. 39 39 40 required: 40 required: 41 - compatible 41 - compatible 42 - interrupts 42 - interrupts 43 43 44 unevaluatedProperties: false 44 unevaluatedProperties: false 45 45 46 examples: 46 examples: 47 - | 47 - | 48 // The UniPhier thermal should be a subnod 48 // The UniPhier thermal should be a subnode of a "syscon" compatible node. 49 49 50 #include <dt-bindings/interrupt-controller 50 #include <dt-bindings/interrupt-controller/arm-gic.h> 51 pvtctl: thermal-sensor { 51 pvtctl: thermal-sensor { 52 compatible = "socionext,uniphier-ld20- 52 compatible = "socionext,uniphier-ld20-thermal"; 53 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL 53 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; 54 #thermal-sensor-cells = <0>; 54 #thermal-sensor-cells = <0>; 55 }; 55 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.