Re: [PATCH v14 2/3] arm64: dts: rockchip: Enable HDMI receiver on rock-5b

Heiko Stübner
2025-03-06T13:07:38Z

Am Donnerstag, 6. März 2025, 08:28:41 MEZ schrieb Dmitry Osipenko:
> From: Sebastian Reichel <sebastian.reichel@collabora.com>
>
> The Rock 5B has a Micro HDMI port, which can be used for receiving
> HDMI data. This enables support for it.
>
> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
> Signed-off-by: Shreeya Patel <shreeya.patel@collabora.com>
> Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
> ---
> .../arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
> index d597112f1d5b..377824e69e20 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
> @@ -220,6 +220,18 @@ hdmi0_out_con: endpoint {
> };
> };
>
> +&hdmi_receiver_cma {
> + status = "okay";
> +};
> +
> +&hdmi_receiver {
> + status = "okay";
> + hpd-gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_LOW>;
> + pinctrl-0 = <&hdmim1_rx_cec &hdmim1_rx_hpdin &hdmim1_rx_scl &hdmim1_rx_sda &hdmirx_hpd>;
> + pinctrl-names = "default";
> + memory-region = <&hdmi_receiver_cma>;

nit: property sorting, alphabetical ... but with status at the end

Heiko