From: "Mahapatra, Amit Kumar" <amit.kumar-mahapatra@amd.com>
To: "Simek, Michal" <michal.simek@amd.com>,
"Jonathan Cameron" <jic23@kernel.org>,
"Potthuri, Sai Krishna" <sai.krishna.potthuri@amd.com>,
"David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>
Cc: "linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>,
"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>,
"amitrkcian2002@gmail.com" <amitrkcian2002@gmail.com>
Subject: RE: [PATCH 5/6] arm64: versal-net: Add SysMon and thermal zone
Date: Fri, 6 Nov 2026 11:46:03 +0000 [thread overview]
Message-ID: <DS7PR12MB95033CBCB0077E855D762466DC762@DS7PR12MB9503.namprd12.prod.outlook.com> (raw)
In-Reply-To: <065bd297-efca-4a07-840e-ceefc881bd48@amd.com>
AMD General
Hello Michal,
> -----Original Message-----
> From: Simek, Michal <michal.simek@amd.com>
> Sent: Monday, November 2, 2026 8:24 PM
> To: Mahapatra, Amit Kumar <amit.kumar-mahapatra@amd.com>; Jonathan
> Cameron <jic23@kernel.org>; Potthuri, Sai Krishna
> <sai.krishna.potthuri@amd.com>; David Lechner <dlechner@baylibre.com>; Nuno
> Sá <nuno.sa@analog.com>; Andy Shevchenko <andy@kernel.org>; Rob Herring
> <robh@kernel.org>; Krzysztof Kozlowski <krzk+dt@kernel.org>; Conor Dooley
> <conor+dt@kernel.org>
> Cc: linux-iio@vger.kernel.org; devicetree@vger.kernel.org; linux-arm-
> kernel@lists.infradead.org; linux-kernel@vger.kernel.org;
> amitrkcian2002@gmail.com
> Subject: Re: [PATCH 5/6] arm64: versal-net: Add SysMon and thermal zone
>
>
>
> On 11/2/26 13:21, Amit Kumar Mahapatra wrote:
> > Describe the System Monitor (SysMon) block in the PMC, which provides
> > on-chip voltage and temperature monitoring, and use its device
> > temperature channel as the sensor for a thermal zone.
> >
> > SysMon channel 0 is the current maximum temperature across all active
> > satellites.
> >
> > The thermal zone has a critical trip at 125C. Passive trips and
> > cooling maps, voltage channels and per-satellite temperature channels
> > depend on the design and are left to board files.
> >
> > Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
> > ---
> > arch/arm64/boot/dts/xilinx/versal-net.dtsi | 29 ++++++++++++++++++++++
> > 1 file changed, 29 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/xilinx/versal-net.dtsi
> > b/arch/arm64/boot/dts/xilinx/versal-net.dtsi
> > index 21bb917bcba1..394181c9a751 100644
> > --- a/arch/arm64/boot/dts/xilinx/versal-net.dtsi
> > +++ b/arch/arm64/boot/dts/xilinx/versal-net.dtsi
> > @@ -735,6 +735,28 @@ versal_fpga: versal-fpga {
> > compatible = "xlnx,versal-fpga";
> > };
> >
> > + sysmon_temp: thermal-sensor {
> > + compatible = "generic-adc-thermal";
> > + #thermal-sensor-cells = <0>;
> > + io-channels = <&sysmon0 0>;
> > + io-channel-names = "sensor-channel";
> > + };
> > +
> > + thermal-zones {
> > + versal_thermal: versal-thermal {
> > + polling-delay = <1000>; /* milliseconds */
> > + thermal-sensors = <&sysmon_temp>;
> > +
> > + trips {
> > + ot_crit: ot-crit {
> > + temperature = <125000>; /* millicelsius */
> > + hysteresis = <0>; /* millicelsius */
> > + type = "critical";
> > + };
> > + };
> > + };
> > + };
> > +
> > amba: axi {
> > compatible = "simple-bus";
> > bootph-all;
> > @@ -1033,6 +1055,13 @@ spi1: spi@f1970000 {
> > clock-names = "ref_clk", "pclk";
> > };
> >
> > + sysmon0: sysmon@f1270000 {
> > + compatible = "xlnx,versal-sysmon";
> > + reg = <0 0xf1270000 0 0x4000>;
> > + interrupts = <0 202 4>;
> > + #io-channel-cells = <1>;
> > + };
>
> This should have status = "disabled"; because I expect it is configuration related and
> it might not be available. (Or not available via MMIO access).
>
> Pretty much this patch should be sent separately. This patch series don't have
> changes in dt binding. That's why it should go via my tree because there is no
> dependency.
I will make the required changes as suggested above and submit this as a
separate patch to your tree.
Regards,
Amit
>
> Thanks,
> Michal
>
next prev parent reply other threads:[~2026-11-06 11:46 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-02 12:21 [PATCH 0/6] iio: adc: versal-sysmon: Add OT alarm, shutdown and thermal zone support Amit Kumar Mahapatra
2026-11-02 12:21 ` [PATCH 1/6] iio: adc: versal-sysmon: fix race in interrupt teardown Amit Kumar Mahapatra
2026-11-03 7:05 ` Prasanna Kumar T S M
2026-11-02 12:21 ` [PATCH 2/6] iio: adc: versal-sysmon: validate temperature hysteresis Amit Kumar Mahapatra
2026-11-03 10:08 ` Andy Shevchenko
2026-11-06 11:35 ` Mahapatra, Amit Kumar
2026-11-02 12:21 ` [PATCH 3/6] iio: adc: versal-sysmon: disable interrupts on shutdown Amit Kumar Mahapatra
2026-11-03 7:07 ` Prasanna Kumar T S M
2026-11-03 10:10 ` Andy Shevchenko
2026-11-02 12:21 ` [PATCH 4/6] iio: adc: versal-sysmon: add over-temperature alarm events Amit Kumar Mahapatra
2026-11-02 12:21 ` [PATCH 5/6] arm64: versal-net: Add SysMon and thermal zone Amit Kumar Mahapatra
2026-11-02 14:53 ` Michal Simek
2026-11-06 11:46 ` Mahapatra, Amit Kumar [this message]
2026-11-02 12:21 ` [PATCH 6/6] MAINTAINERS: update Versal SysMon maintainers Amit Kumar Mahapatra
2026-11-02 12:53 ` Michal Simek
2026-11-06 11:46 ` Sai Krishna Potthuri
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=DS7PR12MB95033CBCB0077E855D762466DC762@DS7PR12MB9503.namprd12.prod.outlook.com \
--to=amit.kumar-mahapatra@amd.com \
--cc=amitrkcian2002@gmail.com \
--cc=andy@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michal.simek@amd.com \
--cc=nuno.sa@analog.com \
--cc=robh@kernel.org \
--cc=sai.krishna.potthuri@amd.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®