1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/thermal/st,stih407-thermal.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: STMicroelectronics STi digital thermal sensor (DTS) 8 9maintainers: 10 - Patrice Chotard <patrice.chotard@foss.st.com> 11 - Lee Jones <lee@kernel.org> 12 13allOf: 14 - $ref: thermal-sensor.yaml 15 16properties: 17 compatible: 18 const: st,stih407-thermal 19 20 reg: 21 maxItems: 1 22 23 clocks: 24 maxItems: 1 25 26 clock-names: 27 items: 28 - const: thermal 29 30 interrupts: 31 description: 32 For thermal sensors for which no interrupt has been defined, a polling 33 delay of 1000ms will be used to read the temperature from device. 34 maxItems: 1 35 36 '#thermal-sensor-cells': 37 const: 0 38 39required: 40 - compatible 41 - reg 42 - clocks 43 - clock-names 44 45unevaluatedProperties: false 46 47examples: 48 - | 49 #include <dt-bindings/interrupt-controller/arm-gic.h> 50 temperature-sensor@91a0000 { 51 compatible = "st,stih407-thermal"; 52 reg = <0x91a0000 0x28>; 53 clock-names = "thermal"; 54 clocks = <&CLK_SYSIN>; 55 interrupts = <GIC_SPI 205 IRQ_TYPE_EDGE_RISING>; 56 #thermal-sensor-cells = <0>; 57 }; 58... 59