Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Binding for Thermal Sensor driver for STMicroelectronics STi series of SoCs. |
| 2 | |
| 3 | Required parameters: |
| 4 | ------------------- |
| 5 | |
| 6 | compatible : Should be "st,stih407-thermal" |
| 7 | |
| 8 | clock-names : Should be "thermal". |
| 9 | See: Documentation/devicetree/bindings/resource-names.txt |
| 10 | clocks : Phandle of the clock used by the thermal sensor. |
| 11 | See: Documentation/devicetree/bindings/clock/clock-bindings.txt |
| 12 | |
| 13 | Optional parameters: |
| 14 | ------------------- |
| 15 | |
| 16 | reg : For non-sysconf based sensors, this should be the physical base |
| 17 | address and length of the sensor's registers. |
| 18 | interrupts : 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 | |
| 23 | Example: |
| 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 | }; |