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