aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/thermal/tango-thermal.txt
diff options
context:
space:
mode:
authorMarc Gonzalez <marc_gonzalez@sigmadesigns.com>2016-04-19 16:21:16 +0200
committerEduardo Valentin <edubezval@gmail.com>2016-05-17 07:28:30 -0700
commit0b58c08b593d082858e74503bdf553ea01f9f15a (patch)
treef94f22fa151b5a0e7069b384fdc82b99d62d73b0 /Documentation/devicetree/bindings/thermal/tango-thermal.txt
parentthermal: hisilicon: fix IRQ imbalance enabling (diff)
downloadlinux-dev-0b58c08b593d082858e74503bdf553ea01f9f15a.tar.xz
linux-dev-0b58c08b593d082858e74503bdf553ea01f9f15a.zip
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/devicetree/bindings/thermal/tango-thermal.txt')
-rw-r--r--Documentation/devicetree/bindings/thermal/tango-thermal.txt17
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 @@
+* Tango Thermal
+
+The SMP8758 SoC includes 3 instances of this temperature sensor
+(in the CPU, video decoder, and PCIe controller).
+
+Required properties:
+- #thermal-sensor-cells: Should be 0 (see thermal.txt)
+- compatible: "sigma,smp8758-thermal"
+- reg: Address range of the thermal registers
+
+Example:
+
+ cpu_temp: thermal@920100 {
+ #thermal-sensor-cells = <0>;
+ compatible = "sigma,smp8758-thermal";
+ reg = <0x920100 12>;
+ };