From: "Jernej Škrabec" <jernej.skrabec@gmail.com>
To: "Rob Herring" <robh+dt@kernel.org>,
"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
"Chen-Yu Tsai" <wens@csie.org>,
"Samuel Holland" <samuel@sholland.org>,
"Clément Péron" <peron.clem@gmail.com>
Cc: "Clément Péron" <peron.clem@gmail.com>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/4] arm64: dts: allwinner: h6: Add cooling map for GPU
Date: Fri, 19 Aug 2022 06:13:37 +0200 [thread overview]
Message-ID: <2641460.mvXUDI8C0e@jernej-laptop> (raw)
In-Reply-To: <20220818203928.131059-3-cpe@outsight.tech>
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.
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>;
> + };
> + };
> };
> };
> };
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-08-19 4:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20220818203928.131059-1-cpe@outsight.tech>
2022-08-18 20:39 ` [PATCH 1/4] arm64: defconfig: Enable devfreq cooling device Clément Péron
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 [this message]
2022-08-19 9:08 ` Clément Péron
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=2641460.mvXUDI8C0e@jernej-laptop \
--to=jernej.skrabec@gmail.com \
--cc=devicetree@vger.kernel.org \
--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=peron.clem@gmail.com \
--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