[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Enabling (HDMI) audio on rk3328/rk3399 (Rock64/RockPro64)



In order to get better multimedia support in Debian kernels, primarily for 
arm64 SBCs, I filed https://bugs.debian.org/987576 requesting  
CONFIG_SND_AUDIO_GRAPH_CARD to be enabled.

The idea came from seeing an upstream commit titled
"arm64: defconfig: Enable CONFIG_SND_AUDIO_GRAPH_CARD"
and the secondary commit msg is 
"CONFIG_SND_AUDIO_GRAPH_CARD is needed to use HDMI sound with video"

What was meant as a general improvement with only 'sideways' my Rock64 device 
in mind, turned into something specific for Rock64.
https://salsa.debian.org/kernel-team/linux/-/merge_requests/351 is where the 
'action' is taking place.
In it, Salvatore Bonaccorso made a (very) reasonable request to ask for 
validation on real devices before enabling it in the Debian kernel(s).

A crucial element looks to be to enable 2 settings in the device tree
(https://salsa.debian.org/kernel-team/linux/-/merge_requests/351#note_238470)
# fdtput -t s /boot/dtbs/rockchip/rk3328-rock64.dtb /hdmi-sound status okay
# fdtput -t s /boot/dtbs/rockchip/rk3328-rock64.dtb /i2s@ff000000 status okay
(Old value is "disabled")

I can/will test to see what else is needed to get it to work on my Rock64.
But those settings are actually in rk3328.dtsi. And there is a similar file 
rk3399.dtsi where it seems the same (simple) change is needed.
And that would mean that HDMI audio would work on all (?) rk3328 and rk3399 
devices.

But for that to happen, I need someone with a RockPro64 device who is willing 
to join in and validate that the changes do indeed also work on a RockPro64.

Who can and is willing to help?

Cheers,
  Diederik

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: