18c2ecf20Sopenharmony_ciBinding for Thermal Sensor driver for STMicroelectronics STi series of SoCs. 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired parameters: 48c2ecf20Sopenharmony_ci------------------- 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_cicompatible : Should be "st,stih407-thermal" 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciclock-names : Should be "thermal". 98c2ecf20Sopenharmony_ci See: Documentation/devicetree/bindings/resource-names.txt 108c2ecf20Sopenharmony_ciclocks : Phandle of the clock used by the thermal sensor. 118c2ecf20Sopenharmony_ci See: Documentation/devicetree/bindings/clock/clock-bindings.txt 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciOptional parameters: 148c2ecf20Sopenharmony_ci------------------- 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_cireg : For non-sysconf based sensors, this should be the physical base 178c2ecf20Sopenharmony_ci address and length of the sensor's registers. 188c2ecf20Sopenharmony_ciinterrupts : Standard way to define interrupt number. 198c2ecf20Sopenharmony_ci NB: For thermal sensor's for which no interrupt has been 208c2ecf20Sopenharmony_ci defined, a polling delay of 1000ms will be used to read the 218c2ecf20Sopenharmony_ci temperature from device. 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ciExample: 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci temp0@91a0000 { 268c2ecf20Sopenharmony_ci compatible = "st,stih407-thermal"; 278c2ecf20Sopenharmony_ci reg = <0x91a0000 0x28>; 288c2ecf20Sopenharmony_ci clock-names = "thermal"; 298c2ecf20Sopenharmony_ci clocks = <&CLK_SYSIN>; 308c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 205 IRQ_TYPE_EDGE_RISING>; 318c2ecf20Sopenharmony_ci st,passive_cooling_temp = <110>; 328c2ecf20Sopenharmony_ci }; 33