devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shawn Guo <shawnguo@kernel.org>
To: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
	s.hauer@pengutronix.de, kernel@pengutronix.de,
	festevam@gmail.com, linux-imx@nxp.com,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com>,
	Jacky Bai <ping.bai@nxp.com>
Subject: Re: [PATCH 03/10] arm64: dts: imx8ulp: add thermal node
Date: Tue, 18 Jul 2023 11:30:15 +0800	[thread overview]
Message-ID: <20230718033015.GD9559@dragon> (raw)
In-Reply-To: <20230625124238.4071717-4-peng.fan@oss.nxp.com>

On Sun, Jun 25, 2023 at 08:42:31PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> Add thermal node. Cooling map is not added, because frequency runtime
> changing not supported for now.
> 
> Reviewed-by: Jacky Bai <ping.bai@nxp.com>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
>  arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi
> index ba0edb9a009b..fd30475a561d 100644
> --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi
> @@ -7,6 +7,7 @@
>  #include <dt-bindings/gpio/gpio.h>
>  #include <dt-bindings/interrupt-controller/arm-gic.h>
>  #include <dt-bindings/power/imx8ulp-power.h>
> +#include <dt-bindings/thermal/thermal.h>
>  
>  #include "imx8ulp-pinfunc.h"
>  
> @@ -78,6 +79,27 @@ psci {
>  		method = "smc";
>  	};
>  
> +	thermal-zones {
> +		cpu-thermal {
> +			polling-delay-passive = <250>;
> +			polling-delay = <2000>;
> +			thermal-sensors = <&scmi_sensor 0>;

Have a newline between property list and child node.

Shawn

> +			trips {
> +				cpu_alert0: trip0 {
> +					temperature = <85000>;
> +					hysteresis = <2000>;
> +					type = "passive";
> +				};
> +
> +				cpu_crit0: trip1 {
> +					temperature = <95000>;
> +					hysteresis = <2000>;
> +					type = "critical";
> +				};
> +			};
> +		};
> +	};
> +
>  	timer {
>  		compatible = "arm,armv8-timer";
>  		interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, /* Physical Secure */
> -- 
> 2.37.1
> 

  reply	other threads:[~2023-07-18  3:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-25 12:42 [PATCH 00/10] arm64: dts: imx8ulp: add more nodes Peng Fan (OSS)
2023-06-25 12:42 ` [PATCH 01/10] arm64: dts: imx8ulp: add cm33 node Peng Fan (OSS)
2023-06-25 12:42 ` [PATCH 02/10] arm64: dts: imx8ulp: set default clock for SDHC Peng Fan (OSS)
2023-06-25 12:42 ` [PATCH 03/10] arm64: dts: imx8ulp: add thermal node Peng Fan (OSS)
2023-07-18  3:30   ` Shawn Guo [this message]
2023-06-25 12:42 ` [PATCH 04/10] arm64: dts: imx8ulp: add cpuidle node Peng Fan (OSS)
2023-06-25 12:42 ` [PATCH 05/10] arm64: dts: imx8ulp: add flexspi node Peng Fan (OSS)
2023-06-25 12:42 ` [PATCH 06/10] arm64: dts: imx8ulp-evk: add reserved memory for cma Peng Fan (OSS)
2023-06-25 12:42 ` [PATCH 07/10] arm64: dts: imx8ulp-evk: enable CM33 node Peng Fan (OSS)
2023-06-25 12:42 ` [PATCH 08/10] arm64: dts: imx8ulp-evk: add spi-nor device support Peng Fan (OSS)
2023-07-18  3:29   ` Shawn Guo
2023-06-25 12:42 ` [PATCH 09/10] arm64: dts: imx8ulp-evk: add 100MHz/200MHz pinctrl setting for eMMC Peng Fan (OSS)
2023-07-18  3:32   ` Shawn Guo
2023-07-24  6:51     ` Bough Chen
2023-07-30  3:04       ` Shawn Guo
2023-06-25 12:42 ` [PATCH 10/10] arm64: dts: imx8ulp-evk: enable lpi2c7 bus Peng Fan (OSS)

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=20230718033015.GD9559@dragon \
    --to=shawnguo@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peng.fan@nxp.com \
    --cc=peng.fan@oss.nxp.com \
    --cc=ping.bai@nxp.com \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    /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).