[PATCH v2] arm64: dts: rockchip: configure hdmirx in Rock 5 ITX

Pedro Alves pta2002 at pta2002.com
Tue Mar 10 08:16:31 PDT 2026


Hi,

Thanks for taking a look.

On 10/03/2026 08:48, Heiko Stuebner wrote:
> Am Mittwoch, 4. März 2026, 21:44:39 Mitteleuropäische Normalzeit schrieb Pedro Alves:
>> +&hdmi_receiver {
>> +    pinctrl-0 = <&hdmim1_rx_cec &hdmim1_rx_hpdin &hdmim1_rx_scl &hdmim1_rx_sda &hdmirx_det>;
>
> are you sure the hdmim1_rx_hpdin is routed?
> Because that is gpio3_D4 while your hpd-gpios below is gpio1_c6.

I took a look at both the Radxa 5 ITX schematic[1] and at the RK3588
datasheet[2]. As far as I can tell, the pin is indeed routed.

The schematic calls it HDMIIRX_HDPOUT_H, on gpio3_d4, and it seems to be
controlling pin 19 of the HDMI port via HDMI_RX_HPD_PORT (see page 31).
The hpd-gpios meanwhile is a GPIO that's used to detect when an HDMI
cable is plugged in (goes low when there's voltage on
VCC5V_HDMIRX_PORT), but since this has no fixed pin in hardware, the pin
choice seems like it can be rather arbitrary by Radxa, who wired it to
gpio1_c6.

>> +    pinctrl-names = "default";
>> +    hpd-gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_LOW>;
>
> Also please provide a pinctrl setting for the gpio hpd pin.

Sure, I'll take care of this and send a follow-up.

[1]: https://dl.radxa.com/rock5/5itx/v1110/radxa_rock_5itx_v1110_schematic.pdf
[2]: https://wiki.friendlyelec.com/wiki/images/e/ee/Rockchip_RK3588_Datasheet_V1.6-20231016.pdf

Regards,
Pedro



More information about the Linux-rockchip mailing list