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