summaryrefslogtreecommitdiffstats
path: root/doc/device-tree-bindings
diff options
context:
space:
mode:
authorFaiz Abbas <faiz_abbas@ti.com>2017-11-14 16:12:31 +0530
committerTom Rini <trini@konsulko.com>2017-11-21 08:03:38 -0500
commit8502f9f6d7781b5f461d7e3f7c958a45f64fdfa1 (patch)
treeff43f81e43bc6b1992117d7d7e0c2e9ee143b455 /doc/device-tree-bindings
parent5ad1fec6edcfa7d8b374571cc3c40da7dde8898b (diff)
downloadu-boot-8502f9f6d7781b5f461d7e3f7c958a45f64fdfa1.tar.gz
u-boot-8502f9f6d7781b5f461d7e3f7c958a45f64fdfa1.tar.xz
u-boot-8502f9f6d7781b5f461d7e3f7c958a45f64fdfa1.zip
thermal: ti-bandgap: Add support for temperature sensor
The dra7xx series of SOCs contain a temperature sensor and an associated analog-to-digital converter (ADC) which produces an output which is proportional to the SOC temperature. Add support for this temperature sensor. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/device-tree-bindings')
-rw-r--r--doc/device-tree-bindings/thermal/ti_soc_thermal.txt35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/thermal/ti_soc_thermal.txt b/doc/device-tree-bindings/thermal/ti_soc_thermal.txt
new file mode 100644
index 0000000000..b4e88c2d1e
--- /dev/null
+++ b/doc/device-tree-bindings/thermal/ti_soc_thermal.txt
@@ -0,0 +1,35 @@
+* Texas Instrument dra7xx SCM bandgap bindings
+
+In the System Control Module, SoC supplies a voltage reference
+and a temperature sensor feature that are gathered in the band
+gap voltage and temperature sensor (VBGAPTS) module. The band
+gap provides current and voltage reference for its internal
+circuits and other analog IP blocks. The analog-to-digital
+converter (ADC) produces an output value that is proportional
+to the silicon temperature.
+
+Required properties:
+- compatible : Should be:
+ - "ti,dra752-bandgap"
+- interrupts : this entry should indicate which interrupt line
+the talert signal is routed to;
+- regs : this is specific to each bandgap version, because
+the mapping may change from soc to soc, apart from depending
+on available features.
+
+Optional:
+- gpios : this entry should be used to inform which GPIO
+line the tshut signal is routed to. The informed GPIO will
+be treated as an IRQ;
+
+Example:
+bandgap {
+ reg = <0x4a0021e0 0xc
+ 0x4a00232c 0xc
+ 0x4a002380 0x2c
+ 0x4a0023C0 0x3c
+ 0x4a002564 0x8
+ 0x4a002574 0x50>;
+ compatible = "ti,dra752-bandgap";
+ interrupts = <0 126 4>; /* talert */
+};