From: "Clément Péron" <peron.clem@gmail.com>
To: "Jernej Škrabec" <jernej.skrabec@gmail.com>
Cc: Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Chen-Yu Tsai <wens@csie.org>,
Samuel Holland <samuel@sholland.org>,
devicetree <devicetree@vger.kernel.org>,
linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
linux-sunxi@lists.linux.dev,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/4] arm64: dts: allwinner: h6: Add cooling map for GPU
Date: Fri, 19 Aug 2022 11:08:06 +0200 [thread overview]
Message-ID: <CAJiuCcfdE_B8FacrJSGHcRZpzmd6qorY7DT9DiH8iCJujVmjVA@mail.gmail.com> (raw)
In-Reply-To: <2641460.mvXUDI8C0e@jernej-laptop>
Hi Jernej,
On Fri, 19 Aug 2022 at 06:13, Jernej Škrabec <jernej.skrabec@gmail.com> wrote:
>
> Dne četrtek, 18. avgust 2022 ob 22:39:26 CEST je Clément Péron napisal(a):
> > From: Clément Péron <peron.clem@gmail.com>
> >
> > Add a simple cooling map for the GPU.
> >
> > Signed-off-by: Clément Péron <peron.clem@gmail.com>
>
> Is this really patch 2/4? I only got patches 2-4, but not patch 1.
Sorry I have updated the way I send my patches, so each patch is sent
regarding what is outputted by 'scripts/get_maintainer.pl'
Patch 1 is https://lore.kernel.org/linux-arm-kernel/20220818203928.131059-2-cpe@outsight.tech/T/#md5d89721ac1861f31ca5d101ab9561371c35c904
Which has been sent to :
Catalin Marinas / Will Deacon <will@kernel.org>
And CC to :
linux-arm-kernel@lists.infradead.org / linux-kernel@vger.kernel.org
I will resend and force this patch to be sent to linux ML / Maintainer too.
Best regards,
Clement
>
> Best regards,
> Jernej
>
> > ---
> > arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 22 ++++++++++++++++++++
> > 1 file changed, 22 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
> > b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index
> > 5a28303d3d4c..943ae5374dd6 100644
> > --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
> > +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
> > @@ -186,6 +186,7 @@ gpu: gpu@1800000 {
> > clocks = <&ccu CLK_GPU>, <&ccu CLK_BUS_GPU>;
> > clock-names = "core", "bus";
> > resets = <&ccu RST_BUS_GPU>;
> > + #cooling-cells = <2>;
> > status = "disabled";
> > };
> >
> > @@ -1075,6 +1076,27 @@ gpu-thermal {
> > polling-delay-passive = <0>;
> > polling-delay = <0>;
> > thermal-sensors = <&ths 1>;
> > +
> > + trips {
> > + gpu_alert: gpu-alert {
> > + temperature = <85000>;
> > + hysteresis = <2000>;
> > + type = "passive";
> > + };
> > +
> > + gpu-crit {
> > + temperature =
> <100000>;
> > + hysteresis = <0>;
> > + type = "critical";
> > + };
> > + };
> > +
> > + cooling-maps {
> > + map0 {
> > + trip = <&gpu_alert>;
> > + cooling-device = <&gpu
> THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
> > + };
> > + };
> > };
> > };
> > };
>
>
>
>
next prev parent reply other threads:[~2022-08-19 9:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20220818203928.131059-1-cpe@outsight.tech>
2022-08-18 20:39 ` [PATCH 2/4] arm64: dts: allwinner: h6: Add cooling map for GPU Clément Péron
2022-08-19 4:13 ` Jernej Škrabec
2022-08-19 9:08 ` Clément Péron [this message]
2022-08-18 20:39 ` [PATCH 3/4] arm64: dts: allwinner: h6: Add GPU OPP table Clément Péron
2022-08-18 20:39 ` [PATCH 4/4] arm64: dts: allwinner: beelink-gs1: Enable GPU OPP Clément Péron
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=CAJiuCcfdE_B8FacrJSGHcRZpzmd6qorY7DT9DiH8iCJujVmjVA@mail.gmail.com \
--to=peron.clem@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=jernej.skrabec@gmail.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=robh+dt@kernel.org \
--cc=samuel@sholland.org \
--cc=wens@csie.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 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).