Skip to contentSkip to conversation

Some graphics enablement for the ancient rk3066 marsboard

PATCH Applied Heiko Stuebner 1 participant 4 messages May 3, 2025 – May 5, 2025

Subsystems (2)
lore
Share & tools
lore

Heiko Stuebner

author maintainer
#0 lore raw

cover Some graphics enablement for the ancient rk3066 marsboard

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(+)
Signature · 1 line
2.47.2
author maintainer
#1 lore raw

PATCH 1/2 ARM: dts: rockchip: enable hdmi on rk3066 marsboard

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

---
 .../boot/dts/rockchip/rk3066a-marsboard.dts   | 33 +++++++++++++++++++
 1 file changed, 33 insertions(+)
arch/arm/boot/dts/rockchip/rk3066a-marsboard.dts +33 -0
index ada7dbfc06a5..d2924aca6f2d 100644
@@ -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";
 };
Signature · 1 line
2.47.2
author maintainer
#2 lore raw

PATCH 2/2 ARM: dts: rockchip: enable Mali gpu on rk3066 marsboard

In reply to Heiko Stuebner

The rk3066 contains a Mali400 GPU, so enable it.

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

---
 arch/arm/boot/dts/rockchip/rk3066a-marsboard.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/rockchip/rk3066a-marsboard.dts +4 -0
index d2924aca6f2d..de42d1855121 100644
@@ -69,6 +69,10 @@ &cpu1 {
 	cpu-supply = <&vdd_arm>;
 };
 
+&gpu {
+	status = "okay";
+};
+
 &hdmi {
 	status = "okay";
 };
Signature · 1 line
2.47.2
author maintainer Applied
#3 lore raw
In reply to Heiko Stuebner
Quoted 10 lines · Heiko Stuebner

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,

Signature · 1 line
Heiko Stuebner <[email protected]>