[rock64] Device tree description of sound chips looks wrong

Problems with packages? Post here, using [tags] of the package name.

[rock64] Device tree description of sound chips looks wrong

Postby mbakhterev » Tue Nov 12, 2019 11:39 am

Hi.

Apologies for misreporting this bug. If so, please, direct me to the right tracker.

I have no sound on rock64 with linux-aargch64 kernel version 5.3.10. It is not hardware issue, since Bionic and Android work fine with the both hdmi and analog sound output.

It seems, the device tree description for sound chips is incoherent. I am no expert, but in the rk3328-rockchip.dtb of 5.3.10-ARCH kernel, sound is marked as compatible="audio-graph-card" and kernel doesn't recognize this, as it seems. But both in Bionic dtb and in Android dtb sound is marked as compatible="simple-audio-card". If i just force compatible="simple-audio-card" for 5.3.10-ARCH something is going on, but with errors (perhaps, i should recompile dts against kernel, with all correct includes and defines, but i have no time and skills for that, :( sorry).
mbakhterev
 
Posts: 22
Joined: Mon Oct 14, 2019 4:45 pm

Re: [rock64] Device tree description of sound chips looks wr

Postby summers » Tue Nov 12, 2019 12:58 pm

Arch Arm usually takes the device tree direct from the linux kernel, so you are probably using:

https://github.com/torvalds/linux/blob/master/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts

So you'll need to check what is different from that and bionic/android - and then submit a patch to the main linux kernel.

You'll probably only be able to do this, when you understand the problem in detail - as getting things into mainline kernel takes knowing your ground.

This btw is the patch that added this in the first place:

https://github.com/torvalds/linux/commit/e007e4e0d87649cae4359a9776d2e14b67dd7187
summers
 
Posts: 995
Joined: Sat Sep 06, 2014 12:56 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 10 guests