diff options
author | Marc Gonzalez <marc_gonzalez@sigmadesigns.com> | 2016-04-19 10:21:16 -0400 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2016-05-17 10:28:30 -0400 |
commit | 0b58c08b593d082858e74503bdf553ea01f9f15a (patch) | |
tree | f94f22fa151b5a0e7069b384fdc82b99d62d73b0 /Documentation | |
parent | 469ace07c29310b1401316e5e910c157c7544af3 (diff) |
thermal: add temperature sensor support for tango SoC
The Tango thermal driver provides support for the primitive temperature
sensor embedded in Tango chips since the SMP8758.
This sensor only generates a 1-bit signal to indicate whether the die
temperature exceeds a programmable threshold.
Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/thermal/tango-thermal.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/thermal/tango-thermal.txt b/Documentation/devicetree/bindings/thermal/tango-thermal.txt new file mode 100644 index 000000000000..212198d4b937 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/tango-thermal.txt | |||
@@ -0,0 +1,17 @@ | |||
1 | * Tango Thermal | ||
2 | |||
3 | The SMP8758 SoC includes 3 instances of this temperature sensor | ||
4 | (in the CPU, video decoder, and PCIe controller). | ||
5 | |||
6 | Required properties: | ||
7 | - #thermal-sensor-cells: Should be 0 (see thermal.txt) | ||
8 | - compatible: "sigma,smp8758-thermal" | ||
9 | - reg: Address range of the thermal registers | ||
10 | |||
11 | Example: | ||
12 | |||
13 | cpu_temp: thermal@920100 { | ||
14 | #thermal-sensor-cells = <0>; | ||
15 | compatible = "sigma,smp8758-thermal"; | ||
16 | reg = <0x920100 12>; | ||
17 | }; | ||