linux-kernel.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 2/3] powerpc/mpc85xx: Update TMU device tree node for T1040/T1042
Date: Wed, 4 Jan 2017 16:57:50 +0800	[thread overview]
Message-ID: <1483520271-3838-3-git-send-email-hongtao.jia@nxp.com> (raw)
In-Reply-To: <1483520271-3838-1-git-send-email-hongtao.jia@nxp.com>

From: Hongtao Jia <hongtao.jia@nxp.com>

Update #thermal-sensor-cells from 0 to 1 according to the new binding. The
sensor specifier added is the monitoring site ID, and represents the "n" in
TRITSRn and TRATSRn.

Signed-off-by: Jia Hongtao <hongtao.jia@nxp.com>
---
 arch/powerpc/boot/dts/fsl/t1040si-post.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi b/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi
index 44e399b..145c7f4 100644
--- a/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi
+++ b/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi
@@ -526,7 +526,7 @@
 
 				       0x00030000 0x00000012
 				       0x00030001 0x0000001d>;
-		#thermal-sensor-cells = <0>;
+		#thermal-sensor-cells = <1>;
 	};
 
 	thermal-zones {
@@ -534,7 +534,7 @@
 			polling-delay-passive = <1000>;
 			polling-delay = <5000>;
 
-			thermal-sensors = <&tmu>;
+			thermal-sensors = <&tmu 2>;
 
 			trips {
 				cpu_alert: cpu-alert {
-- 
2.1.0.27.g96db324

  parent reply	other threads:[~2017-01-04  9:12 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 ` [PATCH 1/3] dt-bindings: Update QorIQ TMU thermal bindings Jia Hongtao
2017-01-04 10:37   ` Scott Wood
2017-01-05  2:28     ` Troy Jia
2017-01-06  6:56       ` Y.T. Tang
2017-01-04  8:57 ` Jia Hongtao [this message]
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-3-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).