devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jia Hongtao <hongtao.jia@nxp.com>
To: oss@buserror.net, rui.zhang@intel.com, edubezval@gmail.com,
	yuantian.tang@nxp.com, robh+dt@kernel.org
Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, hongtao.jia@nxp.com
Subject: [PATCH 1/3] dt-bindings: Update QorIQ TMU thermal bindings
Date: Wed, 4 Jan 2017 16:57:49 +0800	[thread overview]
Message-ID: <1483520271-3838-2-git-send-email-hongtao.jia@nxp.com> (raw)
In-Reply-To: <1483520271-3838-1-git-send-email-hongtao.jia@nxp.com>

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>
---
 Documentation/devicetree/bindings/thermal/qoriq-thermal.txt | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt b/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt
index 66223d5..20ca4ef 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>;
 };
-- 
2.1.0.27.g96db324

  reply	other threads:[~2017-01-04  8:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-04  8:57 [PATCH 0/3] QorIQ TMU bindings and device tree update Jia Hongtao
2017-01-04  8:57 ` Jia Hongtao [this message]
     [not found]   ` <1483520271-3838-2-git-send-email-hongtao.jia-3arQi8VN3Tc@public.gmane.org>
2017-01-04 10:37     ` [PATCH 1/3] dt-bindings: Update QorIQ TMU thermal bindings Scott Wood
2017-01-05  2:28       ` Troy Jia
2017-01-06  6:56         ` Y.T. Tang
2017-01-04  8:57 ` [PATCH 2/3] powerpc/mpc85xx: Update TMU device tree node for T1040/T1042 Jia Hongtao
2017-01-04  8:57 ` [PATCH 3/3] powerpc/mpc85xx: Update TMU device tree node for T1023/T1024 Jia Hongtao
2017-01-04  9:19 ` [PATCH 0/3] QorIQ TMU bindings and device tree update Y.T. Tang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1483520271-3838-2-git-send-email-hongtao.jia@nxp.com \
    --to=hongtao.jia@nxp.com \
    --cc=devicetree@vger.kernel.org \
    --cc=edubezval@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=oss@buserror.net \
    --cc=robh+dt@kernel.org \
    --cc=rui.zhang@intel.com \
    --cc=yuantian.tang@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).