summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt
diff options
context:
space:
mode:
authorJia Hongtao <hongtao.jia@nxp.com>2017-01-04 11:57:49 +0300
committerZhang Rui <rui.zhang@intel.com>2017-02-22 10:29:30 +0300
commit0d4b7bf1202466aa51c6199a38b4fda06efa51c8 (patch)
tree4b18e1984705457d6dfe464bc5b10918cfef0ef3 /Documentation/devicetree/bindings/thermal/qoriq-thermal.txt
parentef1d75263fdafc3ff4018512fce8607ae61d7985 (diff)
downloadlinux-0d4b7bf1202466aa51c6199a38b4fda06efa51c8.tar.xz
dt-bindings: Update QorIQ TMU thermal bindings
For different types of SoC the sensor id and endianness may vary. "#thermal-sensor-cells" is used to provide sensor id information. "little-endian" property is to tell the endianness of TMU. Signed-off-by: Jia Hongtao <hongtao.jia@nxp.com> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'Documentation/devicetree/bindings/thermal/qoriq-thermal.txt')
-rw-r--r--Documentation/devicetree/bindings/thermal/qoriq-thermal.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt b/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt
index 66223d561972..20ca4ef9d776 100644
--- a/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt
+++ b/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt
@@ -17,6 +17,12 @@ Required properties:
calibration data, as specified by the SoC reference manual.
The first cell of each pair is the value to be written to TTCFGR,
and the second is the value to be written to TSCFGR.
+- #thermal-sensor-cells : Must be 1. The sensor specifier is the monitoring
+ site ID, and represents the "n" in TRITSRn and TRATSRn.
+
+Optional property:
+- little-endian : If present, the TMU registers are little endian. If absent,
+ the default is big endian.
Example:
@@ -60,4 +66,5 @@ tmu@f0000 {
0x00030000 0x00000012
0x00030001 0x0000001d>;
+ #thermal-sensor-cells = <1>;
};