* [PATCH 0/1] Enable HDMI Receiver on NanoPC-T6
@ 2025-09-05 11:02 Marcin Juszkiewicz
2025-09-05 11:02 ` [PATCH 1/1] arm64: dts: rockchip: enable HDMI Receiver on NanoPC T6 Marcin Juszkiewicz
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Marcin Juszkiewicz @ 2025-09-05 11:02 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner
Cc: devicetree, linux-arm-kernel, linux-rockchip, linux-kernel,
Marcin Juszkiewicz
For quite a while I had this patch in my local tree but never made it
work. Kernel generates the following messages all the time:
fdee0000.hdmi_receiver: hdmirx_wait_signal_lock: signal not lock, tmds_clk_ratio:0
fdee0000.hdmi_receiver: hdmirx_wait_signal_lock: mu_st:0x2, scdc_st:0x0, dma_st10:0x10
"v4l2-ctrl --all" reports that HDMI In is detected, /dev/video[0-4]
exist.
I tried two signal sources:
- AMD Radeon WX2100 (via passive DisplayPort -> HDMI adapter)
- AMD Radeon RX6700XT (HDMI port)
Same situation with both - kernel messages as above on RK3588 system, no
connected monitor on host side.
Usually I used MPlayer or MPV to check v4l2 devices but here it fails
too:
$ mpv av://v4l2:/dev/video3
[ffmpeg/demuxer] video4linux2,v4l2: Not a video capture device.
[lavf] avformat_open_input() failed
Failed to recognize file format.
Exiting... (Errors when loading file)
Checked SBC schematics again and HDMIIRX_DET_L line is GPIO1_D5 like it
my patch.
What I go wrong?
Marcin Juszkiewicz (1):
arm64: dts: rockchip: enable HDMI Receiver on NanoPC T6
.../boot/dts/rockchip/rk3588-nanopc-t6.dtsi | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
--
2.51.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/1] arm64: dts: rockchip: enable HDMI Receiver on NanoPC T6
2025-09-05 11:02 [PATCH 0/1] Enable HDMI Receiver on NanoPC-T6 Marcin Juszkiewicz
@ 2025-09-05 11:02 ` Marcin Juszkiewicz
2025-09-07 17:30 ` [PATCH 0/1] Enable HDMI Receiver on NanoPC-T6 Heiko Stuebner
2025-09-07 18:51 ` Dmitry Osipenko
2 siblings, 0 replies; 4+ messages in thread
From: Marcin Juszkiewicz @ 2025-09-05 11:02 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner
Cc: devicetree, linux-arm-kernel, linux-rockchip, linux-kernel,
Marcin Juszkiewicz
Let enable HDMI input port.
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
---
.../boot/dts/rockchip/rk3588-nanopc-t6.dtsi | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi
index e359d74f20885..6fe151d2cdb45 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi
@@ -391,6 +391,17 @@ &hdmi1_sound {
status = "okay";
};
+&hdmi_receiver_cma {
+ status = "okay";
+};
+
+&hdmi_receiver {
+ hpd-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>;
+ pinctrl-0 = <&hdmim1_rx_cec &hdmim1_rx_hpdin &hdmim1_rx_scl &hdmim1_rx_sda &hdmirx_hpd>;
+ pinctrl-names = "default";
+ status = "okay";
+};
+
&hdptxphy0 {
status = "okay";
};
@@ -629,6 +640,12 @@ usr_led_pin: usr-led-pin {
};
};
+ hdmirx {
+ hdmirx_hpd: hdmirx-5v-detection {
+ rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
+ };
+ };
+
headphone {
hp_det: hp-det {
rockchip,pins = <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
--
2.51.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/1] Enable HDMI Receiver on NanoPC-T6
2025-09-05 11:02 [PATCH 0/1] Enable HDMI Receiver on NanoPC-T6 Marcin Juszkiewicz
2025-09-05 11:02 ` [PATCH 1/1] arm64: dts: rockchip: enable HDMI Receiver on NanoPC T6 Marcin Juszkiewicz
@ 2025-09-07 17:30 ` Heiko Stuebner
2025-09-07 18:51 ` Dmitry Osipenko
2 siblings, 0 replies; 4+ messages in thread
From: Heiko Stuebner @ 2025-09-07 17:30 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Marcin Juszkiewicz
Cc: Heiko Stuebner, devicetree, linux-arm-kernel, linux-rockchip,
linux-kernel
On Fri, 05 Sep 2025 13:02:29 +0200, Marcin Juszkiewicz wrote:
> For quite a while I had this patch in my local tree but never made it
> work. Kernel generates the following messages all the time:
>
> fdee0000.hdmi_receiver: hdmirx_wait_signal_lock: signal not lock, tmds_clk_ratio:0
> fdee0000.hdmi_receiver: hdmirx_wait_signal_lock: mu_st:0x2, scdc_st:0x0, dma_st10:0x10
>
> "v4l2-ctrl --all" reports that HDMI In is detected, /dev/video[0-4]
> exist.
>
> [...]
Applied, thanks!
[1/1] arm64: dts: rockchip: enable HDMI Receiver on NanoPC T6
commit: fdab01864390db7ef0bea28804c7a3147dc0a386
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/1] Enable HDMI Receiver on NanoPC-T6
2025-09-05 11:02 [PATCH 0/1] Enable HDMI Receiver on NanoPC-T6 Marcin Juszkiewicz
2025-09-05 11:02 ` [PATCH 1/1] arm64: dts: rockchip: enable HDMI Receiver on NanoPC T6 Marcin Juszkiewicz
2025-09-07 17:30 ` [PATCH 0/1] Enable HDMI Receiver on NanoPC-T6 Heiko Stuebner
@ 2025-09-07 18:51 ` Dmitry Osipenko
2 siblings, 0 replies; 4+ messages in thread
From: Dmitry Osipenko @ 2025-09-07 18:51 UTC (permalink / raw)
To: Marcin Juszkiewicz, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Heiko Stuebner
Cc: devicetree, linux-kernel, linux-arm-kernel, linux-rockchip
On 9/5/25 14:02, Marcin Juszkiewicz wrote:
> For quite a while I had this patch in my local tree but never made it
> work. Kernel generates the following messages all the time:
>
> fdee0000.hdmi_receiver: hdmirx_wait_signal_lock: signal not lock, tmds_clk_ratio:0
> fdee0000.hdmi_receiver: hdmirx_wait_signal_lock: mu_st:0x2, scdc_st:0x0, dma_st10:0x10
>
> "v4l2-ctrl --all" reports that HDMI In is detected, /dev/video[0-4]
> exist.
>
> I tried two signal sources:
> - AMD Radeon WX2100 (via passive DisplayPort -> HDMI adapter)
> - AMD Radeon RX6700XT (HDMI port)
>
> Same situation with both - kernel messages as above on RK3588 system, no
> connected monitor on host side.
>
> Usually I used MPlayer or MPV to check v4l2 devices but here it fails
> too:
>
> $ mpv av://v4l2:/dev/video3
> [ffmpeg/demuxer] video4linux2,v4l2: Not a video capture device.
> [lavf] avformat_open_input() failed
> Failed to recognize file format.
> Exiting... (Errors when loading file)
>
>
> Checked SBC schematics again and HDMIIRX_DET_L line is GPIO1_D5 like it
> my patch.
>
> What I go wrong?
Hi, your trouble with HDMI capture sounds very similar to [1]. Make sure
you're using opensource ATF and check whether capture works using
v4l2-ctl tool, see replies to [1]. Post a full kernel driver log if
problem will persist.
[1]
https://lore.kernel.org/linux-media/c71a3f79-71f3-4fd2-a509-c42b24636a2f@timsurber.de/
--
Best regards,
Dmitry
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-09-07 18:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-05 11:02 [PATCH 0/1] Enable HDMI Receiver on NanoPC-T6 Marcin Juszkiewicz
2025-09-05 11:02 ` [PATCH 1/1] arm64: dts: rockchip: enable HDMI Receiver on NanoPC T6 Marcin Juszkiewicz
2025-09-07 17:30 ` [PATCH 0/1] Enable HDMI Receiver on NanoPC-T6 Heiko Stuebner
2025-09-07 18:51 ` Dmitry Osipenko
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).