Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[cris-mirror.git] / Documentation / devicetree / bindings / thermal / hisilicon-thermal.txt
blobcef716a236f1a94179d5c61bde45c79df0890e8f
1 * Temperature Sensor on hisilicon SoCs
3 ** Required properties :
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.
14 Example :
16 for Hi6220:
17         tsensor: tsensor@0,f7030700 {
18                 compatible = "hisilicon,tsensor";
19                 reg = <0x0 0xf7030700 0x0 0x1000>;
20                 interrupts = <0 7 0x4>;
21                 clocks = <&sys_ctrl HI6220_TSENSOR_CLK>;
22                 clock-names = "thermal_clk";
23                 #thermal-sensor-cells = <1>;
24         }
26 for Hi3660:
27         tsensor: tsensor@fff30000 {
28                 compatible = "hisilicon,hi3660-tsensor";
29                 reg = <0x0 0xfff30000 0x0 0x1000>;
30                 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
31                 #thermal-sensor-cells = <1>;
32         };