GNU Linux-libre 4.14.266-gnu1
[releases.git] / Documentation / devicetree / bindings / thermal / hisilicon-thermal.txt
1 * Temperature Sensor on hisilicon SoCs
2
3 ** Required properties :
4
5 - compatible: "hisilicon,tsensor".
6 - reg: physical base address of thermal sensor and length of memory mapped
7   region.
8 - interrupt: The interrupt number to the cpu. Defines the interrupt used
9   by /SOCTHERM/tsensor.
10 - clock-names: Input clock name, should be 'thermal_clk'.
11 - clocks: phandles for clock specified in "clock-names" property.
12 - #thermal-sensor-cells: Should be 1. See ./thermal.txt for a description.
13
14 Example :
15
16         tsensor: tsensor@0,f7030700 {
17                 compatible = "hisilicon,tsensor";
18                 reg = <0x0 0xf7030700 0x0 0x1000>;
19                 interrupts = <0 7 0x4>;
20                 clocks = <&sys_ctrl HI6220_TSENSOR_CLK>;
21                 clock-names = "thermal_clk";
22                 #thermal-sensor-cells = <1>;
23         }