From: Andy Tang <andy.tang@nxp.com>
To: Andy Tang <andy.tang@nxp.com>,
"shawnguo@kernel.org" <shawnguo@kernel.org>,
"robh+dt@kernel.org" <robh+dt@kernel.org>,
"mark.rutland@arm.com" <mark.rutland@arm.com>,
"catalin.marinas@arm.com" <catalin.marinas@arm.com>,
"will.deacon@arm.com" <will.deacon@arm.com>
Cc: "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH] arm64: dts: lx2160a: add more thermal zone support
Date: Thu, 7 May 2020 06:20:06 +0000 [thread overview]
Message-ID: <DBBPR04MB60901517CCEF34DBD9D3109EF3A50@DBBPR04MB6090.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <20200417061618.48032-1-andy.tang@nxp.com>
PING.
BR,
Andy
> -----Original Message-----
> From: Yuantian Tang <andy.tang@nxp.com>
> Sent: 2020年4月17日 14:16
> To: shawnguo@kernel.org; robh+dt@kernel.org; mark.rutland@arm.com;
> catalin.marinas@arm.com; will.deacon@arm.com
> Cc: devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org;
> linux-kernel@vger.kernel.org; Andy Tang <andy.tang@nxp.com>
> Subject: [PATCH] arm64: dts: lx2160a: add more thermal zone support
>
> There are 7 thermal zones in lx2160a soc. Add the rest thermal zone node to
> enable them.
> Also correct one of the values for tmu-calibration property.
>
> Signed-off-by: Yuantian Tang <andy.tang@nxp.com>
> ---
> .../arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 130 +++++++++++++++++-
> 1 file changed, 125 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
> b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
> index ae1b113ab162..abaeb587de48 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
> @@ -436,19 +436,19 @@
> };
>
> thermal-zones {
> - core_thermal1: core-thermal1 {
> + cluster6-7 {
> polling-delay-passive = <1000>;
> polling-delay = <5000>;
> thermal-sensors = <&tmu 0>;
>
> trips {
> - core_cluster_alert: core-cluster-alert {
> + cluster6_7_alert: cluster6-7-alert {
> temperature = <85000>;
> hysteresis = <2000>;
> type = "passive";
> };
>
> - core_cluster_crit: core-cluster-crit {
> + cluster6_7_crit: cluster6-7-crit {
> temperature = <95000>;
> hysteresis = <2000>;
> type = "critical";
> @@ -457,7 +457,7 @@
>
> cooling-maps {
> map0 {
> - trip = <&core_cluster_alert>;
> + trip = <&cluster6_7_alert>;
> cooling-device =
> <&cpu0 THERMAL_NO_LIMIT
> THERMAL_NO_LIMIT>,
> <&cpu1 THERMAL_NO_LIMIT
> THERMAL_NO_LIMIT>, @@ -478,6 +478,126 @@
> };
> };
> };
> +
> + ddr-cluster5 {
> + polling-delay-passive = <1000>;
> + polling-delay = <5000>;
> + thermal-sensors = <&tmu 1>;
> +
> + trips {
> + ddr-cluster5-alert {
> + temperature = <85000>;
> + hysteresis = <2000>;
> + type = "passive";
> + };
> +
> + ddr-cluster5-crit {
> + temperature = <95000>;
> + hysteresis = <2000>;
> + type = "critical";
> + };
> + };
> + };
> +
> + wriop {
> + polling-delay-passive = <1000>;
> + polling-delay = <5000>;
> + thermal-sensors = <&tmu 2>;
> +
> + trips {
> + wriop-alert {
> + temperature = <85000>;
> + hysteresis = <2000>;
> + type = "passive";
> + };
> +
> + wriop-crit {
> + temperature = <95000>;
> + hysteresis = <2000>;
> + type = "critical";
> + };
> + };
> + };
> +
> + dce-qbman-hsio2 {
> + polling-delay-passive = <1000>;
> + polling-delay = <5000>;
> + thermal-sensors = <&tmu 3>;
> +
> + trips {
> + dce-qbman-alert {
> + temperature = <85000>;
> + hysteresis = <2000>;
> + type = "passive";
> + };
> +
> + dce-qbman-crit {
> + temperature = <95000>;
> + hysteresis = <2000>;
> + type = "critical";
> + };
> + };
> + };
> +
> + ccn-dpaa-tbu {
> + polling-delay-passive = <1000>;
> + polling-delay = <5000>;
> + thermal-sensors = <&tmu 4>;
> +
> + trips {
> + ccn-dpaa-alert {
> + temperature = <85000>;
> + hysteresis = <2000>;
> + type = "passive";
> + };
> +
> + ccn-dpaa-crit {
> + temperature = <95000>;
> + hysteresis = <2000>;
> + type = "critical";
> + };
> + };
> + };
> +
> + cluster4-hsio3 {
> + polling-delay-passive = <1000>;
> + polling-delay = <5000>;
> + thermal-sensors = <&tmu 5>;
> +
> + trips {
> + clust4-hsio3-alert {
> + temperature = <85000>;
> + hysteresis = <2000>;
> + type = "passive";
> + };
> +
> + clust4-hsio3-crit {
> + temperature = <95000>;
> + hysteresis = <2000>;
> + type = "critical";
> + };
> + };
> + };
> +
> + cluster2-3 {
> + polling-delay-passive = <1000>;
> + polling-delay = <5000>;
> + thermal-sensors = <&tmu 6>;
> +
> + trips {
> + cluster2-3-alert {
> + temperature = <85000>;
> + hysteresis = <2000>;
> + type = "passive";
> + };
> +
> + cluster2-3-crit {
> + temperature = <95000>;
> + hysteresis = <2000>;
> + type = "critical";
> + };
> + };
> + };
> };
>
> soc {
> @@ -549,7 +669,7 @@
> /* Calibration data group 1 */
> <0x00000000 0x00000035
> /* Calibration data group 2 */
> - 0x00010001 0x00000154>;
> + 0x00000001 0x00000154>;
> little-endian;
> #thermal-sensor-cells = <1>;
> };
> --
> 2.17.1
next prev parent reply other threads:[~2020-05-07 6:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-17 6:16 Yuantian Tang
2020-05-07 6:20 ` Andy Tang [this message]
2020-05-11 14:29 ` Shawn Guo
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=DBBPR04MB60901517CCEF34DBD9D3109EF3A50@DBBPR04MB6090.eurprd04.prod.outlook.com \
--to=andy.tang@nxp.com \
--cc=catalin.marinas@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=shawnguo@kernel.org \
--cc=will.deacon@arm.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
all inboxes | Powered by JetHome®