From: Jia Hongtao <hongtao.jia@nxp.com>
To: <edubezval@gmail.com>, <rui.zhang@intel.com>,
<robh+dt@kernel.org>, <galak@codeaurora.org>,
<scott.wood@nxp.com>, <shawnguo@kernel.org>
Cc: <linux-pm@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <linuxppc-dev@lists.ozlabs.org>,
<linux-arm-kernel@lists.infradead.org>, <hongtao.jia@nxp.com>
Subject: [PATCH 1/7] dt-bindings: Update QorIQ TMU thermal bindings
Date: Fri, 3 Jun 2016 14:57:33 +0800 [thread overview]
Message-ID: <1464937059-19349-1-git-send-email-hongtao.jia@nxp.com> (raw)
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>
---
.../devicetree/bindings/thermal/qoriq-thermal.txt | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt b/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt
index 66223d5..8eeef80 100644
--- a/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt
+++ b/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt
@@ -1,22 +1,28 @@
* Thermal Monitoring Unit (TMU) on Freescale QorIQ SoCs
Required properties:
-- compatible : Must include "fsl,qoriq-tmu". The version of the device is
+- compatible: Must include "fsl,qoriq-tmu". The version of the device is
determined by the TMU IP Block Revision Register (IPBRR0) at
offset 0x0BF8.
- Table of correspondences between IPBRR0 values and example chips:
+ Table of correspondences between IPBRR0 values and example chips:
Value Device
---------- -----
0x01900102 T1040
-- reg : Address range of TMU registers.
-- interrupts : Contains the interrupt for TMU.
-- fsl,tmu-range : The values to be programmed into TTRnCR, as specified by
+- reg: Address range of TMU registers.
+- interrupts: Contains the interrupt for TMU.
+- fsl,tmu-range: The values to be programmed into TTRnCR, as specified by
the SoC reference manual. The first cell is TTR0CR, the second is
TTR1CR, etc.
-- fsl,tmu-calibration : A list of cell pairs containing temperature
+- fsl,tmu-calibration: A list of cell pairs containing temperature
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
WARNING: multiple messages have this Message-ID (diff)
From: Jia Hongtao <hongtao.jia@nxp.com>
To: edubezval@gmail.com, rui.zhang@intel.com, robh+dt@kernel.org,
galak@codeaurora.org, scott.wood@nxp.com, shawnguo@kernel.org
Cc: devicetree@vger.kernel.org, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org, hongtao.jia@nxp.com,
linuxppc-dev@lists.ozlabs.org,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/7] dt-bindings: Update QorIQ TMU thermal bindings
Date: Fri, 3 Jun 2016 14:57:33 +0800 [thread overview]
Message-ID: <1464937059-19349-1-git-send-email-hongtao.jia@nxp.com> (raw)
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>
---
.../devicetree/bindings/thermal/qoriq-thermal.txt | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt b/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt
index 66223d5..8eeef80 100644
--- a/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt
+++ b/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt
@@ -1,22 +1,28 @@
* Thermal Monitoring Unit (TMU) on Freescale QorIQ SoCs
Required properties:
-- compatible : Must include "fsl,qoriq-tmu". The version of the device is
+- compatible: Must include "fsl,qoriq-tmu". The version of the device is
determined by the TMU IP Block Revision Register (IPBRR0) at
offset 0x0BF8.
- Table of correspondences between IPBRR0 values and example chips:
+ Table of correspondences between IPBRR0 values and example chips:
Value Device
---------- -----
0x01900102 T1040
-- reg : Address range of TMU registers.
-- interrupts : Contains the interrupt for TMU.
-- fsl,tmu-range : The values to be programmed into TTRnCR, as specified by
+- reg: Address range of TMU registers.
+- interrupts: Contains the interrupt for TMU.
+- fsl,tmu-range: The values to be programmed into TTRnCR, as specified by
the SoC reference manual. The first cell is TTR0CR, the second is
TTR1CR, etc.
-- fsl,tmu-calibration : A list of cell pairs containing temperature
+- fsl,tmu-calibration: A list of cell pairs containing temperature
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
WARNING: multiple messages have this Message-ID (diff)
From: hongtao.jia@nxp.com (Jia Hongtao)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/7] dt-bindings: Update QorIQ TMU thermal bindings
Date: Fri, 3 Jun 2016 14:57:33 +0800 [thread overview]
Message-ID: <1464937059-19349-1-git-send-email-hongtao.jia@nxp.com> (raw)
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>
---
.../devicetree/bindings/thermal/qoriq-thermal.txt | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt b/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt
index 66223d5..8eeef80 100644
--- a/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt
+++ b/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt
@@ -1,22 +1,28 @@
* Thermal Monitoring Unit (TMU) on Freescale QorIQ SoCs
Required properties:
-- compatible : Must include "fsl,qoriq-tmu". The version of the device is
+- compatible: Must include "fsl,qoriq-tmu". The version of the device is
determined by the TMU IP Block Revision Register (IPBRR0) at
offset 0x0BF8.
- Table of correspondences between IPBRR0 values and example chips:
+ Table of correspondences between IPBRR0 values and example chips:
Value Device
---------- -----
0x01900102 T1040
-- reg : Address range of TMU registers.
-- interrupts : Contains the interrupt for TMU.
-- fsl,tmu-range : The values to be programmed into TTRnCR, as specified by
+- reg: Address range of TMU registers.
+- interrupts: Contains the interrupt for TMU.
+- fsl,tmu-range: The values to be programmed into TTRnCR, as specified by
the SoC reference manual. The first cell is TTR0CR, the second is
TTR1CR, etc.
-- fsl,tmu-calibration : A list of cell pairs containing temperature
+- fsl,tmu-calibration: A list of cell pairs containing temperature
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 at f0000 {
0x00030000 0x00000012
0x00030001 0x0000001d>;
+ #thermal-sensor-cells = <1>;
};
--
2.1.0.27.g96db324
next reply other threads:[~2016-06-03 7:22 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-03 6:57 Jia Hongtao [this message]
2016-06-03 6:57 ` [PATCH 1/7] dt-bindings: Update QorIQ TMU thermal bindings Jia Hongtao
2016-06-03 6:57 ` Jia Hongtao
2016-06-03 6:57 ` [PATCH 2/7] powerpc/mpc85xx: Update TMU device tree node for T1040/T1042 Jia Hongtao
2016-06-03 6:57 ` Jia Hongtao
2016-06-03 6:57 ` Jia Hongtao
2016-06-03 6:57 ` [PATCH 3/7] powerpc/mpc85xx: Update TMU device tree node for T1023/T1024 Jia Hongtao
2016-06-03 6:57 ` Jia Hongtao
2016-06-03 6:57 ` Jia Hongtao
2016-06-03 6:57 ` [PATCH 4/7] arm:dt:ls1021a: Add TMU device tree support for LS1021A Jia Hongtao
2016-06-03 6:57 ` Jia Hongtao
2016-06-03 6:57 ` Jia Hongtao
2016-06-03 6:57 ` [PATCH 5/7] arm64:dt:ls1043a: Add TMU device tree support for LS1043A Jia Hongtao
2016-06-03 6:57 ` Jia Hongtao
2016-06-03 6:57 ` Jia Hongtao
2016-06-03 6:57 ` [PATCH 6/7] arm64:dt:ls2080a: Add TMU device tree support for LS2080A Jia Hongtao
2016-06-03 6:57 ` Jia Hongtao
2016-06-03 6:57 ` Jia Hongtao
2016-06-03 6:57 ` [PATCH 7/7] thermal: qoriq: Add thermal management support Jia Hongtao
2016-06-03 6:57 ` Jia Hongtao
2016-06-03 6:57 ` Jia Hongtao
2016-06-05 17:51 ` kbuild test robot
2016-06-05 17:51 ` kbuild test robot
2016-06-05 17:51 ` kbuild test robot
2016-06-06 13:47 ` [PATCH 1/7] dt-bindings: Update QorIQ TMU thermal bindings Rob Herring
2016-06-06 13:47 ` Rob Herring
2016-06-07 2:26 ` 答复: " Hongtao Jia
2016-06-07 2:26 ` Hongtao Jia
2016-06-07 2:26 ` Hongtao Jia
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=1464937059-19349-1-git-send-email-hongtao.jia@nxp.com \
--to=hongtao.jia@nxp.com \
--cc=devicetree@vger.kernel.org \
--cc=edubezval@gmail.com \
--cc=galak@codeaurora.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=robh+dt@kernel.org \
--cc=rui.zhang@intel.com \
--cc=scott.wood@nxp.com \
--cc=shawnguo@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.