public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] riscv: dts: thead: beaglev-ahead: enable HDMI output
@ 2026-03-25  8:18 Robert Mazur
  2026-03-25 16:53 ` Drew Fustini
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Mazur @ 2026-03-25  8:18 UTC (permalink / raw)
  To: Drew Fustini, Guo Ren, Fu Wei, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Alexandre Ghiti
  Cc: linux-riscv, devicetree, linux-kernel, Robert Mazur

The BeagleV Ahead board includes a micro HDMI connector (Type-D)
wired to the TH1520 SoC's HDMI transmitter.

Enable the display pipeline by adding the HDMI connector node,
connecting it to the HDMI controller, and activating the DPU
and HDMI nodes.

Signed-off-by: Robert Mazur <robert.mazur@imgtec.com>
---
This patch enables HDMI output on the BeagleV-Ahead board by wiring up
the DPU and HDMI nodes added in the following series:

Depends-on: https://lore.kernel.org/r/20260129023922.1527729-7-zhengxingda@iscas.ac.cn/

The patch has been tested on BeagleV-Ahead hardware with the above
series applied. HDMI output is functional.
---
 arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts b/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts
index 21c33f165ba9..91f3f9b987bc 100644
--- a/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts
+++ b/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts
@@ -75,6 +75,17 @@ led-5 {
 			label = "led5";
 		};
 	};
+
+	hdmi-connector {
+		compatible = "hdmi-connector";
+		type = "d";
+
+		port {
+			hdmi_con_in: endpoint {
+				remote-endpoint = <&hdmi_out_con>;
+			};
+		};
+	};
 };
 
 &osc {
@@ -236,6 +247,20 @@ &sdio0 {
 	status = "okay";
 };
 
+&dpu {
+	status = "okay";
+};
+
+&hdmi {
+	status = "okay";
+};
+
+&hdmi_out_port {
+	hdmi_out_con: endpoint {
+		remote-endpoint = <&hdmi_con_in>;
+	};
+};
+
 &uart0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart0_pins>;

---
base-commit: d2e20c8951e4bb5f4a828aed39813599980353b6
change-id: 20260325-hdmi-beaglev-ahead-bc55396d57e6

Best regards,
-- 
Robert Mazur <robert.mazur@imgtec.com>


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

* Re: [PATCH] riscv: dts: thead: beaglev-ahead: enable HDMI output
  2026-03-25  8:18 [PATCH] riscv: dts: thead: beaglev-ahead: enable HDMI output Robert Mazur
@ 2026-03-25 16:53 ` Drew Fustini
  2026-03-25 21:57   ` Drew Fustini
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Fustini @ 2026-03-25 16:53 UTC (permalink / raw)
  To: Robert Mazur
  Cc: Guo Ren, Fu Wei, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	linux-riscv, devicetree, linux-kernel

On Wed, Mar 25, 2026 at 09:18:59AM +0100, Robert Mazur wrote:
> The BeagleV Ahead board includes a micro HDMI connector (Type-D)
> wired to the TH1520 SoC's HDMI transmitter.
> 
> Enable the display pipeline by adding the HDMI connector node,
> connecting it to the HDMI controller, and activating the DPU
> and HDMI nodes.
> 
> Signed-off-by: Robert Mazur <robert.mazur@imgtec.com>
> ---
> This patch enables HDMI output on the BeagleV-Ahead board by wiring up
> the DPU and HDMI nodes added in the following series:
> 
> Depends-on: https://lore.kernel.org/r/20260129023922.1527729-7-zhengxingda@iscas.ac.cn/
> 
> The patch has been tested on BeagleV-Ahead hardware with the above
> series applied. HDMI output is functional.
> ---
>  arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts | 25 ++++++++++++++++++++++
>  1 file changed, 25 insertions(+)

Reviewed-by: Drew Fustini <fustini@kernel.org>

Thanks for getting this working for the BeagleV Ahead and sending the
patch.

Drew

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

* Re: [PATCH] riscv: dts: thead: beaglev-ahead: enable HDMI output
  2026-03-25 16:53 ` Drew Fustini
@ 2026-03-25 21:57   ` Drew Fustini
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Fustini @ 2026-03-25 21:57 UTC (permalink / raw)
  To: Robert Mazur
  Cc: Guo Ren, Fu Wei, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	linux-riscv, devicetree, linux-kernel

On Wed, Mar 25, 2026 at 09:53:44AM -0700, Drew Fustini wrote:
> On Wed, Mar 25, 2026 at 09:18:59AM +0100, Robert Mazur wrote:
> > The BeagleV Ahead board includes a micro HDMI connector (Type-D)
> > wired to the TH1520 SoC's HDMI transmitter.
> > 
> > Enable the display pipeline by adding the HDMI connector node,
> > connecting it to the HDMI controller, and activating the DPU
> > and HDMI nodes.
> > 
> > Signed-off-by: Robert Mazur <robert.mazur@imgtec.com>
> > ---
> > This patch enables HDMI output on the BeagleV-Ahead board by wiring up
> > the DPU and HDMI nodes added in the following series:
> > 
> > Depends-on: https://lore.kernel.org/r/20260129023922.1527729-7-zhengxingda@iscas.ac.cn/
> > 
> > The patch has been tested on BeagleV-Ahead hardware with the above
> > series applied. HDMI output is functional.
> > ---
> >  arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts | 25 ++++++++++++++++++++++
> >  1 file changed, 25 insertions(+)
> 
> Reviewed-by: Drew Fustini <fustini@kernel.org>
> 
> Thanks for getting this working for the BeagleV Ahead and sending the
> patch.

I have applied this to thead-dt-for-next:

https://git.kernel.org/pub/scm/linux/kernel/git/fustini/linux.git/log/?h=thead-dt-for-next

There may still be time for me to send a second v7.1 pull request for
thead dt so I'd like to have this patch in next for a few days.

Drew

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

end of thread, other threads:[~2026-03-25 21:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-25  8:18 [PATCH] riscv: dts: thead: beaglev-ahead: enable HDMI output Robert Mazur
2026-03-25 16:53 ` Drew Fustini
2026-03-25 21:57   ` Drew Fustini

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