linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] arm64: dts: rockchip: rk3399-firefly: enable the mali GPU
@ 2022-02-07  7:36 Michael Saunders
  2022-02-08 16:59 ` Heiko Stuebner
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Saunders @ 2022-02-07  7:36 UTC (permalink / raw)
  To: devicetree
  Cc: robh+dt, heiko, linux-arm-kernel, linux-rockchip, Michael Saunders

The Firefly RK3399 device tree had the GPU status set to disabled as per
the default from the rk3399.dtsi. This patch sets the status in the
firefly dts to enable it for use. Tested successfully on a 2GB Firefly
RK3399 board.

Signed-off-by: Michael Saunders <mick.saunders@gmail.com>
---
This should correct the issues raised in the first patch. Thanks Krzysztof for your feedback and patience.

 arch/arm64/boot/dts/rockchip/rk3399-firefly.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts b/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
index c4dd2a6b4836..65d659d56041 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
@@ -298,6 +298,11 @@ &gmac {
 	status = "okay";
 };
 
+&gpu {
+	mali-supply = <&vdd_gpu>;
+	status = "okay";
+};
+
 &hdmi {
 	ddc-i2c-bus = <&i2c3>;
 	pinctrl-names = "default";
-- 
2.35.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 v2] arm64: dts: rockchip: rk3399-firefly: enable the mali GPU
  2022-02-07  7:36 [PATCH v2] arm64: dts: rockchip: rk3399-firefly: enable the mali GPU Michael Saunders
@ 2022-02-08 16:59 ` Heiko Stuebner
  0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2022-02-08 16:59 UTC (permalink / raw)
  To: devicetree, Michael Saunders
  Cc: Heiko Stuebner, robh+dt, linux-arm-kernel, linux-rockchip

On Mon, 7 Feb 2022 17:06:19 +0930, Michael Saunders wrote:
> The Firefly RK3399 device tree had the GPU status set to disabled as per
> the default from the rk3399.dtsi. This patch sets the status in the
> firefly dts to enable it for use. Tested successfully on a 2GB Firefly
> RK3399 board.

Applied, thanks!

[1/1] arm64: dts: rockchip: rk3399-firefly: enable the mali GPU

Best regards,
-- 
Heiko Stuebner <heiko@sntech.de>

_______________________________________________
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:[~2022-02-08 17:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-07  7:36 [PATCH v2] arm64: dts: rockchip: rk3399-firefly: enable the mali GPU Michael Saunders
2022-02-08 16:59 ` 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).