I compared vendor with mainline kernel for anyting which could belong to hdmi audio - all I could find, that could help was, that dmac clock is higher in vendor kernel.
Mr.Tiptop Mikhail
Please take a spare SD card, flash the latest nightly (no update) on it and replace the device tree with the with this one: https://mega.nz/file/vHZ21D5R#…dUVYUJezmP6fPfo , where I increased that clock:
scp rk3399-rock-pi-4a.dtb root@<ip of device>:
login via ssh:
move devicetree to flash partition:
mount -o remount,rw /flash/
mv /storage/rk3399-rock-pi-4a.dtb /flash/
and
. It does make zero difference on my boards (never had audio issues with no bit-/or sample-rate) - but it might make a difference for rockpi4 (dram maybe slower). Do not enable passthough (this is experimental and will go away before final LE10 release) and don't touch any audio settings. If everything went OK
cat /sys/kernel/debug/clk/clk_summary | grep dmac
should look like that:
aclk_dmac1_perilp 0 1 0 297000000 0 0 50000
aclk_dmac0_perilp 1 2 0 297000000 0 0 50000
Please check if it makes any difference for you for audio output.