dt-bindings: Update QorIQ TMU thermal bindings
authorJia Hongtao <hongtao.jia@nxp.com>
Wed, 4 Jan 2017 08:57:49 +0000 (16:57 +0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 22 Feb 2017 07:29:30 +0000 (15:29 +0800)
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>
Documentation/devicetree/bindings/thermal/qoriq-thermal.txt

index 66223d561972c47a30c469230177ea8ea5bb59e9..20ca4ef9d77609a0bc0432256c70694e0ac1cbac 100644 (file)
@@ -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>;
 };