59 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/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.yaml15 16properties:17 compatible:18 const: st,stih407-thermal19 20 reg:21 maxItems: 122 23 clocks:24 maxItems: 125 26 clock-names:27 items:28 - const: thermal29 30 interrupts:31 description:32 For thermal sensors for which no interrupt has been defined, a polling33 delay of 1000ms will be used to read the temperature from device.34 maxItems: 135 36 '#thermal-sensor-cells':37 const: 038 39required:40 - compatible41 - reg42 - clocks43 - clock-names44 45unevaluatedProperties: false46 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