public inbox for linux-rockchip@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Some graphics enablement for the ancient rk3066 marsboard
@ 2025-05-03 20:10 Heiko Stuebner
  2025-05-03 20:10 ` [PATCH 1/2] ARM: dts: rockchip: enable hdmi on " Heiko Stuebner
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Heiko Stuebner @ 2025-05-03 20:10 UTC (permalink / raw)
  To: heiko; +Cc: linux-arm-kernel, linux-rockchip, linux-kernel

Enable both the hdmi output as well as the Mali400-gpu.

Did this to test a patch converting the rk3066-hdmi to a bridge driver,
for future improvements, so it'll be nice to keep this around too.

Heiko Stuebner (2):
  ARM: dts: rockchip: enable hdmi on rk3066 marsboard
  ARM: dts: rockchip: enable Mali gpu on rk3066 marsboard

 .../boot/dts/rockchip/rk3066a-marsboard.dts   | 37 +++++++++++++++++++
 1 file changed, 37 insertions(+)

-- 
2.47.2


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] ARM: dts: rockchip: enable hdmi on rk3066 marsboard
  2025-05-03 20:10 [PATCH 0/2] Some graphics enablement for the ancient rk3066 marsboard Heiko Stuebner
@ 2025-05-03 20:10 ` Heiko Stuebner
  2025-05-03 20:10 ` [PATCH 2/2] ARM: dts: rockchip: enable Mali gpu " Heiko Stuebner
  2025-05-05  8:26 ` [PATCH 0/2] Some graphics enablement for the ancient " Heiko Stuebner
  2 siblings, 0 replies; 4+ messages in thread
From: Heiko Stuebner @ 2025-05-03 20:10 UTC (permalink / raw)
  To: heiko; +Cc: linux-arm-kernel, linux-rockchip, linux-kernel

The marsboard does have a regular hdmi-a connector and can simply
use the already existing infrastructure (rk3066-hdmi) for display
output.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
 .../boot/dts/rockchip/rk3066a-marsboard.dts   | 33 +++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/arch/arm/boot/dts/rockchip/rk3066a-marsboard.dts b/arch/arm/boot/dts/rockchip/rk3066a-marsboard.dts
index ada7dbfc06a5..d2924aca6f2d 100644
--- a/arch/arm/boot/dts/rockchip/rk3066a-marsboard.dts
+++ b/arch/arm/boot/dts/rockchip/rk3066a-marsboard.dts
@@ -19,6 +19,17 @@ memory@60000000 {
 		reg = <0x60000000 0x40000000>;
 	};
 
+	hdmi_con {
+		compatible = "hdmi-connector";
+		type = "a";
+
+		port {
+			hdmi_con_in: endpoint {
+				remote-endpoint = <&hdmi_out_con>;
+			};
+		};
+	};
+
 	vdd_log: regulator-vdd-log {
 		compatible = "pwm-regulator";
 		pwms = <&pwm3 0 1000>;
@@ -58,6 +69,24 @@ &cpu1 {
 	cpu-supply = <&vdd_arm>;
 };
 
+&hdmi {
+	status = "okay";
+};
+
+&hdmi_in_vop1 {
+	status = "disabled";
+};
+
+&hdmi_out {
+	hdmi_out_con: endpoint {
+		remote-endpoint = <&hdmi_con_in>;
+	};
+};
+
+&hdmi_sound {
+	status = "okay";
+};
+
 &i2c1 {
 	status = "okay";
 	clock-frequency = <400000>;
@@ -216,6 +245,10 @@ &usb_otg {
 	status = "okay";
 };
 
+&vop0 {
+	status = "okay";
+};
+
 &wdt {
 	status = "okay";
 };
-- 
2.47.2


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ARM: dts: rockchip: enable Mali gpu on rk3066 marsboard
  2025-05-03 20:10 [PATCH 0/2] Some graphics enablement for the ancient rk3066 marsboard Heiko Stuebner
  2025-05-03 20:10 ` [PATCH 1/2] ARM: dts: rockchip: enable hdmi on " Heiko Stuebner
@ 2025-05-03 20:10 ` Heiko Stuebner
  2025-05-05  8:26 ` [PATCH 0/2] Some graphics enablement for the ancient " Heiko Stuebner
  2 siblings, 0 replies; 4+ messages in thread
From: Heiko Stuebner @ 2025-05-03 20:10 UTC (permalink / raw)
  To: heiko; +Cc: linux-arm-kernel, linux-rockchip, linux-kernel

The rk3066 contains a Mali400 GPU, so enable it.

There is no individual (or even controllable) supply for the GPU
on the board.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
 arch/arm/boot/dts/rockchip/rk3066a-marsboard.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/rockchip/rk3066a-marsboard.dts b/arch/arm/boot/dts/rockchip/rk3066a-marsboard.dts
index d2924aca6f2d..de42d1855121 100644
--- a/arch/arm/boot/dts/rockchip/rk3066a-marsboard.dts
+++ b/arch/arm/boot/dts/rockchip/rk3066a-marsboard.dts
@@ -69,6 +69,10 @@ &cpu1 {
 	cpu-supply = <&vdd_arm>;
 };
 
+&gpu {
+	status = "okay";
+};
+
 &hdmi {
 	status = "okay";
 };
-- 
2.47.2


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] Some graphics enablement for the ancient rk3066 marsboard
  2025-05-03 20:10 [PATCH 0/2] Some graphics enablement for the ancient rk3066 marsboard Heiko Stuebner
  2025-05-03 20:10 ` [PATCH 1/2] ARM: dts: rockchip: enable hdmi on " Heiko Stuebner
  2025-05-03 20:10 ` [PATCH 2/2] ARM: dts: rockchip: enable Mali gpu " Heiko Stuebner
@ 2025-05-05  8:26 ` Heiko Stuebner
  2 siblings, 0 replies; 4+ messages in thread
From: Heiko Stuebner @ 2025-05-05  8:26 UTC (permalink / raw)
  To: Heiko Stuebner; +Cc: linux-arm-kernel, linux-rockchip, linux-kernel


On Sat, 03 May 2025 22:10:41 +0200, Heiko Stuebner wrote:
> Enable both the hdmi output as well as the Mali400-gpu.
> 
> Did this to test a patch converting the rk3066-hdmi to a bridge driver,
> for future improvements, so it'll be nice to keep this around too.
> 
> Heiko Stuebner (2):
>   ARM: dts: rockchip: enable hdmi on rk3066 marsboard
>   ARM: dts: rockchip: enable Mali gpu on rk3066 marsboard
> 
> [...]

Applied, thanks!

[1/2] ARM: dts: rockchip: enable hdmi on rk3066 marsboard
      commit: cb2a6738f33c3a9da7d1c0afa9ea5e9d78282eaa
[2/2] ARM: dts: rockchip: enable Mali gpu on rk3066 marsboard
      commit: c895c32bf1ce90839fc525c5d23cbf867ebe519a

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

_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-05-05  8:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-03 20:10 [PATCH 0/2] Some graphics enablement for the ancient rk3066 marsboard Heiko Stuebner
2025-05-03 20:10 ` [PATCH 1/2] ARM: dts: rockchip: enable hdmi on " Heiko Stuebner
2025-05-03 20:10 ` [PATCH 2/2] ARM: dts: rockchip: enable Mali gpu " Heiko Stuebner
2025-05-05  8:26 ` [PATCH 0/2] Some graphics enablement for the ancient " Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox