Hi, On Sat, Jul 18, 2026 at 10:57:28AM +0200, Igor Paunovic wrote: > Route the HDMI receiver audio to i2s7_8ch, the receive-only I2S > interface dedicated to HDMI RX, through a simple-audio-card with the > receiver as bitclock and frame master. Together with the audio > capture support in the snps_hdmirx driver this exposes a capture-only > ALSA card fed by the HDMI input. > > Tested on the Orange Pi 5 Plus with multiple HDMI sources: capture > follows the source sample rate and stays in sync via the FIFO-level > clock tracking in the driver. > > Signed-off-by: Igor Paunovic > --- > New in v3. > > .../dts/rockchip/rk3588-orangepi-5-plus.dts | 20 +++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts > index 9950d11..d5840e1 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts > +++ b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts > @@ -37,6 +37,22 @@ > }; > }; > > + hdmiin-sound { > + compatible = "simple-audio-card"; > + simple-audio-card,name = "rockchip,hdmiin"; The name is exposed to userspace and visible to the user (e.g. in alsamixer), but also used by Alsa UCM2. I suggest to use "RK3588 HDMI-IN". > + simple-audio-card,format = "i2s"; > + simple-audio-card,bitclock-master = <&hdmiin_codec>; > + simple-audio-card,frame-master = <&hdmiin_codec>; > + > + simple-audio-card,cpu { > + sound-dai = <&i2s7_8ch>; > + }; > + > + hdmiin_codec: simple-audio-card,codec { > + sound-dai = <&hdmi_receiver 0>; > + }; > + }; > + Move the whole card definition to rk3588-extra.dtsi with a new label (e.g. hdmi_receiver_sound) and add status = "disabled"; Then just do &hdmi_receiver_sound { status = "okay"; }; in the Orange Pi 5+ DT, i.e. just like the soundcards for HDMI output. This reduces a lot of duplication as the soundcard is the same on all boards considering there is a dedicated I2S channel for it. It's disabled by default as some boards do not route the HDMI receiver at all. Greetings, -- Sebastian > ir-receiver { > compatible = "gpio-ir-receiver"; > gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_LOW>; > @@ -247,6 +263,10 @@ > status = "okay"; > }; > > +&i2s7_8ch { > + status = "okay"; > +}; > + > &led_blue_gpio { > gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>; > status = "okay"; > -- > 2.53.0 >