Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea della Porta <andrea.porta@suse.com>
To: Peter Robinson <pbrobinson@gmail.com>
Cc: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Broadcom internal kernel review list
	<bcm-kernel-feedback-list@broadcom.com>,
	Stefan Wahren <wahrenst@gmx.net>,
	Phil Elwell <phil@raspberrypi.com>,
	devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	Florian Fainelli <florian.fainelli@broadcom.com>,
	Dave Stevenson <dave.stevenson@raspberrypi.com>,
	Andrea della Porta <andrea.porta@suse.com>
Subject: Re: [PATCH 2/3] arm64: dts: broadcom: bcm2712: Add thermal monitor
Date: Thu, 3 Sep 2026 15:46:45 +0200	[thread overview]
Message-ID: <apl6RddLcPz8Q2-O@apocalypse> (raw)
In-Reply-To: <20260802145109.728793-3-pbrobinson@gmail.com>

Hi Peter,

On 15:50 Sun 02 Aug     , Peter Robinson wrote:
> The thermal sensors on the bcm2712 (rpi5) are the same
> infrastructure as on the bcm2711 (rpi4) so add those
> details so we can get thermal monitoring on the device
> as it can get quite hot.
> 
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
> Cc: Florian Fainelli <florian.fainelli@broadcom.com>
> Cc: Dave Stevenson <dave.stevenson@raspberrypi.com
> ---
>  arch/arm64/boot/dts/broadcom/bcm2712.dtsi | 32 +++++++++++++++++++++++
>  1 file changed, 32 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
> index ae1fc9d728c00..c73ed9e066662 100644
> --- a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
> +++ b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
> @@ -508,6 +508,18 @@ hdmi1: hdmi@7c706400 {
>  			ddc = <&ddc1>;
>  			status = "disabled";
>  		};
> +
> +		avs_monitor: avs-monitor@7d542000 {
> +			compatible = "brcm,bcm2711-avs-monitor",
> +						"syscon", "simple-mfd";
> +			reg = <0x7d542000 0xf00>;
> +			status = "okay";
> +
> +			thermal: thermal {
> +				compatible = "brcm,bcm2711-thermal";
> +				#thermal-sensor-cells = <0>;
> +			};
> +		};
>  	};
>  
>  	axi: axi {
> @@ -724,4 +736,24 @@ hvs: hvs@107c580000 {
>  		interrupt-names = "ch0-eof", "ch1-eof", "ch2-eof";
>  		status = "disabled";
>  	};
> +
> +	thermal-zones {
> +		cpu_thermal: cpu-thermal {
> +			polling-delay-passive = <1000>;
> +			polling-delay = <1000>;
> +			coefficients = <(-550) 450000>;
> +			thermal-sensors = <&thermal>;
> +
> +			thermal_trips: trips {
> +				cpu_crit: cpu-crit {
> +					temperature	= <110000>;
> +					hysteresis	= <0>;
> +					type		= "critical";
> +				};
> +			};
> +
> +			cooling_maps: cooling-maps {
> +			};
> +		};
> +	};
>  };
> -- 
> 2.55.0
>

Doesn't seem to apply cleanly on v7.3-rc1, could you please rebase?

Many thanks,
Andrea 


  reply	other threads:[~2026-09-03 13:43 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-02 14:50 [PATCH 0/3] Some minor RPi5 bits Peter Robinson
2026-08-02 14:50 ` [PATCH 1/3] arm64: dts: broadcom: bcm2712: add arm PMU Peter Robinson
2026-09-03 14:28   ` Andrea della Porta
2026-08-02 14:50 ` [PATCH 2/3] arm64: dts: broadcom: bcm2712: Add thermal monitor Peter Robinson
2026-09-03 13:46   ` Andrea della Porta [this message]
2026-09-03 18:42     ` Peter Robinson
2026-09-03 18:47       ` Stefan Wahren
2026-09-03 18:55         ` Florian Fainelli
2026-09-03 20:55           ` Peter Robinson
2026-09-03 21:17             ` Florian Fainelli
2026-09-03 21:34               ` Peter Robinson
2026-08-02 14:50 ` [PATCH 3/3] arm64: dts: broadcom: bcm2712: Add USB OTG port Peter Robinson
2026-09-03 13:45   ` Andrea della Porta
2026-09-03 20:10     ` Florian Fainelli
2026-09-02  8:49 ` [PATCH 0/3] Some minor RPi5 bits Peter Robinson
2026-09-03 20:09 ` Florian Fainelli

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=apl6RddLcPz8Q2-O@apocalypse \
    --to=andrea.porta@suse.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=conor+dt@kernel.org \
    --cc=dave.stevenson@raspberrypi.com \
    --cc=devicetree@vger.kernel.org \
    --cc=florian.fainelli@broadcom.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=pbrobinson@gmail.com \
    --cc=phil@raspberrypi.com \
    --cc=robh@kernel.org \
    --cc=wahrenst@gmx.net \
    /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