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