* [PATCH] arm64: dts: rockchip: Add GPU cooling device for RK3399
@ 2019-11-28 20:59 Robin Murphy
2020-01-13 9:57 ` Heiko Stuebner
0 siblings, 1 reply; 2+ messages in thread
From: Robin Murphy @ 2019-11-28 20:59 UTC (permalink / raw)
To: heiko; +Cc: linux-rockchip, linux-arm-kernel
As for RK3288, now that we have a binding for the GPU we can
hook up the missing cooling device for the thermal zone.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
---
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index cede1ad81be2..7c2953c052cf 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -827,6 +827,14 @@
type = "critical";
};
};
+
+ cooling-maps {
+ map0 {
+ trip = <&gpu_alert0>;
+ cooling-device =
+ <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
};
};
@@ -1886,6 +1894,7 @@
<GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH 0>;
interrupt-names = "gpu", "job", "mmu";
clocks = <&cru ACLK_GPU>;
+ #cooling-cells = <2>;
power-domains = <&power RK3399_PD_GPU>;
status = "disabled";
};
--
2.17.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: Add GPU cooling device for RK3399
2019-11-28 20:59 [PATCH] arm64: dts: rockchip: Add GPU cooling device for RK3399 Robin Murphy
@ 2020-01-13 9:57 ` Heiko Stuebner
0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2020-01-13 9:57 UTC (permalink / raw)
To: Robin Murphy; +Cc: linux-rockchip, linux-arm-kernel
Am Donnerstag, 28. November 2019, 21:59:27 CET schrieb Robin Murphy:
> As for RK3288, now that we have a binding for the GPU we can
> hook up the missing cooling device for the thermal zone.
>
> Signed-off-by: Robin Murphy <robin.murphy@arm.com>
applied for 5.6
(and already in arm-soc)
Thanks
Heiko
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-13 9:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-28 20:59 [PATCH] arm64: dts: rockchip: Add GPU cooling device for RK3399 Robin Murphy
2020-01-13 9:57 ` Heiko Stuebner
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).