1*c66ec88fSEmmanuel VadotBinding for Thermal Sensor driver for STMicroelectronics STi series of SoCs. 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired parameters: 4*c66ec88fSEmmanuel Vadot------------------- 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel Vadotcompatible : Should be "st,stih407-thermal" 7*c66ec88fSEmmanuel Vadot 8*c66ec88fSEmmanuel Vadotclock-names : Should be "thermal". 9*c66ec88fSEmmanuel Vadot See: Documentation/devicetree/bindings/resource-names.txt 10*c66ec88fSEmmanuel Vadotclocks : Phandle of the clock used by the thermal sensor. 11*c66ec88fSEmmanuel Vadot See: Documentation/devicetree/bindings/clock/clock-bindings.txt 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel VadotOptional parameters: 14*c66ec88fSEmmanuel Vadot------------------- 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel Vadotreg : For non-sysconf based sensors, this should be the physical base 17*c66ec88fSEmmanuel Vadot address and length of the sensor's registers. 18*c66ec88fSEmmanuel Vadotinterrupts : Standard way to define interrupt number. 19*c66ec88fSEmmanuel Vadot NB: For thermal sensor's for which no interrupt has been 20*c66ec88fSEmmanuel Vadot defined, a polling delay of 1000ms will be used to read the 21*c66ec88fSEmmanuel Vadot temperature from device. 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel VadotExample: 24*c66ec88fSEmmanuel Vadot 25*c66ec88fSEmmanuel Vadot temp0@91a0000 { 26*c66ec88fSEmmanuel Vadot compatible = "st,stih407-thermal"; 27*c66ec88fSEmmanuel Vadot reg = <0x91a0000 0x28>; 28*c66ec88fSEmmanuel Vadot clock-names = "thermal"; 29*c66ec88fSEmmanuel Vadot clocks = <&CLK_SYSIN>; 30*c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 205 IRQ_TYPE_EDGE_RISING>; 31*c66ec88fSEmmanuel Vadot st,passive_cooling_temp = <110>; 32*c66ec88fSEmmanuel Vadot }; 33